/* header */

.nav-scm {
  display: none;
}

.header-scm {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
  width: 100%;
}

.header-container-scm {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 36px 80px 0;
  width: 100%;
}

.nav-list-scm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 161px;
}

.nav-item-scm {
  position: relative;
  transition: all 0.3s ease-in-out;
}

.nav-link-scm {
  line-height: 150%;
  color: var(--text-color);
}

.nav-item-scm:hover {
  transform: scale(1.1);
}

.nav-link-scm:active + .nav-item-scm,
.nav-item-scm:has(.nav-link-scm:active) {
  transform: scale(1.2);
}

.menu-btn-scm {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 48px;
  height: 48px;

  position: absolute;
  top: 42px;
  right: 42px;

  svg {
    width: 36px;
    height: 24px;
    fill: var(--text-color);
  }
}

@media screen and (min-width: 1440px) {
  .header-container-scm {
    justify-content: center;
  }

  .nav-scm {
    display: block;
  }

  .menu-open-scm {
    display: none;
  }
}

/* modal  */

.modal-scm {
  position: fixed;
  top: 0;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);

  width: 375px;
  height: 800px;
  background: var(--accent-color-2);

  display: flex;
  justify-content: start;
  padding-top: 208px;
  padding-left: 128px;
}

.menu-close-scm {
  width: 48px;
  height: 48px;

  position: absolute;
  top: 48px;
  right: 42px;

  display: flex;
  justify-content: center;
  align-items: center;

  svg {
    width: 28px;
    height: 28px;
  }
}

.menu-nav-list-scm {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 32px;
}

.menu-nav-item-scm {
  padding: 0;
}

.menu-nav-link-scm {
  display: flex;
  align-items: start;
  justify-content: start;

  line-height: 150%;
  color: var(--background);
}

/* popup */

.popup-scm {
  position: fixed;
  z-index: 11;
  bottom: 0;
  left: 0;
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--accent-color-2);

  padding: 38px 16px 96px;
}

.popup-text-scm {
  line-height: 150%;
  text-align: center;
  color: var(--background);
}

.popup-btn-wrap-scm {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  gap: 24px;
}

.popup-btn-scm {
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 40px;
  padding: 24px 48px;
  width: 295px;
  height: 79px;

  text-align: center;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
}

.popup-btn-accept-scm {
  background: var(--background);
  color: var(--accent-color-2);

  transition: all 0.3s ease;
}

.popup-btn-decline-scm {
  border: 1px solid var(--background);
  color: var(--background);

  transition: all 0.3s ease;
}

.popup-btn-scm:hover {
  transform: scale(1.1);
}

@media screen and (min-width: 1440px) {
  .popup-scm {
    flex-direction: row;
    gap: 180px;

    padding: 20px 15px 20px 34px;

    left: 50%;
    transform: translateX(-50%);
  }

  .popup-text-scm {
    flex-shrink: 0;
    width: 595px;
  }

  .popup-btn-wrap-scm {
    gap: 26px;
    flex-direction: row;
  }
}

/* hero  */

#home {
  height: 800px;
  background: url(/images/hero-bg.png);
  background-position: left;
  background-size: cover;
}

.hero-container-scm {
  height: 100%;
}

.hero-logo-scm {
  position: absolute;
  top: 104px;
  left: 0;
  width: 375px;
  height: 208px;
}

.hero-pic-scm {
  background: url(/images/hero-pic.png);
  background-position: center;
  background-size: cover;

  position: absolute;
  right: 0;
  bottom: 39px;

  width: 229px;
  height: 290px;
}

@media screen and (min-width: 1440px) {
  #home {
    height: 820px;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-logo-scm {
    top: 142px;
    left: 80px;
    width: 630px;
    height: 350px;
  }

  .hero-pic-scm {
    display: none;
  }
}

/* about */

.about-container-scm {
  padding-top: 80px;
}

.about-wrapper-scm {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;

  .about-pic-scm {
    background: url(/images/about-pic.png);
    background-position: center;
    background-size: cover;

    width: 375px;
    height: 293px;
    border-radius: 20px;
  }

  .about-text-scm {
    line-height: 150%;

    span {
      font-weight: 700;
    }
  }
}

@media screen and (min-width: 1440px) {
  .about-container-scm {
    padding-top: 150px;
  }

  .about-wrapper-scm {
    flex-direction: row-reverse;
    gap: 23px;
    align-items: start;

    .about-pic-scm {
      width: 630px;
      height: 293px;
      flex-shrink: 0;
    }
  }

  .about-arrows-scm {
    background: url(/images/about-arrows.png);
    background-position: center;
    background-size: cover;

    position: absolute;
    left: 80px;
    bottom: 75px;

    width: 189px;
    height: 190px;
  }
}

/* features */

.features-wrapper-scm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.features-pic-scm {
  background: url(/images/features-pic.png);
  background-position: center;
  background-size: cover;

  width: 375px;
  height: 474px;
}

.features-list-scm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.features-item-scm {
  border-radius: 20px;
  padding: 18px 24px;
  width: 335px;
  background: var(--accent-color-2);

  h3 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    color: var(--background);
    margin-bottom: 12px;
  }

  p {
    line-height: 150%;
    color: #000;
  }
}

.features-wizard-scm {
  display: none;
}

@media screen and (min-width: 1440px) {
  .features-container-scm {
    align-items: start;
  }

  .features-wrapper-scm {
    flex-direction: row;
    align-items: end;
    gap: 27px;
  }

  .features-pic-scm {
    width: 470px;
    height: 594px;
  }

  .features-item-scm {
    width: 462px;
  }

  .features-wizard-scm {
    display: block;
    width: 325px;
    height: 496px;

    background: url(/images/features-wizard.png);
    background-position: center;
    background-size: cover;

    position: absolute;
    bottom: 75px;
    right: 49px;
  }
}

/* characters */

.characters-item-scm {
  display: flex;
  flex-direction: column;
  align-items: center;

  img {
    width: 305px;
    height: 457px;
  }

  h3 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    text-align: center;
    color: var(--accent-color-2);
    margin-top: 8px;
    margin-bottom: 12px;
  }

  p {
    line-height: 150%;
    text-align: center;
  }
}

@media screen and (min-width: 1440px) {
  .characters-wrapper-scm {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
  }

  .characters-item-scm {
    width: auto;
  }
}

/* gallery */

.gallery-container-scm {
  display: block;
}

.gallery-item-scm {
  width: 305px;
  height: 542px;

  img {
    width: 100%;
    height: 100%;
  }
}

/* faq */

.faq-list-scm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item-scm {
  display: flex;
  flex-direction: column;
}

.faq-question-wrap-scm {
  display: flex;
  align-items: center;
  justify-content: space-between;

  border: 1px solid var(--accent-color-2);
  border-radius: 20px;
  padding: 10px;

  p {
    font-family: var(--font-family);
    font-size: 20px;
    color: var(--accent-color-2);
  }

  .faq-btn-scm {
    width: 36px;
    height: 36px;
    display: flex;
    flex-shrink: 0;

    svg {
      width: 100%;
      height: 100%;
    }
  }
}

.faq-answer-wrap-scm {
  border: 1px solid var(--text-color);
  border-radius: 20px;
  padding: 10px;
  margin-top: 4px;

  p {
    line-height: 150%;
    color: var(--text-color);
  }
}

@media screen and (min-width: 1440px) {
  .faq-list-scm {
    width: 630px;
  }

  .faq-item-scm {
    width: 100%;
  }
}

/* footer */

#footer {
  background: var(--accent-color-2);
}

.footer-container-scm {
  padding: 49px 20px;
}

.footer-links-list-scm {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.footer-link-scm {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  color: var(--background);
}

.footer-text-scm {
  margin-top: 18px;
  font-size: 12px;
  line-height: 150%;
  color: var(--background);
}

@media screen and (min-width: 1440px) {
  .footer-container-scm {
    padding: 46px 80px;
  }

  .footer-links-list-scm {
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
    width: 100%;
  }

  .footer-text-scm {
    margin-top: 50px;
    text-align: center;
  }
}

/* ********************* */

.hidden-scm {
  display: none;
}

.click-scm {
  transform: rotate(180deg);
}
