.main-section {
  position: fixed;
  z-index: 9;
  width: 100%;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--biege);
}

.page-nav {
  display: none;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
}

.page-nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--d-blue);
  transition: color 0.3s ease;
}

.page-nav-link:hover {
  color: var(--blue);
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-open-svg {
  stroke: var(--d-blue);
}

.menu-close-svg {
  stroke: var(--d-blue);
}

@media screen and (min-width: 1422px) {
  .main-section {
    padding: 18px 160px;
  }

  .page-nav {
    display: block;
  }

  .menu-btn {
    display: none;
  }
}

/* modal  */

.menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 8;
  width: 100%;
  padding: 50px;
  padding-top: 100px;
  transform: translateX(100%);
  transition: transform 1s ease;
  background: var(--biege);
}

.menu-nav-list {
  flex-direction: column;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  width: 96%;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid var(--white);
  transition: transform 0.4s ease;
  border-radius: 32px;
  padding: 32px;
  background: var(--d-blue);
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  text-align: center;
  color: var(--white);
}

.popup-btn {
  border: 1px solid var(--white);
  border-radius: 28px;
  padding: 16px 32px;

  font-family: var(--third-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  color: var(--white);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: var(--white);
  color: var(--d-blue);
}

.popup-wrap {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

@media screen and (min-width: 1422px) {
  .page-popup {
    padding: 32px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 64px;
  }

  .popup-wrap {
    margin: 0;
    flex-direction: row;
    gap: 32px;
    flex-shrink: 0;
  }
  .popup-text {
    text-align: start;
  }
}

/* hero  */

.dashboard {
  background-image: url(../asset/home.jpg);
  background-position: center;
  background-size: cover;
  padding-top: 120px;
  padding-bottom: 84px;
}

.hero-title {
  font-family: var(--second-family);
  font-weight: 900;
  font-size: 48px;
  line-height: 120%;
  letter-spacing: -0.02em;
  background: linear-gradient(136deg, #c7556e 0%, #1f6dff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 40px;
}

.page-hero-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--d-blue);
  margin-bottom: 16px;
}

.hero-desc {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  color: var(--blue);
}

@media screen and (min-width: 1422px) {
  .dashboard {
    padding-top: 160px;
    padding-bottom: 123px;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 67px;
  }

  .hero-title {
    font-size: 64px;
    margin: 0;
    flex-shrink: 0;
  }

  .page-hero-text {
    font-size: 18px;
  }

  .hero-desc {
    font-size: 20px;
  }
}

/* how */

.how-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;

  li {
    border-radius: 16px;
    padding: 16px;
    width: 258px;
    max-width: 100%;
    min-height: 256px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(135deg, #ccd9e3 0%, #f7dbca 100%);
  }

  h3 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    color: var(--blue);
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--d-blue);
    position: relative;
    z-index: 1;
  }

  img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }
}

@media screen and (min-width: 1422px) {
  .how-list {
    flex-direction: row;
    gap: 32px;
    justify-content: center;

    li {
      width: calc((100% - 96px) / 4);
    }

    h3 {
      font-size: 20px;
    }

    p {
      font-size: 18px;
    }
  }
}

/* what */

.what-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--d-blue);
  margin-bottom: 24px;
}

.what-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  color: var(--blue);
}

.what-list {
  list-style: disc;
  padding-left: 20px;
  font-weight: 400;
  font-size: 16px;
  color: var(--d-blue);
  line-height: 150%;
}

@media screen and (min-width: 1422px) {
  #what {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 108px;
  }

  .what-text,
  .what-list {
    font-size: 18px;
  }

  .what-title {
    font-size: 20px;
  }
}

/* film */

.film-list {
  li {
    border-radius: 16px;
    padding: 24px;
    width: 343px;
    max-width: 100%;
    min-height: 150px;
    margin-bottom: 24px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    color: var(--blue);
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--d-blue);
  }

  img {
    position: absolute;
    top: auto;
    left: auto;
    bottom: 16px;
    right: 16px;
  }
}

@media screen and (min-width: 1422px) {
  .film-list {
    li {
      width: calc((100% - 64px) / 3);
    }
  }
}

/* algorithm */

.algorithm-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--d-blue);
}

@media screen and (min-width: 1422px) {
  #algorithm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 108px;
  }

  .algorithm-text {
    font-size: 18px;
  }
}

/* gallery */

.gallery-list {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 24px;

  li {
    width: 343px;
    max-width: 100%;
    border-radius: 32px;
    padding: 16px;
    background: linear-gradient(135deg, #ccd9e3 0%, #f7dbca 100%);
  }

  img {
    margin: 0 auto;
  }

  p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    color: var(--d-blue);
    margin-top: 16px;
    margin-bottom: 4px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--d-blue);
  }
}

.gallery-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  color: var(--d-blue);
}

@media screen and (min-width: 1422px) {
  .gallery-list {
    flex-direction: row;
    gap: 32px;

    li {
      width: calc((100% - 64px) / 3);
    }
    img {
      width: 100%;
    }

    p {
      font-size: 20px;
    }

    span {
      font-size: 18px;
    }
  }

  .gallery-text {
    font-size: 20px;
  }
}

/* who */

.who-list {
  display: flex;
  flex-direction: column;
  gap: 8px;

  li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    color: var(--d-blue);
  }
}

@media screen and (min-width: 1422px) {
  .who-list {
    li {
      font-size: 20px;
    }
  }
}

/* faq */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;

  li {
    border-radius: 16px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ccd9e3 0%, #f7dbca 100%);
  }

  p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    color: var(--blue);
    margin-bottom: 8px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--d-blue);
  }
}

@media screen and (min-width: 1422px) {
  .faq-list {
    width: 736px;
    gap: 32px;
  }
  p {
    font-size: 20px;
  }

  span {
    font-size: 18px;
  }
}

/* contact */

.contact-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--d-blue);
}

@media screen and (min-width: 1422px) {
  #contact {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .contact-link {
    font-size: 18px;
  }
}

/* footer */

.footer {
  padding: 40px 16px;
  background: var(--d-blue);
}

.footer-title {
  font-family: var(--second-family);
  font-weight: 900;
  font-size: 52px;
  letter-spacing: -0.03em;
  background: linear-gradient(136deg, #c7556e 0%, #1f6dff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 40px;

  span {
    font-size: 23px;
  }
}

.footer-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--l-blue);
}

.footer-link-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 11px;
  line-height: 150%;
  text-align: center;
  color: var(--l-blue);
  margin-top: 40px;
}

@media screen and (min-width: 1422px) {
  .footer {
    padding: 40px 160px;
  }

  .footer-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-title {
    font-size: 96px;
    margin: 0;

    span {
      font-size: 42px;
    }
  }

  .footer-link {
    font-size: 18px;
  }

  .footer-link-wrap {
    margin: 0;
    align-items: flex-end;
  }

  .footer-description {
    font-size: 12px;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.click {
  transform: rotate(0);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
