@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");
body {
  font-size: 15px;
  font-family: "Inter";
}

h1,
h2,
p {
  margin: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

main {
  background-color: hsl(36, 100%, 99%);
  max-width: 1200px;
  margin: 0 auto;
  padding: 5px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__link {
  text-decoration: none;
  color: hsl(236, 13%, 42%);
  margin: 0 1.5rem;
}
.nav__link:last-child {
  margin-right: 0;
}
.nav__link:hover {
  color: hsl(5, 85%, 63%);
}
.nav__menu {
  display: none;
}

.header {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  column-gap: 25px;
  margin-top: 3rem;
}
.header__img img {
  width: 100%;
}
.header__text {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}
.header__title {
  font-size: 3.5rem;
  font-weight: 800;
  color: hsl(240, 100%, 5%);
  width: 45%;
  line-height: 1;
}
.header__subtitle {
  color: hsl(236, 13%, 42%);
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.header__description {
  line-height: 1.5;
}
.header__button {
  background-color: hsl(5, 85%, 63%);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-weight: 600;
  display: inline-block;
  padding: 1rem 2rem;
  cursor: pointer;
}
.header__button:hover {
  background-color: hsl(240, 100%, 5%);
}

.aside {
  background-color: hsl(240, 100%, 5%);
  padding: 2rem 1.5rem;
}
.aside__title {
  color: hsl(35, 77%, 62%);
  font-size: 2.5rem;
  font-weight: 700;
}

.list {
  margin-top: 2rem;
}
.list__item {
  margin-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid hsl(36, 100%, 99%);
}
.list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.list__title {
  display: block;
  color: hsl(36, 100%, 99%);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
}
.list__title:hover {
  color: hsl(35, 77%, 62%);
}
.list__subtitle {
  color: hsl(233, 8%, 79%);
  line-height: 1.5;
}

.cards {
  display: flex;
  justify-content: space-between;
  column-gap: 2rem;
  margin-top: 4rem;
}

.card {
  display: flex;
}
.card__img img {
  width: 100%;
}
.card__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 1rem;
}
.card__number {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(233, 8%, 79%);
}
.card__title a {
  color: hsl(240, 100%, 5%);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
}
.card__title a:hover {
  color: hsl(5, 85%, 63%);
}
.card__subtitle {
  color: hsl(236, 13%, 42%);
  line-height: 1.5;
}

@media (max-width: 1086px) {
  .card__title, .card__number {
    font-size: 1.2rem;
  }
  .card__subtitle {
    font-size: 0.8rem;
  }
}
@media (max-width: 954px) {
  .header__title {
    font-size: 3rem;
  }
}
@media (max-width: 908px) {
  .card__title {
    font-size: 1rem;
  }
  .card__number {
    font-size: 1.5rem;
  }
  .card__subtitle {
    font-size: 0.7rem;
  }
}
@media (max-width: 825px) {
  .header__text {
    flex-direction: column;
  }
  .header__title, .header__subtitle {
    width: auto;
  }
  .header__subtitle, .header__button {
    margin-top: 1rem;
  }
  .list__title {
    font-size: 1rem;
  }
  .list__subtitle {
    font-size: 0.8rem;
  }
}
@media (max-width: 768px) {
  .header {
    display: block;
  }
  .aside {
    margin-top: 4rem;
  }
}
@media (max-width: 673px) {
  .cards {
    flex-direction: column;
  }
  .card {
    margin: 1rem 0;
  }
  .card__title {
    font-size: 1.5rem;
  }
  .card__subtitle {
    font-size: 1rem;
  }
  .card__number {
    font-size: 2rem;
  }
  .card__img img {
    width: 120px;
  }
  .list__title {
    font-size: 1.5rem;
  }
  .list__subtitle {
    font-size: 1rem;
  }
  .list__number {
    font-size: 2rem;
  }
  .nav__links {
    display: none;
  }
  .nav .mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    line-height: 2;
    position: absolute;
    right: 0;
    top: 0;
    width: 70%;
    height: 100vh;
  }
  .nav__menu {
    display: block;
    z-index: 1;
  }
  .nav__link {
    font-weight: 700;
    font-size: 1.3rem;
    color: hsl(240, 100%, 5%);
  }
}/*# sourceMappingURL=style.css.map */