@font-face {
  font-family: "InterRegular";
  src: url("assets/fonts/static/Inter-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "InterBold";
  src: url("assets/fonts/static/Inter-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "InterExtraBold";
  src: url("assets/fonts/static/Inter-ExtraBold.ttf") format("truetype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "InterRegular", sans-serif;
}

.layout {
  display: grid;
  grid-template-columns: 1rem 1fr 1rem;
  grid-template-areas: ". header ." ". main ." ". footer .";
}

@font-face {
  font-family: "InterRegular";
  src: url("assets/fonts/static/Inter-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "InterBold";
  src: url("assets/fonts/static/Inter-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "InterExtraBold";
  src: url("assets/fonts/static/Inter-ExtraBold.ttf") format("truetype");
}

.header {
  grid-area: header;
}

.header__wrapper {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.header__menu {
  display: none;
}

.header__menu.active {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: open-menu 0.3s forwards ease-out;
}

.header__menu-btn {
  background-color: hsl(36deg, 100%, 99%);
  border: none;
  cursor: pointer;
}

.header__menu-btn--inactive.active {
  display: none;
}

.header__menu-btn--active {
  display: none;
}

.header__menu-btn--active.active {
  display: inline-block;
  text-align: end;
}

@keyframes open-menu {
  0% {
    transform: translate(100%);
    background-color: hsl(240deg, 100%, 5%);
  }

  100% {
    background-color: hsla(0deg, 0%, 0%, 0.502);
  }
}

.header__links {
  display: flex;
  flex-direction: column;
}

.header__links--small {
  position: absolute;
  right: 0;
  width: 16rem;
  height: 100%;
  padding: 2rem 1.5rem;
  background-color: hsl(36deg, 100%, 99%);
}

.header__links--large {
  display: none;
}

.header__list {
  list-style: none;
  height: 50%;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.header__list-item:hover {
  color: hsl(5deg, 85%, 63%);
  cursor: pointer;
}

.header__list-link {
  color: hsl(0deg, 0%, 0%);
  text-decoration: none;
}

.header__list-link:hover {
  color: hsl(5deg, 85%, 63%);
}

@font-face {
  font-family: "InterRegular";
  src: url("assets/fonts/static/Inter-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "InterBold";
  src: url("assets/fonts/static/Inter-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "InterExtraBold";
  src: url("assets/fonts/static/Inter-ExtraBold.ttf") format("truetype");
}

.main {
  grid-area: main;
  display: grid;
  gap: 3rem;
}

.main__top-container {
  display: grid;
  gap: 1rem;
}

.main__top-img {
  width: 100%;
}

.main__top-img--large {
  display: none;
}

.main__top-title {
  font-family: "InterExtraBold", sans-serif;
  font-size: 3rem;
}

.main__top-paragraph {
  color: hsl(236deg, 13%, 42%);
}

.main__btn {
  font-family: "InterBold", sans-serif;
  color: hsl(36deg, 100%, 99%);
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  background-color: hsl(5deg, 85%, 63%);
  border: none;
  padding: 1rem 1.5rem;
  width: 11rem;
  cursor: pointer;
}

.main__btn:hover {
  background-color: hsl(240deg, 100%, 5%);
}

.aside {
  display: grid;
  gap: 1rem;
  background-color: hsl(240deg, 100%, 5%);
  padding: 1rem;
}

.aside__title {
  color: hsl(35deg, 77%, 62%);
  font-size: 2rem;
}

.aside__subtitle {
  font-family: "InterExtraBold", sans-serif;
  line-height: 3rem;
  color: hsl(36deg, 100%, 99%);
  padding-top: 0.5rem;
  cursor: pointer;
}

.aside__subtitle:hover {
  color: hsl(35deg, 77%, 62%);
}

.aside__subtitle-paragraph {
  color: hsl(233deg, 8%, 79%);
  line-height: 1.7rem;
  padding-bottom: 0.5rem;
}

.aside__line {
  border-color: hsl(236deg, 13%, 42%);
  height: 0.063rem;
}

.container {
  display: grid;
  gap: 1rem;
}

.article {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 2fr;
}

.article__img {
  width: 7.5rem;
}

.article__text-container {
  display: grid;
  gap: 0.5rem;
}

.article__number {
  font-family: "InterBold", sans-serif;
  font-size: 2.5rem;
  color: hsl(233deg, 8%, 79%);
}

.article__title {
  font-family: "InterExtraBold", sans-serif;
  cursor: pointer;
}

.article__title:hover {
  color: hsl(5deg, 85%, 63%);
}

.article__paragraph {
  color: hsl(236deg, 13%, 42%);
  line-height: 2rem;
}

.footer {
  grid-area: footer;
}

.footer__paragraph {
  text-align: center;
  padding: 2rem 0;
}

@font-face {
  font-family: "InterRegular";
  src: url("assets/fonts/static/Inter-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "InterBold";
  src: url("assets/fonts/static/Inter-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "InterExtraBold";
  src: url("assets/fonts/static/Inter-ExtraBold.ttf") format("truetype");
}

@media only screen and (min-width: 1440px) {
  .layout {
    grid-template-columns: 7.5rem 1fr 1fr 25rem 7.5rem;
    grid-template-areas: ". header header header ." ". main main main ." ". footer footer footer .";
  }

  .header__wrapper {
    padding: 3rem 0;
  }

  .header__menu-btn {
    display: none;
  }

  .header__links {
    display: flex;
    justify-content: center;
  }

  .header__list {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }

  .header__list-link {
    color: hsl(236deg, 13%, 42%);
  }

  .main {
    column-gap: 2rem;
    row-gap: 5rem;
  }

  .main__top-container {
    grid-column: 1/3;
    row-gap: 1.5rem;
  }

  .main__top-img {
    grid-column: 1/3;
  }

  .main__top-img--small {
    display: none;
  }

  .main__top-img--large {
    display: inline;
  }

  .main__top-title {
    grid-row: 2/4;
  }

  .main__top-paragraph {
    line-height: 1.5rem;
  }

  .main__btn {
    padding: 0;
  }

  .aside__title {
    font-size: 2.5rem;
  }

  .container {
    grid-template-columns: 1fr 26.7rem 24.5rem;
    grid-column: 1/4;
    gap: 2rem;
  }

  .footer__paragraph {
    padding: 3rem 0;
  }
}

/*# sourceMappingURL=style.css.map */