@font-face {
  font-family: "PP Object Sans";
  src: url("assets/fonts/PPObjectSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "PP Object Sans";
  src: url("assets/fonts/PPObjectSans-Heavy.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

body {
  padding: 0;
  margin: 0;
  background-color: #000000;

  font-family: "PP Object Sans", sans-serif;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
}

.layout {
  padding-left: 40px;
  padding-right: 40px;
}

.button {
  background-color: #e2d7b2;
  height: 64px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  padding: 0 62px;
}

.button__text {
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0%;
  color: #020101;
}

.header {
  padding: 60px 40px 48px 40px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background: linear-gradient(0, rgba(0, 0, 0, 0) 0%, #000000 100%);
  position: fixed;
  top: 0;
  z-index: 1000;
  left: 0;
  right: 0;
}

.header__logo {
  color: #ffffff;
  font-weight: 800;
  font-size: 20px;
  line-height: 20px;
  letter-spacing: 0%;
  text-transform: uppercase;
}

.header__menu {
  display: flex;
  flex-direction: row;
  gap: 56px;
}

.header__mobile__button {
  display: none;
}

.header__mobile__menu {
  display: none;
}

.header__menu__item,
.header__menu__item--active {
  cursor: pointer;
  color: #e2d7b2;
  transition: color 0.3s;
  font-weight: 400;
  font-size: 20px;
  line-height: 20px;
  letter-spacing: 0%;
  text-decoration: none;
}

.header__menu__item--active {
  color: #ffffff;
}

.header__menu__item:hover {
  color: #ffffff;
}

.footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
}

.footer p {
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 0%;
  color: #fffbf9;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .layout {
    padding-left: 24px;
    padding-right: 24px;
  }

  .header {
    padding: 30px 24px 36px 24px;
  }

  .header__menu {
    display: none;
  }

  .button {
    padding: 0 16px;
    width: 100%;
  }

  .button__text {
    font-size: 18px;
    line-height: 18px;
    letter-spacing: 0%;
  }

  .footer {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: start;
    padding: 30px 0;
  }

  .footer__links {
    flex-direction: column;
    align-items: start;
    gap: 16px;
  }

  .header__mobile__button {
    display: flex;
    width: 39px;
    height: 62px;
    align-items: center;
    justify-content: center;
    background-color: rgba(144, 144, 144, 0.2);
    border-radius: 8px;
  }

  .header__mobile__button img {
    width: 15px;
    height: 18px;
  }

  .header__mobile__menu {
    position: fixed;
    height: 100%;
    width: 100%;
    background: black;
    z-index: -1;
    top: 0;
    left: 0;
    display: flex;
    flex: 1;
    display: flex;
    opacity: 0;
    transform: translateX(100%);
    transition: 0.4s ease;
  }

  .header__mobile__menu__wrapper {
    padding: 96px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 33px;
    margin-top: auto;
  }

  .header__mobile__menu__wrapper .header__menu__item,
  .header__mobile__menu__wrapper .header__menu__item--active {
    font-weight: 800;
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 0%;
    text-transform: uppercase;
  }

  .header__mobile__button .header__icon__close {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    display: none;
  }

  .header__mobile__button.open .header__icon__close {
    opacity: 1;
    pointer-events: auto;
    display: flex;
  }

  .header__mobile__button.open .header__icon__menu {
    opacity: 0;
    pointer-events: none;
    display: none;
  }

  .header__mobile__menu.open {
    opacity: 1;
    transform: translateX(0);

    overflow: hidden;
  }
}
