:root {
  /* Primary Colors */
  --primary-soft-orange: hsl(35, 77%, 62%);
  --primary-soft-red: hsl(5, 85%, 63%);

  /* Neutral Colors */
  --neutral-off-white: hsl(36, 100%, 99%);
  --neutral-grayish-blue: hsl(233, 8%, 79%);
  --neutral-dark-grayish-blue: hsl(236, 13%, 42%);
  --neutral-very-dark-blue: hsl(240, 100%, 5%);
}

@font-face {
  font-family: 'Inter-regular';
  src: url(./assets/fonts/static/Inter-Regular.ttf) format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Inter-bold';
  src: url(./assets/fonts/static/Inter-Bold.ttf) format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Inter-extrabold';
  src: url(./assets/fonts/static/Inter-ExtraBold.ttf) format('truetype');
  font-weight: 800;
  font-style: normal;
}

body {
  font-family: 'Inter-regular', sans-serif;
  font-size: 15px;
  color: var(--neutral-dark-grayish-blue);
  background-color: var(--neutral-off-white);
  height: 100vh;
}

.brand__logo {
  width: 50px;
  height: auto;
  object-fit: contain;
}

.nav-link {
  font-size: 1rem;
  color: var(--neutral-dark-grayish-blue);
  font-family: 'Inter-extrabold', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
}

.nav-link:hover {
  color: var(--primary-soft-orange);
}

.menu__icon {
  width: 40px;
  height: auto;
  object-fit: contain;
  line-height: 1.5;
}

.menu__close__icon {
  width: 20px;
  height: auto;
  object-fit: contain;
  line-height: 1.5;
  background-color: transparent;
}

main {
  max-width: 90%;
  margin: 0 auto;
}

.main__content {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;

}

.hero__section {
  display: flex;
  flex-direction: column;
  flex: 3;
}

.hero__section__text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero__section__text__title {
  font-family: 'Inter-regular', sans-serif;
  color: var(--neutral-very-dark-blue);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1;
}

.hero__section__text div {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1rem;
}

.hero__section__text__description {
  font-size: 1rem;
  margin-bottom: 1.3rem;
  color: var(--neutral-dark-grayish-blue);
  line-height: 1.6;
}

.hero__cta {
  display: inline-block;
  background-color: var(--primary-soft-red);
  color: var(--neutral-very-dark-blue);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s;
  font-weight: 700;
}

.hero__cta:hover {
  background-color: var(--neutral-very-dark-blue);
  color: var(--neutral-off-white);
}

.aside__content {
  background-color: var(--neutral-very-dark-blue);
  color: var(--neutral-off-white);
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;

}

.aside__container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.aside__heading {
  font-family: 'Inter-extrabold', sans-serif;
  font-size: 2.5rem;
  color: var(--primary-soft-orange);
}

.line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--neutral-dark-grayish-blue);
  margin-bottom: 1rem;
}

.aside__link {
  font-size: 1.2rem;
  color: var(--neutral-off-white);
  text-decoration: none;
  font-family: 'Inter-extrabold', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 1rem;
}

.aside__link:hover {
  color: var(--primary-soft-orange);
}

.aside__description {
  font-size: 0.9rem;
  color: var(--neutral-grayish-blue);
}

.article__container {
  max-width: 90%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: auto;
}

.article__container article {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.article__img {
  width: 100px;
  height: auto;
  object-fit: cover;
}

.article__number {
  font-size: 2rem;
  color: var(--primary-soft-red);
  font-family: 'Inter-extrabold';
  font-weight: 900;
}

.article__title {
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--neutral-very-dark-blue);
  font-family: 'Inter-extrabold';
  font-weight: 900;
  cursor: pointer;
  transition: all 0.4s;
}

.article__title:hover {
  color: var(--primary-soft-red);
}

.attribution {
  
  font-size: 11px;
  text-align: center;
}

.attribution a {
  color: hsl(228, 45%, 44%);
}

.hero__section__img {
  display: none;
}

.hero__section__img.desktop {
  display: block;
  width: 100%;
  height: auto;
}

.hero__section__img.mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  .hero__section__img.desktop {
    display: none;
  }

  .hero__section__img.mobile {
    display: block;
    width: 100%;
    height: auto;
  }

  .aside__content {
    width: 100%;
  }

  .hero__section__text {
    flex-direction: column;
    gap: 1rem;
  }

  .hero__section__text__title {
    font-size: 2.5rem;
    margin-top: 1rem;
  }

  .hero__section {
    width: 100%;
  }

  .main__content {
    flex-direction: column;
    width: 100%;
    margin: auto;
    margin-bottom: 1rem;
  }

  .article__container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

}