* {
  margin: 0;
  padding: 0;
  font-family: "Figtree", sans-serif;
}

body {
  background-color: #070a16;
}
.fl-page {
  overflow: hidden;
}

::selection {
  background: #fff;
  color: #070a16;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  line-height: 1.2;
  color: #f8f8f8;
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 52px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 24px;
}

p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #c6c6c6;
  font-family: "Onest", sans-serif;
}

.policy-page li {
  color: #c6c6c6;
}

a {
  text-decoration: none;
  transition: all 0.2s ease;
  color: #d0d0d0;
  font-size: 16px;
}
a:hover {
  color: #fff;
}

.container {
  max-width: 1240px !important;
}
.glass-btn {
  background: url(../images/btn-background.png);
  width: 143px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 600;
}
.glass-btn:hover {
  transform: translateY(-2px);
}
.mobile-hamburger {
  display: none;
}
.main-nav__logo img {
  margin-left: -20px;
  margin-top: -10px;
}

/* header */
header {
  position: absolute;
  left: 0;
  width: 100%;
  top: 0;
}
.main-nav::before {
  content: "";
  position: absolute;
  background: url(../images/hero-shadow.png);
  width: 802px;
  height: 347px;
  top: 0;
  left: -20px;
  pointer-events: none;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  position: relative;
}
.main-nav__items {
  display: flex;
  align-items: center;
  gap: 48px;
}

/* footer */
footer {
  padding: 70px 0 42px;
}
.footer-separator {
  background: #393b45;
  height: 1px;
  margin: 43px 0;
}
.text-right {
  text-align: right;
}
.footer-terms {
  display: flex;
  gap: 38px;
}
.footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: 46px;
}
.footer-logo img {
  margin-left: -20px;
}
.footer-logo p {
  max-width: 435px;
  margin-top: 25px;
}
.footer-social-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
  gap: 20px;
}
.footer-social-wrapper a {
  border: 1px solid #393b45;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  isolation: isolate;
}
.footer-social-wrapper a:hover {
  border: 1px solid #070a16;
}
.footer-social-wrapper a:hover::before {
  opacity: 0.6;
}
.footer-social-wrapper a::before {
  content: "";
  position: absolute;
  background: linear-gradient(to right, #3a85e8, #c9278c);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0.6;
  z-index: -1;
  opacity: 0;
}

.policy-hero {
  padding-top: 7rem;
}

@media (max-width: 767px) {
  .policy-hero {
    padding-top: 6rem;
  }
}
@media (max-width: 1024px) {
  h1 {
    font-size: 42px;
  }
  h2 {
    font-size: 36px;
  }
  h4 {
    font-size: 22px;
  }
  body.active {
    max-height: 100vh;
    overflow: hidden;
  }
  .container {
    padding: 0 30px;
  }
  .main-nav__items {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #070a16;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    opacity: 0;
    gap: 25px;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 98;
  }
  .main-nav__items.active {
    opacity: 1;
    pointer-events: all;
  }
  .mobile-hamburger {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    position: relative;
    z-index: 99;
  }
  .mobile-hamburger.active .line-2 {
    width: 0;
  }
  .mobile-hamburger.active .line-1 {
    transform: rotate(45deg);
    transition-delay: 0.2s;
  }
  .mobile-hamburger.active .line-3 {
    width: 24px;
    transform: rotate(-45deg);
    margin-top: -18px;
    transition-delay: 0.2s;
  }
  .mobile-hamburger span {
    width: 24px;
    height: 1px;
    background: #fff;
    display: flex;
    border-radius: 5px;
    transition: all 0.2s ease;
  }
  .mobile-hamburger .line-2 {
    width: 9px;
  }
  .mobile-hamburger .line-3 {
    width: 16px;
  }
  .main-nav__logo img {
    width: 90px;
    margin-top: -15px;
  }
  .container {
    padding: 0 20px;
  }
  .main-nav__logo {
    position: relative;
    z-index: 99;
  }
  .footer-nav {
    justify-content: center;
    margin-top: 10px;
  }
  .footer-social-wrapper {
    justify-content: center;
  }
  .footer-logo {
    text-align: center;
  }
  .footer-logo p {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-terms {
    justify-content: center;
    margin-bottom: 15px;
  }
  .footer-copyright {
    text-align: center;
    margin-top: 10px;
  }
}

@media (max-width: 767px) {
  .footer-logo p {
    max-width: 290px;
  }
  h2,
  h1 {
    font-size: 32px;
  }
  h4 {
    font-size: 20px;
  }
  .main-nav::before {
    width: 351px;
    height: 152px;
    background-size: 100% 100%;
    left: -130px;
  }
  p {
    font-size: 14px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .footer-separator {
    margin: 30px 0;
  }
  .footer-terms {
    gap: 20px;
  }
  .footer-terms a {
    font-size: 12px;
  }
  footer {
    padding: 50px 0 30px;
  }
}
