/* root */
:root {
  --padding-size: 20rem;
  --padding-size-laptop: 10rem;
  --padding-size-tablet: 5rem;
  --padding-size-mobile: 1.6rem;
  --font-inter: "Inter", sans-serif;
  --font-archivo: "Archivo", sans-serif;
}

@font-face {
  font-family: "sfProDisplay600Normal";
  src: url("./fonts/SF-Pro-Display-Semibold.otf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "sfProDisplay500Normal";
  src: url("./fonts/SF-Pro-Display-Medium.otf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "sfProDisplay400Normal";
  src: url("./fonts/SF-Pro-Display-Regular.otf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

html {
  /* 1rem = 10px */
  font-size: 62.5%;
}

/* Mobile nhỏ (≤ 480px) */
@media (max-width: 480px) {
  html {
    font-size: 56.25%; /* 1rem = 9px */
  }
}
/* Tablet (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  html {
    font-size: 56.25%; /* 1rem = 9px */
  }
}
/* Desktop nhỏ (769px - 1199px) */
@media (min-width: 769px) and (max-width: 1199px) {
  html {
    font-size: 62.5%; /* 1rem = 10px */
  }
}
/* Desktop lớn (≥ 1200px) */
@media (min-width: 1200px) {
  html {
    font-size: 68.75%; /* 1rem = 11px */
  }
}

body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  margin: 0;
  padding: 0;
}

.container::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
/*  landing page */
.container {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #131921;

  @media screen and (max-width: 480px) {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    min-height: calc(var(--vh, 1vh) * 100);
  }

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  .body {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;

    .header {
      width: 100%;
      background: rgba(255, 255, 255, 0.03);
      backdrop-filter: blur(10.949999809265137px);
      height: 7rem;
      display: flex;
      align-items: center;
      justify-content: center;

      .header-content {
        margin: 0 var(--padding-size);
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;

        @media screen and (min-width: 1200px) and (max-width: 1500px) {
          margin: 0 var(--padding-size-laptop);
        }

        @media screen and (min-width: 769px) and (max-width: 1199px) {
          margin: 0 var(--padding-size-tablet);
        }

        @media screen and (max-width: 768px) {
          margin: 0 var(--padding-size-mobile);
        }

        .turbo-logo {
          height: 3.9rem;
          width: auto;

          @media screen and (max-width: 768px) {
            height: 2.55rem;
          }
        }

        .button-join-discord {
          border-radius: 0.5rem;
          border: 1px solid #9ba3ba;
          width: max-content;

          display: flex;
          align-items: center;
          justify-content: center;
          padding: 1rem 2rem;
          gap: 1rem;
          cursor: pointer;
          transition: 0.4s;

          @media screen and (max-width: 768px) {
            padding: 0.7rem 1.4rem;
          }

          .join-discord-icon {
            width: 1.6rem;
            height: auto;

            @media screen and (max-width: 768px) {
              width: 1.124rem;
            }
          }

          .join-discord-text {
            color: #fff;

            text-align: center;
            font-family: var(--font-inter);
            font-size: 1.4rem;
            font-style: normal;
            font-weight: 600;
            line-height: normal;
          }

          &:hover {
            /* opacity: 0.8; */
            transition: 0.4s;
            background: rgba(255, 255, 255, 0.127);
            backdrop-filter: blur(10.949999809265137px);
          }
        }
      }
    }

    .content-privacy {
      height: 100%;
      flex: 1;
      margin: 7.9rem 30rem 16.5rem 30rem;
      color: white;

      display: flex;
      flex-direction: column;
      gap: 4.4rem;

      @media screen and (min-width: 1200px) and (max-width: 1500px) {
        margin: 7.9rem 20rem 16.5rem 20rem;
        gap: 4rem;
      }

      @media screen and (min-width: 769px) and (max-width: 1199px) {
        margin: 4.9rem 10rem 10.5rem 10rem;
        gap: 3rem;
      }

      @media screen and (max-width: 768px) {
        margin: 4.9rem 3rem 10.5rem 3rem;
        gap: 3rem;
      }

      .content-privacy-session {
        .content-privacy-title {
          color: #fff;
          font-family: "sfProDisplay600Normal";
          font-size: 3.2rem;
          font-style: normal;
          font-weight: 600;
          line-height: 2.4rem;

          margin-bottom: 4.4rem;

          @media screen and (min-width: 1200px) and (max-width: 1500px) {
            font-size: 2.7rem;
            margin-bottom: 3.4rem;
          }

          @media screen and (min-width: 769px) and (max-width: 1199px) {
            font-size: 2.5rem;
            margin-bottom: 3.4rem;
          }

          @media screen and (max-width: 768px) {
            font-size: 2.5rem;
            margin-bottom: 2.4rem;
          }
        }

        .content-privacy-subTitle {
          color: #fff;
          text-align: left;
          font-family: "sfProDisplay500Normal";
          font-size: 1.7rem;
          font-style: normal;
          font-weight: 500;
          line-height: normal;

          margin-bottom: 1.4rem;
        }

        .content-privacy-text {
          color: rgba(255, 255, 255, 0.6);
          font-family: "sfProDisplay400Normal";
          font-size: 1.4rem;
          font-style: normal;
          font-weight: 400;
          line-height: 2.4rem;

          .content-privacy-text-br {
            margin-bottom: 2.4rem;
          }
        }
      }
    }
  }

  .footer {
    border-top: 1px solid #202227;
    background: #131418;
    width: 100%;

    .footer-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 0 var(--padding-size);
      padding: 1.9rem 0;

      @media screen and (max-width: 768px) {
        padding: 1rem 0;
      }

      @media screen and (min-width: 1200px) and (max-width: 1500px) {
        margin: 0 var(--padding-size-laptop);
      }

      @media screen and (min-width: 769px) and (max-width: 1199px) {
        margin: 0 var(--padding-size-tablet);
      }

      @media screen and (max-width: 768px) {
        margin: 0 var(--padding-size-mobile);
      }

      .footer-left {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 2rem;

        .footer-left-icon {
          height: 2.4rem;
          width: auto;
        }

        .footer-left-text {
          color: #fff;
          font-family: var(--font-inter);
          font-size: 1.4rem;
          font-style: normal;
          font-weight: 500;
          line-height: 3rem;

          @media screen and (max-width: 768px) {
            font-size: 1rem;
          }
        }
      }

      .footer-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;

        .footer-right-container {
          display: flex;
          align-items: center;
          justify-content: flex-end;
          gap: 1.7rem;

          @media screen and (max-width: 768px) {
            display: none;
          }
          .footer-right-text {
            color: #9ba3ba;
            font-family: var(--font-inter);
            font-size: 1.4rem;
            font-style: normal;
            font-weight: 400;
            line-height: 3rem;
            cursor: pointer;
            transition: 0.4s;

            &:hover {
              opacity: 0.8;
              transition: 0.4s;
            }
          }

          .footer-right-social {
            margin-left: 4.3rem;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 1.6rem;

            .footer-left-icon {
              width: 2.8rem;
              height: 2.8rem;
              cursor: pointer;
              transition: 0.4s;

              &:hover {
                opacity: 0.8;
                transition: 0.4s;
              }
            }
          }
        }

        .hamburger-icon {
          display: none;
          width: 2.4rem;
          transition: 0.4s;

          @media screen and (max-width: 768px) {
            display: block;
          }

          &:hover {
            opacity: 0.8;
            transition: 0.4s;
          }
        }
      }
    }
  }
}

.mobile-menu {
  display: none;

  @media screen and (max-width: 768px) {
    display: block;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    max-height: calc(var(--vh, 1vh) * 100);
    transition: visibility 0.15s 0s;

    transform: translateX(-50%);
    z-index: 999;
    transition: 0.4s;

    &.open {
      transition: visibility 0s 0s;
      visibility: visible;
      background: rgba(51, 54, 58, 0.6);
      transition: 0.4s;
    }

    .mobile-menu-container {
      height: auto;

      position: absolute;
      overflow: hidden;
      right: 0;
      bottom: 0;
      width: 100%;

      display: flex;
      flex-direction: column;
      border-radius: 24px 24px 0 0;
      background: #131921;
      transform: translateY(100%);
      transition: 0.4s;

      &.open {
        transform: translateY(0);
        transition: 0.4s;
      }

      .mobile-menu-close {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        cursor: pointer;
        transition: 0.4s;
        filter: brightness(0.34);

        .mobile-menu-close-icon {
          height: 1.8rem;
          width: 1.8rem;
          padding: 0.3rem;
        }

        &:hover {
          opacity: 0.8;
          transition: 0.4s;
        }
      }

      .mobile-menu-container-item {
        padding: 1.8rem 1.6rem;
        color: #9ba3ba;
        font-family: var(--font-inter);
        font-size: 1.4rem;
        font-style: normal;
        line-height: 3rem;
        font-weight: 400;

        border-bottom: 1px solid #373739;

        &:last-child {
          border-bottom: none;
        }

        &:first-child {
          margin-top: 0.6rem;
          border-bottom: none;
          padding-bottom: 0;
        }

        &:nth-child(2) {
          padding-top: 0;
        }

        &:hover {
          color: #fff;
        }

        .mobile-menu-social {
          display: flex;
          align-items: center;
          justify-content: flex-start;
          gap: 1.6rem;

          margin-top: 0.2rem;

          .mobile-menu-social-icon {
            height: 2.8rem;
            width: 2.8rem;
          }
        }
      }
    }
  }
}

@keyframes opacityPulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    opacity: 1;
  }
}
