html {
 font-size: 10px;
}

p,
ul,
li,
body,
button {
 margin: 0;
 padding: 0;
}

a {
 color: inherit;
 text-decoration: none;
}

li {
 list-style: none;
}

h1,
h2,
h3 {
 margin: 0;
}

@font-face {
 font-family: "Lufga";
 src: url("../fonts/LufgaLight.ttf") format("truetype");
 font-weight: 300;
 font-style: normal;
 font-display: swap;
}

@font-face {
 font-family: "Lufga";
 src: url("../fonts/LufgaRegular.ttf") format("truetype");
 font-weight: 400;
 font-style: normal;
 font-display: swap;
}

@font-face {
 font-family: "Lufga";
 src: url("../fonts/LufgaMedium.ttf") format("truetype");
 font-weight: 500;
 font-style: normal;
 font-display: swap;
}

@font-face {
 font-family: "Lufga";
 src: url("../fonts/LufgaSemiBold.ttf") format("truetype");
 font-weight: 600;
 font-style: normal;
 font-display: swap;
}

body {
 font-family:
  "Lufga",
  -apple-system,
  BlinkMacSystemFont,
  "Segoe UI",
  Roboto,
  "Helvetica Neue",
  Arial,
  "Noto Sans",
  "Apple Color Emoji",
  "Segoe UI Emoji",
  "Segoe UI Symbol",
  "Noto Color Emoji",
  sans-serif;
 color: #fff;
 font-size: 2rem;
 background-color: #141519;
}

button {
 font-family:
  "Lufga",
  -apple-system,
  BlinkMacSystemFont,
  "Segoe UI",
  Roboto,
  "Helvetica Neue",
  Arial,
  "Noto Sans",
  "Apple Color Emoji",
  "Segoe UI Emoji",
  "Segoe UI Symbol",
  "Noto Color Emoji",
  sans-serif;
 color: inherit;
 cursor: pointer;
 transition: background-color 0.3s ease-out;
}

.button {
 font-weight: 500;
 font-size: 1.6rem;
 line-height: 135%;
 padding: 2rem 5rem;
 border-radius: 3rem;
 text-transform: uppercase;
 background: rgba(255, 255, 255, 0.08);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 border: 1px solid rgba(255, 255, 255, 0.18);
 transition: all 0.3s ease;
}

.button:hover {
 background: rgba(255, 255, 255, 0.15);
 border: 1px solid rgba(255, 255, 255, 0.25);
}

.section-header {
 display: flex;
 flex-direction: column;
 justify-content: center;
 row-gap: 2.4rem;
}

.section-header__sup {
 font-weight: 400;
 font-size: 14px;
 line-height: 135%;
 text-transform: uppercase;
 text-align: center;
 color: #636672;
}

.section-header__title {
 font-weight: 600;
 font-size: 8rem;
 line-height: 100%;
 text-align: center;
}

.img-wrapper {
 position: relative;
 padding-bottom: 56.25%;
}

.img-wrapper__img {
 position: absolute;
 left: 0;
 top: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
}

.wrapper {
 max-width: 1368px;
 padding: 0 4rem;
 margin: 0 auto;
}

.container {
 max-width: 1368px;
 padding: 0 4rem;
 margin: 0 auto;
}

.page__header {
 position: absolute;
 z-index: 100;
 left: 0;
 top: 0;
 width: 100%;
 margin-top: 3.5rem;
}

.header__inner {
 display: flex;
 align-items: center;
 width: 100%;
 justify-content: space-between;
}

.main-menu {
 display: flex;
 min-height: 4rem;
 align-items: center;
 column-gap: 4rem;
}

.main-menu__link {
 position: relative;
 display: inline-block;
 font-weight: 300;
 font-size: 14px;
 line-height: 135%;
 text-transform: uppercase;
 color: #fff;
}

.main-menu__link::after {
 content: "";
 position: absolute;
 bottom: -4px;
 left: 0;
 width: 0;
 height: 1px;
 background-color: #ffffff92;
 transition: width 0.3s ease;
}

.main-menu__link:hover::after {
 width: 100%;
}

.hero {
 position: relative;
 height: 848px;
 /* max-width: 1448px;
 margin: 0 auto; */
}

.hero__bg {
 position: absolute;
 z-index: -1;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
}

.hero__content {
 position: relative;
 height: 100%;
}

.hero__container {
 height: 100%;
}

.hero__description {
 font-weight: 300;
 font-size: 2rem;
 line-height: 135%;
 max-width: 590px;
 margin-left: auto;
 margin-top: 4rem;
}

.hero__title {
 margin-top: 205px;
 max-width: 100%;
}

.hero__buttons {
 display: flex;
 column-gap: 12px;
}

.hero__button_white {
 background: rgba(255, 255, 255, 0.18);
}

.hero__button_white:hover {
 background: rgba(255, 255, 255, 0.25);
}

.hero__footer {
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 margin: 0 auto;
 display: flex;
 align-items: center;
 flex-wrap: wrap;
 row-gap: 2rem;
 justify-content: space-between;
 width: 100%;
 padding-top: 3.2rem;
 padding-bottom: 4.9rem;
 margin-top: auto;
 border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__links {
 display: flex;
 flex-direction: column;
 align-items: flex-end;
 margin-left: auto;
 row-gap: 8px;
}

.hero__link {
 position: relative;
 display: inline-block;
 font-weight: 500;
 font-size: 16px;
 line-height: 135%;
 text-transform: uppercase;
 text-align: right;
}

.hero__link::after {
 content: "";
 position: absolute;
 bottom: -4px;
 left: 0;
 width: 0;
 height: 1px;
 background-color: #ffffff92;
 transition: width 0.3s ease;
}

.hero__link:hover::after {
 width: 100%;
}

.why {
 padding-top: 13rem;
}

.why__header {
 margin-bottom: 5rem;
}

.why__content {
 max-width: 1047px;
 margin: 0 auto;
}

.why__img {
 border-radius: 3.2rem;
}

.why__img-wrapper {
 padding-bottom: 53.58%;
}

.why__img-wrapper:after {
 content: "";
 position: absolute;
 left: 0;
 top: 0;
 width: 100%;
 height: 100%;
 background: linear-gradient(180deg, rgba(20, 21, 25, 0) 0%, #141519 100%);
}

.why__text {
 font-weight: 400;
 font-size: 2.4rem;
 line-height: 135%;
 max-width: 965px;
 padding-top: 6.3rem;
 padding-bottom: 6.4rem;
 text-align: center;
 margin: 0 auto;
}

.featured {
 padding-top: 6.4rem;
 padding-bottom: 6.4rem;
}

.featured__header {
 margin-bottom: 6.4rem;
}

.featured__inner {
 display: flex;
 align-items: center;
 flex-direction: column;
}

.featured__list {
 display: grid;
 grid-template-columns: 1fr 1fr;
 column-gap: 2.4rem;
 row-gap: 2.4rem;
 margin-bottom: 4rem;
 width: 100%;
}

.featured__img {
 border-radius: 2.4rem;
}

.featured__item-content {
 display: flex;
 flex-direction: column;
 row-gap: 8px;
 margin-top: 2rem;
}

.featured__item-text {
 font-weight: 300;
 font-size: 16px;
 line-height: 135%;
}

.featured__item-title {
 font-weight: 500;
 font-size: 2.4rem;
 line-height: 135%;
}

.built {
 padding-top: 6.4rem;
 padding-bottom: 7.8rem;
}

.built__header {
 margin-bottom: 4.8rem;
}

.built__list {
 display: grid;
 grid-template-columns: 1fr 1fr 1fr 1fr;
 row-gap: 1.6rem;
 column-gap: 1.6rem;
}

.built__item {
 padding: 2rem;
 border-radius: 1.6rem;
 backdrop-filter: blur(4px);
 background: rgba(220, 234, 242, 0.1);
}

.built__item-icon {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 6.4rem;
 height: 6.4rem;
 border-radius: 1.6rem;
 background-color: #141519;
}

.built__item-content {
 display: flex;
 flex-direction: column;
 row-gap: 8px;
 margin-top: 3.2rem;
}

.built__item-text {
 font-weight: 300;
 font-size: 14px;
 line-height: 135%;
}

.built__item-title {
 font-weight: 500;
 font-size: 1.8rem;
 line-height: 135%;
}

.join {
 padding-top: 7.8rem;
}

.join__inner {
 display: flex;
 flex-direction: column;
 align-items: center;
 row-gap: 3.2rem;
 padding: 8rem 4rem;
 border-radius: 3.2rem;
 background: linear-gradient(180deg, #47a954 0%, #348253 32.02%, #28532d 100%);
}

.join__title {
 font-weight: 600;
 font-size: 8rem;
 line-height: 100%;
 text-align: center;
}

.join__description {
 font-weight: 500;
 font-size: 2rem;
 line-height: 135%;
 text-align: center;
 max-width: 672px;
}

.join__button {
 font-weight: 500;
 font-size: 16px;
 line-height: 135%;
 text-transform: uppercase;
 text-align: center;
 color: #1d7737;
 padding: 2rem 7rem;
 border: none;
 border-radius: 5rem;
 background: #fff;
}

.join__button:hover {
 background: #e2dfdf;
}

.footer {
 min-height: 3.3rem;
}

@media (max-width: 1024px) {
 html {
  font-size: 8px;
 }

 .built__list {
  grid-template-columns: 1fr 1fr;
 }

 .section-header__title,
 .join__title {
  font-size: 6rem;
 }

 .button {
  padding: 1.5rem 4rem;
 }

 .join__description {
  max-width: 450px;
 }
}

@media (max-width: 768px) {
 .hero__buttons {
  justify-content: space-between;
  width: 100%;
 }
}

@media (max-width: 600px) {
 .featured__list {
  grid-template-columns: 1fr;
 }
}

@media (max-width: 480px) {
 .hero {
  height: 700px;
 }

 .button {
  font-size: 1.3rem;
 }

 .hero__link {
  font-size: 13px;
 }

 .join__button {
  font-size: 13px;
 }

 .section-header__title,
 .join__title {
  font-size: 4rem;
 }
}

/* Mobile menu */
.header__burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.header__burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header__burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.header__burger.active span:nth-child(2) {
    opacity: 0;
}
.header__burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .header__burger {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #141519;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        opacity: 0;
        visibility: hidden;
        z-index: 100;
    }

    .header__nav.active {
        opacity: 1;
        visibility: visible;
    }

    .main-menu {
        flex-direction: column;
        row-gap: 2.4rem;
    }

    .main-menu__link {
        font-size: 2rem;
        text-transform: uppercase;
        font-weight: 400;
    }
}

body.lock {
    overflow: hidden;
}
