/* header */

.nav-mgq {
  display: none;
}

.header-mgq {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
  width: 100%;
}

.header-container-mgq {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  width: 100%;
  position: relative;
  width: 375px;
  border-radius: 18px;
  background: linear-gradient(90deg, #b497f3 0%, #e5bbfb 46.63%, #c0b7f6 100%);
}

.header-logo-mgq {
  width: 155px;
  height: 32px;
}

.menu-btn-mgq {
  display: flex;
  justify-content: center;
  align-items: center;

  border: 2px solid #1c296a;
  border-radius: 16px;
  width: 48px;
  height: 48px;
  transition: all 0.3s ease;
}

.menu-btn-mgq:hover {
  transform: scale(1.1);
}

.menu-svg-mgq {
  width: 16px;
  height: 12px;
  stroke: #1c296a;
}

.nav-list-mgq {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-item-mgq {
  position: relative;
  transition: all 0.3s ease-in-out;
}

.nav-link-mgq {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.02em;
  text-align: justify;
  color: #1c296a;
  transition: all 0.3s ease-in-out;
}

.nav-item-mgq::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: #1c296a;

  transition: all 0.3s ease-in-out;
}

.item-active-mgq::after {
  width: 100%;
}

.link-active-mgq {
  font-weight: 500;
}

.nav-link-mgq:hover {
  font-weight: 500;
}

.header-btn-wrap-mgq {
  display: none;
}

@media screen and (min-width: 1440px) {
  .header-container-mgq {
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    padding: 15px 40px;
    width: 1440px;
    height: 80px;
  }

  .header-logo-mgq {
    width: 235px;
    height: 49px;
    margin-right: 70px;
  }

  .nav-mgq {
    display: block;
    margin-right: 30px;
  }

  .menu-btn-mgq {
    display: none;
  }

  .header-btn-wrap-mgq {
    display: block;
    padding-top: 5px;
  }

  .header-btn-link-mgq {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #39429b;
    border-radius: 16px;
    width: 125px;
    height: 44px;
    background: #fff;

    font-size: 24px;
    letter-spacing: -0.02em;
    text-align: justify;
    color: #1c296a;
    text-shadow: 1px 1px 0 #e5bbfb, -1px 1px 0 #e5bbfb, 1px -1px 0 #e5bbfb,
      -1px -1px 0 #e5bbfb, 0 1px 0 #e5bbfb, 0 -1px 0 #e5bbfb, 1px 0 0 #e5bbfb,
      -1px 0 0 #e5bbfb;
    transition: all 0.3s ease-in-out;
  }

  .header-btn-link-mgq:hover {
    transform: scale(1.1);
  }
}

/* modal  */

.modal-mgq {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-97px);
  z-index: 10;

  padding: 96px 16px 88px;
  width: 284px;
  height: 812px;
  background: #1c296a;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-close-mgq {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;

  svg {
    stroke: #fcfaff;
    width: 22px;
    height: 22px;
  }
}

.menu-nav-list-mgq {
  flex-direction: column;
  gap: 24px;
}

.menu-nav-link-mgq {
  font-size: 20px;
  line-height: 120%;
  border: 1px solid #a66bfe;
  border-radius: 12px;
  width: 252px;
  height: 42px;
  background: #fcfaff;

  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-links-list-mgq {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;

  li {
    a {
      background: #d8d7ff;
      border: 1px solid #a66bfe;
      border-radius: 12px;
      width: 252px;
      height: 42px;
      font-size: 20px;
      line-height: 80%;
      color: #1c296a;

      display: flex;
      align-items: center;
      justify-content: center;

      transition: all 0.3s ease-in-out;
    }
  }
}

.modal-link-mgq:hover,
.menu-nav-link-mgq:hover {
  transform: scale(1.1);
}

/* popup */

.popup-mgq {
  position: fixed;
  z-index: 11;
  bottom: 164px;
  left: 50%;
  transform: translateX(-50%);
  padding: 32px 64px 32px 24px;
  border-radius: 16px;
  width: 275px;
  height: 374px;
  border-top: 2px solid #7fd0cc;
  background: #d8d7ff;
  display: none;
  flex-direction: column;
  gap: 24px;
}

.popup-close-btn-mgq {
  position: absolute;
  top: 32px;
  right: 16px;
  width: 32px;
  height: 32px;
  transition: all 0.3s ease;

  svg {
    width: 14px;
    height: 14px;
    stroke: #1c296a;
  }
}

.popup-title-mgq {
  font-weight: 900;
  font-size: 20px;
  line-height: 150%;
  color: #1c296a;
}

.popup-text-mgq {
  font-weight: 300;
  line-height: 150%;
  color: #1c296a;
}

.popup-btn-wrap-mgq {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.popup-btn-mgq {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1c296a;
  width: 91px;
  height: 48px;
  line-height: 150%;
  font-weight: 400;
  font-size: 16px;

  transition: all 0.3s ease;
}

.popup-btn-accept-mgq {
  color: #fff;
  background: #1c296a;
}

.popup-btn-decline-mgq {
  color: #1c296a;
}

.popup-btn-mgq:hover {
  transform: scale(1.1);
}

.popup-close-btn-mgq:hover {
  transform: scale(1.5);
}

@media screen and (min-width: 1440px) {
  .popup-mgq {
    bottom: 0;
    transform: translateX(-40px);
    padding: 32px 64px 32px 24px;
    border: 1px solid #1c296a;
    padding: 32px 80px 32px 48px;
    width: 741px;
    height: 256px;
    display: none;
  }

  .popup-close-btn-mgq {
    right: 32px;
  }

  .popup-title-mgq {
    font-size: 24px;
  }

  .popup-text-mgq {
    font-size: 20px;
  }

  .popup-btn-wrap-mgq {
    flex-direction: row;
  }
}

/* hero  */

#home {
  background: rgba(198, 202, 217, 0.05);
}

.hero-container-mgq {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 104px;
}

.hero-title-mgq {
  font-weight: 400;
  font-size: 40px;
  letter-spacing: -0.02em;
  text-align: center;
  color: #e5bbfb;
  text-shadow: 2px 2px 0 #c58df9, -2px 2px 0 #c58df9, 2px -2px 0 #c58df9,
    -2px -2px 0 #c58df9, 0 2px 0 #c58df9, 0 -2px 0 #c58df9, 2px 0 0 #c58df9,
    -2px 0 0 #c58df9;

  span {
    color: #fcfaff;
  }
}

.hero-pic-mgq {
  background: url(/images/hero-pic.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 164px;
  height: 138px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.hero-text-wrap-mgq {
  display: flex;
  flex-direction: column;

  h3 {
    font-weight: 400;
    font-size: 20px;
    letter-spacing: -0.02em;
    text-align: center;
    color: #c58df9;
    margin-bottom: 8px;
  }
}

.hero-text-mgq {
  font-weight: 300;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-align: center;
  color: #d8d7ff;
}

.hero-text-first-mgq {
  margin-bottom: 16px;
}

.hero-title-lower-mgq {
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.02em;
  text-align: center;
  color: #c58df9;
  text-shadow: 2px 2px 0 #f2d1fe, -2px 2px 0 #f2d1fe, 2px -2px 0 #f2d1fe,
    -2px -2px 0 #f2d1fe, 0 2px 0 #f2d1fe, 0 -2px 0 #f2d1fe, 2px 0 0 #f2d1fe,
    -2px 0 0 #f2d1fe;
  width: 240px;
  margin-top: 8px;
}

.hero-link-mgq {
  border: 2px solid #39429b;
  border-radius: 16px;
  width: 200px;
  height: 44px;
  background: #fff;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.02em;
  text-align: justify;
  color: #1c296a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.hero-link-mgq:hover {
  transform: scale(1.1);
}

@media screen and (min-width: 1440px) {
  .hero-container-mgq {
    padding-top: 160px;
  }

  .hero-title-mgq {
    font-size: 96px;
    margin-bottom: 80px;
  }

  .hero-pic-mgq {
    width: 692px;
    height: 582px;
    margin: 0;
    position: absolute;
    right: 0;
    bottom: 108px;
  }

  .hero-text-wrap-mgq {
    padding-right: 652px;

    h3 {
      font-size: 36px;
      margin-bottom: 32px;
      text-align: justify;
    }
  }

  .hero-text-mgq {
    font-size: 36px;
    text-align: justify;
  }

  .hero-text-first-mgq {
    margin-bottom: 24px;
  }

  .hero-title-lower-mgq {
    font-size: 54px;
    width: 100%;
    margin-top: 25px;
  }

  .hero-link-mgq {
    display: none;
  }
}

/* overview  */

.overview-subtitle-mgq {
  margin-bottom: 24px;
}

.overview-text-wrap-mgq {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.overview-text-mgq {
  font-weight: 300;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-align: justify;

  span {
    font-weight: 400;
  }
}

.overview-pic-mgq {
  background: url(/images/overview-pic-mob.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 335px;
  height: 191px;
}

@media screen and (min-width: 1440px) {
  .overview-text-wrap-mgq {
    width: 1341px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 24px;
  }

  .overview-text-mgq {
    font-size: 36px;
  }

  .overview-pic-mgq {
    background: url(/images/overview-pic-desk.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 1359px;
    height: 360px;
  }
}

/* system */

#system {
  background: rgba(198, 202, 217, 0.05);
}

.system-pic-mgq {
  background: url(/images/system-pics.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 287px;
  height: 200px;
}

.system-text-wrap-mgq {
  margin-top: 16px;
  margin-bottom: 16px;
}

.system-subtitle-mgq {
  margin-bottom: 8px;
}

.system-text-mgq {
  font-weight: 300;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.system-polygon-mgq {
  background: url(/images/system-polygon-mob.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 335px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.system-polygon-text-mgq {
  font-size: 20px;
  letter-spacing: -0.02em;
  text-align: center;
  color: #1c296a;
  width: 228px;
}

@media screen and (min-width: 1440px) {
  .system-container-mgq {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .system-title-mgq {
    width: 100%;
  }

  .system-pic-mgq {
    position: absolute;
    top: 144px;
    left: 39px;
    width: 567px;
    height: 396px;
  }

  .system-text-wrap-mgq {
    padding-left: 669px;
    margin-top: 0;
    margin-bottom: 32px;
  }

  .system-subtitle-mgq {
    margin-bottom: 24px;
  }

  .system-text-mgq {
    font-size: 36px;
  }

  .system-polygon-mgq {
    background: url(/images/system-polygon-desk.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 1218px;
    height: 115px;
  }

  .system-polygon-text-mgq {
    font-size: 36px;
    width: 1031px;
  }
}

/* design */

.design-subtitle-mgq {
  margin-bottom: 8px;
}

.design-text-mgq {
  font-weight: 300;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.design-item-mgq {
  height: 596px;
  display: flex;
  flex-direction: column;
  gap: 16px;

  img {
    border-radius: 10px;
    width: 334px;
    height: 456px;
  }

  p {
    font-weight: 300;
    font-size: 24px;
    line-height: 100%;
  }
}

@media screen and (min-width: 1440px) {
  .design-container-mgq {
    padding-left: 24px;
    padding-right: 24px;
  }

  .design-subtitle-mgq {
    margin-bottom: 11px;
  }

  .design-text-mgq {
    font-size: 36px;
    margin-bottom: 24px;
  }

  .design-wrapper-mgq {
    display: flex;
    gap: 16px;
  }

  .design-item-mgq {
    width: 334px;
  }
}

/* story */

.story-text-wrap-mgq {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.story-subtitle-mgq {
  margin-bottom: 8px;
}

.story-text-mgq {
  font-weight: 300;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-align: justify;
}

.story-text-first-mgq {
  margin-bottom: 24px;
}

.story-pic-mgq {
  background: url(/images/story-pic.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
  width: 335px;
  height: 262px;
}

@media screen and (min-width: 1440px) {
  .story-text-wrap-mgq {
    margin-bottom: 0;
    width: 671px;
  }

  .story-subtitle-mgq {
    margin-bottom: 24px;
  }

  .story-text-mgq {
    font-size: 36px;
  }

  .story-text-first-mgq {
    margin-bottom: 32px;
  }

  .story-pic-mgq {
    position: absolute;
    bottom: 40px;
    right: 36px;
    width: 672px;
    height: 536px;
  }
}

/* features */

#features {
  background: #39429b;
}

.features-subtitle-mgq {
  margin-bottom: 8px;
}

.features-text-mgq {
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-align: justify;
  margin-bottom: 24px;
}

.features-text-list-mgq {
  display: flex;
  flex-direction: column;
  padding-left: 24px;
  list-style-type: disc;
  position: relative;
  z-index: 3;
  margin-bottom: 16px;
}

.features-text-item-mgq {
  p {
    font-weight: 300;
    font-size: 20px;
    letter-spacing: -0.02em;
    text-align: justify;
  }
}

.features-ellipse-mgq {
  fill: #39429b;
  width: 400px;
  height: 90px;
  position: absolute;
  top: 343px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.features-item-mgq {
  width: 180px;
  height: 269px;

  img {
    width: 100%;
    height: 100%;
  }
}

@media screen and (min-width: 1440px) {
  .features-subtitle-mgq {
    margin-bottom: 24px;
  }

  .features-text-mgq {
    font-size: 36px;
    margin-bottom: 32px;
  }

  .features-text-list-mgq {
    margin-bottom: 0;
    padding-bottom: 453px;
  }

  .features-text-item-mgq {
    p {
      font-size: 36px;
    }
  }

  .features-ellipse-mgq {
    width: 1708px;
    height: 212px;
    top: 332px;
  }

  .features-swiper-mgq {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
  }

  .features-wrapper-mgq {
    display: flex;
    gap: 19px;
  }

  .features-item-mgq {
    width: 386px;
    height: 427px;
  }
}

/* about */

.about-subtitle-mgq {
  margin-bottom: 8px;
}

.about-text-mgq {
  font-weight: 300;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-align: justify;
}

.about-text-first-mgq {
  margin-bottom: 24px;

  span {
    font-weight: 300;
  }
}

.about-pic-mgq {
  background: url(/images/about-pic.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

@media screen and (min-width: 1440px) {
  .about-subtitle-mgq {
    margin-bottom: 24px;
  }

  .about-text-mgq {
    font-size: 36px;
  }

  .about-text-first-mgq {
    margin-bottom: 36px;
  }
}

/* footer */

#footer {
  background: #1a2867;
}

.footer-container-mgq {
  padding: 24px 20px;
}

.footer-logo-mgq {
  width: 155px;
  height: 32px;
  margin-bottom: 16px;
}

.footer-links-wrap-mgq {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links-list-mgq {
  display: flex;
  align-items: center;
  gap: 35px;
}

.footer-links-item-mgq {
  a {
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
  }
}

.footer-links-text-mgq {
  font-weight: 300;
  font-size: 20px;
  line-height: 150%;
  color: #e8225f;
}

.footer-author-list-mgq {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 52px;
}

.footer-author-item-mgq:nth-child(1) {
  p {
    line-height: 150%;
  }
}

.footer-author-item-mgq:nth-child(2) {
  a {
    line-height: 150%;
  }
}

.footer-author-item-mgq:nth-child(3) {
  p {
    font-weight: 300;
    line-height: 150%;
  }
}

.footer-text-mgq {
  font-weight: 300;
  font-size: 12px;
  line-height: 150%;
  width: 100%;
  text-align: center;
  position: relative;
  margin-top: 25px;
}

.footer-text-mgq:before {
  position: absolute;
  left: 0;
  top: -8px;
  content: "";
  background: #fcfaff;
  height: 1px;
  width: 100%;
}

@media screen and (min-width: 1440px) {
  .footer-container-mgq {
    padding: 40px 64px;
  }

  .footer-logo-mgq {
    width: 235px;
    height: 49px;
    margin-bottom: 40px;
  }

  .footer-links-wrap-mgq {
    margin-bottom: 0;
    gap: 11px;
    width: 365px;
    position: absolute;
    top: 89px;
    right: 180px;
  }

  .footer-links-list-mgq {
    gap: 24px;
  }

  .footer-links-item-mgq {
    a {
      font-size: 24px;
    }
  }

  .footer-author-list-mgq {
    flex-direction: column;
    gap: 24px;
  }

  .footer-author-item-mgq:nth-child(1) {
    p {
      font-size: 20px;
    }
  }

  .footer-author-item-mgq:nth-child(2) {
    a {
      font-size: 20px;
    }
  }

  .footer-author-item-mgq:nth-child(3) {
    p {
      font-size: 20px;
    }
  }

  .footer-text-mgq {
    font-size: 14px;
    margin-top: 57px;
  }

  .footer-text-mgq:before {
    top: -32px;
  }
}

/* ********************* */

.hidden-mgq {
  display: none;
}

.click-mgq {
  transform: rotate(90deg);
}
