.main-section {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
  width: 100%;
  padding: 16px;
  background: #41afc6;
}

.page-nav {
  display: none;
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  color: #265560;
  transition: color 0.3s ease;
}

.page-nav-link:hover {
  color: #fff;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.menu-open-svg {
  stroke: #e5474a;
}

.menu-close-svg {
  stroke: #e5474a;
}

@media screen and (min-width: 1438px) {
  .main-section {
    padding: 38px;
  }

  .page-nav {
    display: block;
  }

  .menu-btn {
    display: none;
  }
}

/* modal  */

.menu {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  z-index: 8;
  width: 100%;
  padding: 50px;

  padding-top: 100px;
  transform: translateX(100%);
  transition: transform 1s ease;
  background: #41afc6;
}

.menu-nav-list {
  flex-direction: column;
  gap: 36px;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  width: 96%;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.4s ease;
  padding: 40px;
  background: #4497a9;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 125%;
  text-align: center;
  color: #fff;
  margin-bottom: 18px;
}

.popup-btn {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  text-align: center;
  color: #e59347;
  text-decoration: underline;
  text-transform: uppercase;

  border-radius: 5px;
  padding: 9px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #8fa73a;
  color: #fff;
}

.popup-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
}

@media screen and (min-width: 1438px) {
  .page-popup {
    padding: 40px;
  }

  .popup-text {
    margin-bottom: 24px;
  }

  .popup-wrap {
    gap: 80px;
  }

  .popup-btn {
    font-size: 16px;
  }
}

/* hero  */

.dashboard {
  padding-top: 148px;
  padding-bottom: 246px;
  background-image: url(../img/home.jpg);
  background-size: cover;
  background-position: center;
}

.hero-title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 46px;
  text-align: center;
  color: #e5474a;
  margin-bottom: 10px;
}

.hero-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  color: #265560;
  margin-bottom: 157px;
}

.hero-link {
  display: block;
  margin: 0 auto;
  width: 280px;
  max-width: 100%;
  transition: transform 0.3s ease;
}

.hero-link:hover {
  transform: scale(0.95);
}

@media screen and (min-width: 1438px) {
  .dashboard {
    padding-top: 148px;
    padding-bottom: 206px;
  }

  .hero-wrapper {
    max-width: 759px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 78px;
    margin-bottom: 29px;
  }

  .hero-text {
    font-size: 24px;
    margin-bottom: 246px;
  }
}

/* about */

.about-swiper {
  margin-top: 51px;
}

.about-list {
  display: none;
}

.coins {
  display: none;
}

.about-item {
  width: 263px;

  p {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 20px;
    color: #0f2227;
    margin-top: 16px;
    margin-bottom: 10px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 122%;
    color: #265560;
  }
}

@media screen and (min-width: 1438px) {
  #about {
    display: flex;
    gap: 187px;
    align-items: flex-start;
  }
  .about-swiper {
    display: none;
  }

  .about-list {
    display: flex;
    gap: 63px 51px;
    flex-wrap: wrap;
  }

  .coins {
    display: block;
    margin-top: 89px;
  }

  .about-item {
    width: calc((100% - 51px) / 2);
  }
}

/* features */

.features-item {
  p {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 18px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 24px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #fff;
  }
}

.btn-wrap {
  display: flex;
  justify-content: center;
  gap: 44px;
  margin-top: 21px;
}

.book {
  width: 180px;
  margin: 0 auto;
  margin-top: 21px;
}

@media screen and (min-width: 1438px) {
  #features {
    display: flex;
    align-items: center;
    gap: 258px;
  }

  .features-left {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .features-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .features-section-wrapper {
    padding: 0 50px;
    max-width: 40%;
    position: relative;
  }

  .features-swiper {
    margin-top: 22px;
  }

  .book {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }
}

/* how */

.how-item {
  width: 263px;

  p {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 20px;
    color: #0f2227;
    margin-top: 24px;
    margin-bottom: 12px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 122%;
    color: #fff;
  }
}

@media screen and (min-width: 1438px) {
  .how-item {
    width: 303px;
  }
}

/* levels */

.levels-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;

  li {
    width: 285px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 18px;
    line-height: 122%;
    text-transform: uppercase;
    color: #e5474a;
    margin-bottom: 11px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 122%;
    color: #265560;
    margin-bottom: 21px;
  }
}

@media screen and (min-width: 1438px) {
  #levels {
    padding-bottom: 111px;
  }
  .levels-list {
    flex-direction: row;
    align-items: flex-start;

    li {
      width: calc((100% - 102px) / 4);
    }
  }

  .item1 {
    transform: translateY(57px);
  }
}

/* reviews */

#reviews {
  padding-left: 0;
  padding-right: 0;
}
.reviews-title-wrap {
  padding: 0 16px;
}

.reviews-item {
  border-radius: 50px;
  padding: 52px 47px;
  width: 375px;
  max-width: 100%;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  background: rgba(68, 151, 169, 0.5);
  position: relative;

  img {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateY(-50%) translateX(-50%);
  }

  p {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 122%;
    text-align: center;
    color: #fff;
    margin-bottom: 26px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 122%;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 1438px) {
  .reviews-title-wrap {
    padding: 0 100px;
  }

  .reviews-item {
    width: 470px;
  }
}

/* contact */

.soc-link {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 92%;
  color: #fff;

  a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 122%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #fff;
  }
}

@media screen and (min-width: 1438px) {
  .soc-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 32px;
  }
}

/* faq */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  width: 100%;
  padding: 32px 16px;
  background: #fff;

  span {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 32px;
    line-height: 120%;
    color: rgba(68, 151, 169, 0.5);
    display: block;
    margin-bottom: 10px;
  }
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #265560;
  flex-shrink: 0;
  transform: rotate(45deg);
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.4s ease;

  svg {
    stroke: #fff;
  }
}

.faq-btn:hover {
  opacity: 1;
}

.faq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 120%;
  color: #e5474a;
}

.faq-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 120%;
  color: #265560;
  margin-top: 16px;
}

@media screen and (min-width: 1438px) {
  .faq-item {
    padding: 55px;
    padding-left: 150px;
    position: relative;

    span {
      position: absolute;
      top: 52px;
      left: 52px;
    }
  }

  .faq-title {
  }
}

/* footer */

.footer {
  padding: 60px 10px;
  padding-top: 0;
}

.footer-list {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-link {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  color: #e5474a;
  text-shadow: 0 4px 0 #265560;
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 122%;
  text-align: center;
  color: #265560;
}

@media screen and (min-width: 1439px) {
  .footer-list {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 44px;
  }

  .footer-link {
    font-size: 36px;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.click {
  transform: rotate(180deg);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
