.main-section {
  display: none;
}

.page-nav {
  display: none;
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  color: #000;
  transition: color 0.3s ease;
}

.page-nav-link:hover {
}

.menu-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  z-index: 9;
}

.menu-open-svg {
  stroke: #000;
}

.menu-close-svg {
  stroke: #000;
}

@media screen and (min-width: 1436px) {
  .main-section {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    width: 100%;
    padding: 14px 0;
    background: #fff9f3;
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 54px;
  }

  .page-nav {
    display: block;
  }

  .page-nav-link {
    color: var(--primary-text);
  }

  .menu-btn {
    display: none;
  }
}

/* modal  */

.menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  padding: 100px 20px;
  transform: translateY(-100%);
  background-image: url(../img/modal.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom -50px right;
  transition: transform 1s ease;
}

.menu-nav-list {
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  width: 100%;
  bottom: 0;
  left: 0;
  transition: transform 0.4s ease;
  border-top: 2px solid #ab94e8;
  background: #fff;
  padding: 40px 0;
}

.popup-title {
  font-family: var(--font4);
  font-weight: 400;
  font-size: 24px;
  line-height: 92%;
  text-align: center;
  color: #000;
  margin-bottom: 24px;
}

.popup-text {
  font-family: var(--third-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #000;
  margin-bottom: 24px;
}

.popup-btn {
  border: 1px solid #000;
  border-radius: 8px;
  padding: 11px;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 1px 3px 0 #87614c;
  display: block;

  font-family: var(--font3);
  font-weight: 400;
  font-size: 16px;
  color: #000;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: #ab94e8;
}

.popup-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media screen and (min-width: 1436px) {
  .popup-title {
    font-size: 36px;
  }

  .popup-text {
    font-size: 24px;
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 24px;
  }

  .popup-wrap {
    flex-direction: row;
    justify-content: center;
  }

  .popup-btn {
    font-size: 16px;
    padding: 18px;
    width: 269px;
  }
}

/* hero  */

.dashboard {
  padding-top: 82px;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
  background-image: url(../img/bg-l.png), url(../img/bg-r.png);
  background-repeat: no-repeat;
  background-position: left, right;
}

.vawe {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  /* max-width: max-content; */
}

.hero-title {
  font-size: 44px;
  text-align: start;
  span {
    padding-left: 40px;
  }
}

.page-hero-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #000;
  max-width: 259px;
  margin-bottom: 16px;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  border-radius: 6px;
  width: 208px;
  max-width: 100%;
  padding: 5px;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
  transition: background-color 0.3s ease;
}

.page-link:hover {
  background-color: #e74465;
}

.girl {
  width: 290px;
  margin-left: auto;
  transform: translateX(20px);
}

@media screen and (min-width: 1436px) {
  .dashboard {
    padding-top: 225px;
    padding-bottom: 280px;
    position: relative;
  }

  .home-container {
    position: relative;
    padding-left: 268px;
  }

  .girl {
    width: auto;
    position: absolute;
    margin: 0;
    transform: translateX(0);
    bottom: 0;
    left: 50%;
    z-index: -1;
  }

  .hero-title {
    font-size: 80px;
    span {
      padding-left: 200px;
    }
  }

  .home-text-wrap {
    margin-left: 150px;
  }
}

/* about  */

#about {
  padding-top: 203px;
  padding-bottom: 203px;
  position: relative;
  overflow: hidden;
  background-image: url(../img/about.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 600px;
}

.about-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #000;
  max-width: 300px;
  padding-left: 50px;
  margin: 0 auto;
}

/* .about-img {
  width: 597px;
  max-width: max-content;
  position: absolute;
  top: 82px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
} */

@media screen and (min-width: 1436px) {
  #about {
    padding-top: 280px;
    padding-bottom: 260px;
    background-size: auto;
  }

  .about-text {
    font-size: 16px;
    max-width: 370px;
  }
}

/* what */

#what {
  background-image: url(../img/round.png), url(../img/egg.png),
    url(../img/bg-l2.png), url(../img/bg-r.png);
  background-position: bottom right, left center, left, right;
  background-repeat: no-repeat;
}

.what-list {
  width: 375px;
  margin: 0 auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 43px;

  li {
    border-radius: 16px;
    padding: 20px;
    width: 225px;
    max-width: 100%;
    background: #d6c8ee;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: #000;
    margin-bottom: 14px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #000;
  }

  .what2 {
    align-self: flex-end;
  }
}

@media screen and (min-width: 1436px) {
  #what {
    background-position: bottom right, left 500px top 300px, left, right;
  }

  .what-list {
    width: 100%;
    flex-wrap: wrap;
    gap: 83px;
    height: 400px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column-reverse;
  }

  .what2 {
    align-self: normal;
  }
  .what-orange {
    transform: translateY(50px);
  }

  .what-red {
    transform: translateY(100px);
  }
}

/* gallery */

.gallery-swiper {
  width: 335px;
  height: 852px;
}

.gallery-item {
  height: 189px;
  transition: all 0.3s ease;
}

.gallery-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto;
  margin-top: 32px;
  background-color: #ab94e8;
  transition: background-color 0.3s ease;
}

.gallery-next:hover {
  background-color: #8572bb;
}

@media screen and (min-width: 1436px) {
  .gallery-next {
    display: none;
  }

  .gallery-swiper {
    width: 100%;
    height: 443px;
  }

  .gallery-wrapper {
    display: flex;
    align-items: center;
  }

  .gallery-item {
    width: 531px;
    height: 299px;
  }

  .swiper-slide-active {
    width: 788px;
    height: 443px;
    img {
      width: 100%;
      height: 100%;
    }
  }
}

/* how */

#how {
  padding-bottom: 80px;
  background-image: url(../img/how/how1.png), url(../img/how/how2.png),
    url(../img/how/how3.png), url(../img/how/how4.png);
  background-repeat: no-repeat;
  background-position: top 80px right, bottom left, top 35% left, top 70% right;
}

.how-list {
  display: flex;
  flex-direction: column;
  gap: 96px;
  align-items: center;

  li {
    width: 287px;
    max-width: 100%;
    display: flex;
    align-items: flex-start;
  }

  div {
    transform: translateY(60px);
  }

  span {
    display: flex;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;

    font-family: var(--second-family);
    font-weight: 400;
    font-size: 50px;
    line-height: 150%;
    flex-shrink: 0;
    color: #000;
    background: #f3cea8;
  }

  h5 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: #000;
    margin-bottom: 12px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #000;
  }
}

@media screen and (min-width: 1436px) {
  #how {
    background-position: left center, right center, top 100px center,
      bottom center;
  }
  .how-list {
    gap: 96px 39px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
  }
}

/* faq */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item {
  width: 100%;
}

.faq-btn {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #ab94e8;

  transition: background-color 0.3s ease, transform 0.4s ease;
}

.faq-btn:hover {
  background-color: #8572bb;
}

.faq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #000;
}

.faq-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 150%;
  color: #000;
}

.faq-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #000;
  margin-top: 16px;
}

@media screen and (min-width: 1436px) {
  .faq-list {
    width: 772px;
    margin: 0 auto;
  }
}

/* footer */

.footer {
  padding: 25px 0;
  background: #d6c8ee;
}

.footer-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #000;
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0.01em;
  color: #000;
  text-align: center;
  margin-top: 24px;
}

@media screen and (min-width: 1436px) {
  .footer-list {
    flex-direction: row;
    gap: 19px;
    justify-content: center;
    font-size: 18px;
  }

  .footer-text {
    font-size: 20px;
  }
}

/* loader */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff99;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.click {
  transform: rotate(180deg);
}

.popup-click {
  transform: translateY(100%);
}

.overflow {
  overflow: hidden;
}
