/* header */

.nav-svr {
  display: none;
}

.header-svr {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
  width: 100%;
  background: var(--main-bg--txt-light);
}

.header-container-svr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 12px 24px;
  width: 375px;
  height: 48px;
}

.header-logo-svr {
  width: 24px;
  height: 24px;
}

.menu-btn-svr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 100%;
  transition: all 0.3s ease;
}

.menu-btn-svr:hover {
  transform: scale(1.1);
}

.menu-svg-svr {
  fill: var(--main-bg--txt-light);
}

.menu-svg-open-svr {
  width: 15px;
  height: 11px;
}

.menu-svg-close-svr {
  width: 13px;
  height: 13px;
}

.nav-list-svr {
  display: flex;
  align-items: center;
}

.nav-item-svr {
  padding: 8px 24px;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.nav-link-svr {
  position: relative;
  text-align: center;
  font-size: 12px;
  opacity: 0.5;
  transition: all 0.3s ease-in-out;
}

.nav-item-svr::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--accent);

  transition: all 0.3s ease-in-out;
}

.item-active-svr::after {
  width: 100%;
}

.link-active-svr {
  opacity: 1;
}

.nav-link-svr:hover {
  opacity: 1;
}

@media screen and (min-width: 1440px) {
  .header-container-svr {
    padding: 8px 120px;
    width: 1440px;
    height: 49px;
  }

  .nav-svr {
    display: block;
  }

  .menu-btn-svr {
    display: none;
  }

  .header-btn-link-svr {
    display: flex;
  }
}

/* modal  */

.modal-svr {
  position: fixed;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;

  border-bottom: 1px solid var(--cards-lines);
  box-shadow: 0 2px 8px 2px rgba(255, 180, 106, 0.5);
  background: var(--main-bg--txt-light);
  padding: 32px 16px;
  width: 375px;
  height: 583px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-nav-list-svr {
  flex-direction: column;
  gap: 16px;
}

.menu-nav-item-svr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 343px;
}

.menu-nav-link-svr {
  font-size: 16px;
}

.nav-modal-svr {
  margin-bottom: 17px;
}

.menu-footer-links-list-svr {
  justify-content: space-between;
  width: 100%;
}

.menu-footer-link-svr {
  line-height: 100%;
  text-align: center;
}

/* hero  */

.hero-section-wrap-svr {
  position: relative;
  padding-bottom: 30px;
  overflow-x: hidden;
}

.section-hero-svr {
  background: #339fd0;
}

.hero-container-svr {
  position: relative;
  padding: 80px 16px 64px;
}

.hero-title-special-svr {
  font-weight: 700;
  font-size: 48px;
  text-align: center;
  color: var(--main-bg--txt-light);
  text-shadow: 0 4px 2px 0 rgba(54, 42, 31, 0.5);
  margin-bottom: 32px;
}

.hero-text-svr {
  font-weight: 700;
  font-size: 24px;
  text-align: center;
  color: var(--main-bg--txt-light);
  text-shadow: 0 2px 2px 0 rgba(54, 42, 31, 0.5);
  margin-bottom: 271px;
}

.hero-img-svr {
  z-index: 0;
  position: absolute;
  top: 392px;
  left: -65px;
  width: 505px;
  height: 255px;
  background-image: url("./images/hero.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.hero-frame-svr {
  z-index: 1;
  position: absolute;
  top: 392px;
  left: -65px;
  width: 505px;
  height: 255px;
  background-image: url("./images/hero-frame.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.hero-decor-line-svr {
  z-index: 2;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 105%;
  height: 30px;
  background-image: url("./images/decor-line-mob.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media screen and (min-width: 475px) {
  .hero-section-wrap-svr {
    padding-bottom: 50px;
  }

  .hero-decor-line-svr {
    height: 50px;
    background-image: url("./images/decor-line-desk.png");
  }
}

@media screen and (min-width: 1440px) {
  .hero-container-svr {
    position: relative;
    padding: 97px 72px 543px;
  }

  .hero-title-special-svr {
    font-size: 56px;
  }

  .hero-text-svr {
    z-index: 2;
    font-size: 32px;
    margin-bottom: 32px;
  }

  .hero-gplay-link-svr {
    z-index: 2;
  }

  .hero-img-svr {
    top: 207px;
    left: 0;
    width: 1377px;
    height: 693px;
  }

  .hero-frame-svr {
    top: 207px;
    left: 0;
    width: 1377px;
    height: 693px;
  }
}

/* about */

.about-title-wrap-svr {
  background: #7f3d9e;
}

.about-content-wrap-svr {
  border: 6px solid #7f3d9e;
}

.about-envelope-svr {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-wrap-first-svr {
  p {
    line-height: 150%;
    text-align: center;
    margin-bottom: 16px;
  }

  img {
    width: 281px;
    height: 155px;
  }
}

.about-wrap-second-svr {
  p {
    line-height: 150%;
    text-align: center;
    margin-bottom: 16px;
  }

  img {
    width: 281px;
    height: 155px;
  }
}

@media screen and (min-width: 1440px) {
  .about-envelope-svr {
    padding: 0 22px;
    flex-direction: row;
    gap: 32px;
  }

  .about-wrap-first-svr {
    display: flex;
    flex-direction: column-reverse;

    p {
      text-align: right;
      margin-bottom: 0;
      margin-top: 32px;
    }

    img {
      width: 514px;
      height: 285px;
    }
  }

  .about-wrap-second-svr {
    p {
      width: 514px;
      text-align: left;
      margin-bottom: 32px;
    }

    img {
      width: 514px;
      height: 284px;
    }
  }
}

/* gameplay */

#gameplay {
  background: var(--accent2);
}

.gameplay-title-wrap-svr {
  background: var(--accent);

  .gameplay-title-svr {
    color: var(--bg2);
  }

  .gameplay-title-img-svr {
    width: 64px;
    height: 52px;
  }
}

.gameplay-content-wrap-svr {
  border: 6px solid var(--accent);
  padding: 32px 20px;
}

.gameplay-subtitle-svr {
  font-size: 32px;
}

.gameplay-text-svr {
  font-size: 24px;
  line-height: 150%;
  text-align: center;
  width: 287px;
}

.gameplay-additional-list-svr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;

  li {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 4px solid var(--accent);
    border-radius: 16px;
    padding: 16px 32px;
    background: var(--bg2);

    img {
      width: 100px;
      height: 100px;
    }

    p {
      line-height: 150%;
      text-align: center;
    }
  }
}

@media screen and (min-width: 1440px) {
  .gameplay-text-svr {
    font-size: 24px;
    line-height: 150%;
    text-align: center;
    width: auto;
  }

  .gameplay-additional-list-svr {
    flex-direction: row;
    gap: 32px;

    li {
      width: calc((1440px - 120px * 2 - 32px * 3) / 4);
      flex-direction: column;
      padding: 16px;
    }
  }
}

/* development */

.development-title-wrap-svr {
  background: #20853c;

  .development-title-img-svr {
    width: 56px;
    height: 52px;
  }
}

.development-content-wrap-svr {
  border: 6px solid #20853c;
}

.development-text-svr {
  line-height: 150%;
  text-align: center;
  margin-bottom: 32px;
}

.development-envelope-svr {
  display: flex;
  flex-direction: column;
  gap: 32px;

  .development-list-svr {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .development-item-svr {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 10px;

    div {
      flex-shrink: 0;
      border-radius: 100%;
      border: 2px solid var(--main-bg--txt-light);
      box-shadow:
        inset 0 4px 4px 0 rgba(53, 70, 97, 0.3),
        inset 0 -1px 3px 0 rgba(250, 245, 232, 0.7);
      width: 24px;
      height: 24px;
    }

    p {
      line-height: 150%;
    }
  }

  .development-item-svr:nth-child(1) {
    div {
      background: var(--accent2);
    }
  }

  .development-item-svr:nth-child(2) {
    div {
      background: #8e32a7;
    }
  }

  .development-item-svr:nth-child(3) {
    div {
      background: #32a761;
    }
  }

  .development-item-svr:nth-child(4) {
    div {
      background: #cd7647;
    }
  }
}

.development-pic-svr {
  width: 279px;
  height: 155px;
}

@media screen and (min-width: 1440px) {
  .development-content-wrap-svr {
    width: 100%;
  }

  .development-envelope-svr {
    flex-direction: row;
    justify-content: center;

    .development-list-svr {
      width: 341px;
      justify-content: center;
    }
  }

  .development-pic-svr {
    width: 514px;
    height: 286px;
  }
}

/* characters */

#characters {
  background: var(--accent2);
}

.characters-title-wrap-svr {
  background: var(--accent);

  .characters-title-svr {
    color: var(--bg2);
  }
}

.characters-content-wrap-svr {
  border: 6px solid var(--accent);
}

.characters-subtitle-svr {
  font-size: 32px;
}

.characters-text-svr {
  font-size: 24px;
  line-height: 150%;
  text-align: center;
}

.characters-optional-svr {
  display: none;
}

.characters-additional-list-svr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;

  .characters-additional-item-svr {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 4px solid var(--accent);
    border-radius: 16px;
    padding: 32px 16px;
    background: var(--bg2);

    .characters-additional-img-svr {
      height: 120px;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
    }

    .characters-additional-wrap-svr {
      display: flex;
      flex-direction: column;
      gap: 16px;
      align-items: center;

      h4 {
        font-weight: 400;
        font-size: 24px;
        line-height: 150%;
        text-align: center;
      }

      p {
        line-height: 150%;
        text-align: center;
      }
    }
  }
}

.characters-additional-item-svr:nth-child(1) {
  .characters-additional-img-svr {
    width: 109px;
    background-image: url(./images/characters/pic-1-mob.png);
  }
}

.characters-additional-item-svr:nth-child(2) {
  .characters-additional-img-svr {
    width: 130px;
    background-image: url(./images/characters/pic-2-mob.png);
  }
}

.characters-additional-item-svr:nth-child(3) {
  .characters-additional-img-svr {
    width: 117px;
    background-image: url(./images/characters/pic-3-mob.png);
  }
}

.characters-additional-item-svr:nth-child(4) {
  .characters-additional-img-svr {
    width: 91px;
    background-image: url(./images/characters/pic-4-mob.png);
  }
}

@media screen and (min-width: 1440px) {
  .characters-optional-svr {
    display: block;
  }

  .characters-additional-list-svr {
    flex-direction: row;
    gap: 32px;

    .characters-additional-item-svr {
      flex-direction: column;

      .characters-additional-img-svr {
        width: 130px;
        height: 130px;
      }
    }
  }

  .characters-additional-item-svr:nth-child(1) {
    .characters-additional-img-svr {
      background-image: url(./images/characters/pic-1-desk.png);
    }
  }

  .characters-additional-item-svr:nth-child(2) {
    .characters-additional-img-svr {
      background-image: url(./images/characters/pic-2-desk.png);
    }
  }

  .characters-additional-item-svr:nth-child(3) {
    .characters-additional-img-svr {
      background-image: url(./images/characters/pic-3-desk.png);
    }
  }

  .characters-additional-item-svr:nth-child(4) {
    .characters-additional-img-svr {
      background-image: url(./images/characters/pic-4-desk.png);
    }
  }
}

/* features */

.features-title-wrap-svr {
  background: #cd7647;

  .features-title-img-svr {
    width: 64px;
    height: 52px;
  }
}

.features-content-wrap-svr {
  border: 6px solid #cd7647;
}

.features-content-wrap-svr {
  padding: 32px 0;
}

.features-envelope-svr {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;

  .features-list-svr {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .features-item-svr {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 10px;

    div {
      flex-shrink: 0;
      border-radius: 100%;
      border: 2px solid var(--main-bg--txt-light);
      box-shadow:
        inset 0 4px 4px 0 rgba(53, 70, 97, 0.3),
        inset 0 -1px 3px 0 rgba(250, 245, 232, 0.7);
      width: 24px;
      height: 24px;
    }

    p {
      line-height: 150%;
    }
  }

  .features-item-svr:nth-child(1) {
    div {
      background: var(--accent2);
    }
  }

  .features-item-svr:nth-child(2) {
    div {
      background: #8e32a7;
    }
  }

  .features-item-svr:nth-child(3) {
    div {
      background: #32a761;
    }
  }

  .features-item-svr:nth-child(4) {
    div {
      background: #cd7647;
    }
  }

  .features-item-svr:nth-child(5) {
    div {
      background: #d13fcd;
    }
  }
}

.features-pic-svr {
  width: 311px;
  height: 172px;
}

@media screen and (min-width: 1440px) {
  .features-envelope-svr {
    padding: 0;
    flex-direction: row;
    justify-content: center;
  }

  .features-pic-svr {
    width: 514px;
    height: 286px;
  }
}

/* gallery */

#gallery {
  background: var(--accent2);
}

.gallery-title-wrap-svr {
  background: var(--accent);

  .section-title-img-svr {
    width: 56px;
    height: 52px;
  }
}

.gallery-content-wrap-svr {
  border-top: 4px solid var(--accent);
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding-top: 48px;
  width: 343px;
}

.gallery-image-svr {
  width: 283px;
  height: 612px;
}

.glide {
  position: relative;
}

.gallery-controls-wrap-svr {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gallery-controls-svr {
  display: flex;
  justify-content: space-between;
  width: 1200px;
}

.gallery-btn-svr {
  width: 64px;
  height: 64px;
  border-radius: 100px;
  background: var(--main-bg--txt-light);
  border-bottom: 1px solid var(--cards-lines);
  box-shadow: 0 2px 4px 0 #ddc9b9;
}

.gallery-btn-svr:hover {
  background: var(--bg2);
  border-bottom: 1px solid var(--cards-lines);
}

.gallery-btn-svr:active {
  background: var(--bg2);
  box-shadow: none;
  border-bottom: 1px solid var(--cards-lines);
}

.gallery-btn-right-svr {
  .gallery-controls-btn-icon-svr {
    transform: rotate(180deg);
  }
}

.gallery-controls-btn-icon-svr {
  width: 12px;
  height: 22px;
}

@media screen and (min-width: 1440px) {
  .gallery-content-wrap-svr {
    width: 100%;
    padding: 64px 69px 0;
    width: 1062px;
  }

  .gallery-controls-wrap-svr {
    display: block;
  }
}

/* faq */

.faq-title-wrap-svr {
  background: #7f3d9e;
}

.faq-content-wrap-svr {
  border-top: 4px solid #7f3d9e;
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding: 48px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-list-svr {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 343px;
}

.faq-item-svr {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 4px;
}

.faq-question-wrap-svr {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--cards-lines);
  padding: 8px 0px;
  width: 100%;
}

.faq-question-svr {
  font-size: 24px;
  line-height: 150%;
  width: 287px;
}

.faq-btn-svr {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;

  svg {
    width: 21px;
    height: 21px;
  }
}

.faq-answer-svr {
  line-height: 150%;
}

@media screen and (min-width: 1440px) {
  .faq-content-wrap-svr {
    width: 100%;
    padding: 64px 69px 0;
  }

  .faq-list-svr {
    width: 1062px;
  }

  .faq-question-svr {
    width: auto;
  }
}

/* contact */

.contact-title-wrap-svr {
  background: #20853c;

  .contact-title-img-svr {
    width: 56px;
    height: 52px;
  }
}

.contact-content-wrap-svr {
  border: 6px solid #20853c;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-link-svr {
  width: 220px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  line-height: 150%;
  margin-bottom: 32px;

  svg {
    width: 24px;
    height: 24px;
  }
}

.contact-pic-svr {
  width: 311px;
  height: 172px;
}

@media screen and (min-width: 1440px) {
  .contact-content-wrap-svr {
    padding: 48px;
  }

  .contact-pic-svr {
    width: 1104px;
    height: 613px;
  }
}

/* footer */

#footer {
  background: var(--bg2);
}

.footer-container-svr {
  gap: 32px;
  padding: 64px 45px;
}

.gplay-link-svr {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cards-lines);
  border-radius: 16px;
  width: 280px;
  height: 72px;
  box-shadow: 2px 3px 3px 0 rgba(99, 36, 167, 0.3);
  background: var(--main-bg--txt-light);
  transition: all 0.3s ease-in-out;
}

.gplay-link-svr:hover {
  background: linear-gradient(180deg, #f8eee7 0%, #ddc9b9 100%);
}

.gplay-link-svr:active {
  background: linear-gradient(180deg, #f8eee7 0%, #ddc9b9 100%);
  box-shadow: none;
}

.gplay-img-svr {
  width: 195px;
  height: 44px;
}

.footer-links-list-svr {
  display: flex;
  align-items: center;
  gap: 32px;

  li {
    a {
      font-size: 16px;
      line-height: 160%;
    }
  }
}

.footer-text-svr {
  font-size: 16px;
  line-height: 160%;
  text-align: center;
  width: 196px;
}

.footer-text-optional-svr {
  display: none;
}

@media screen and (min-width: 1440px) {
  .footer-container-svr {
    padding: 80px 547px 72px;
  }

  .footer-text-svr {
    width: auto;
  }

  .footer-text-optional-svr {
    display: inline;
  }
}

/* ********************* */

.hidden-svr {
  display: none;
}

.click-svr {
  transform: rotate(180deg);
}
