.main-section {
  position: fixed;
  z-index: 9;
  width: 100%;
  padding: 16px;
  background: #111;
}

.header-logo {
  display: none;
}

.page-nav {
  display: none;
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
}

.page-nav-link {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 187%;
  color: #fff;
  transition: color 0.3s ease;
}

.page-nav-link:hover {
  color: #c2fe2a;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.menu-open-svg {
  stroke: #fff;
}

.menu-close-svg {
  stroke: #fff;
}

@media screen and (min-width: 1438px) {
  .header-logo {
    display: block;
    font-family: var(--font-family);
    font-style: italic;
    font-weight: 900;
    font-size: 22px;
    line-height: 136%;
    color: #fff;
    transition: color 0.3s ease;
  }

  .header-logo:hover {
    color: #c2fe2a;
  }

  .main-section {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 240px);
    padding: 30px 50px;
    border-radius: 100px;

    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .page-nav {
    display: block;
  }

  .menu-btn {
    display: none;
  }
}

/* modal  */

.menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  padding: 40px 20px;
  padding-top: 100px;
  transform: translateX(100%);
  transition: transform 1s ease;
  backdrop-filter: blur(22px);
  background: rgba(17, 17, 17, 0.9);
}

.menu-nav-list {
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  width: 96%;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.4s ease;
  padding: 32px;
  border: 1px solid #c2fe2a;
  border-radius: 20px;
  box-shadow: 0 14px 42px 0 rgba(8, 15, 52, 0.06);
  background: #fff;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 187%;
  color: #0d001c;
  margin-bottom: 37px;

  a:hover {
    text-decoration: underline;
  }
}

.popup-btn {
  border: 1px solid #c2fe2a;
  border-radius: 56px;
  padding: 18px 26px;
  box-shadow: 0 4px 8px 0 rgba(74, 58, 255, 0.08);
  background: #fff;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 112%;
  color: #0d001c;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: #c2fe2a;
}

.popup-wrap {
  display: flex;
  gap: 16px;
}

@media screen and (min-width: 1438px) {
  .page-popup {
    padding: 52px 148px;
    display: flex;
    align-items: center;
    gap: 180px;
  }

  .popup-text {
    font-size: 18px;
    margin: 0;
    text-align: start;
  }

  .popup-wrap {
    flex-shrink: 0;
    gap: 24px;
  }
}

/* hero  */

.dashboard {
  padding-top: 100px;
  border-radius: 0 0 80px 80px;
  padding-bottom: 0;
  background-color: #fff;
  overflow: hidden;
  background-image: url(../img/home.png);
  background-size: cover;
}

.hero-title {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 26px;
  line-height: 123%;
  text-transform: uppercase;
  text-align: center;
  color: #111;
  margin-bottom: 12px;
}

.page-hero-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 122%;
  text-align: center;
  color: #111;
  margin-bottom: 40px;
}

.hero-link {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 22px;
  line-height: 136%;
  color: #111;

  display: block;
  width: 237px;
  text-align: center;
  margin: 0 auto;
  border: 2px solid #000;
  border-radius: 32px;
  padding: 22px;
  background: #c2fe2a;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}

.hero-link:hover {
  background: #8dba1d;
  color: #fff;
  border-color: #fff;
}

.home-img {
  margin: 0 auto;
}

@media screen and (min-width: 1438px) {
  .dashboard {
    padding-top: 140px;
    padding-bottom: 287px;
    position: relative;
  }

  .home-img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
  }

  .hero-title {
    font-size: 52px;
    max-width: 756px;
    margin: 0 auto;
    margin-bottom: 133px;
  }

  .hero-wrapper {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 400px;
  }

  .page-hero-text {
    font-size: 22px;
    margin: 0;
    position: relative;
    z-index: 2;
    max-width: 400px;
    transform: translateX(100px);
  }

  .hero-link {
    margin: 0;
    position: relative;
    z-index: 2;
    transform: translateX(100px);
  }
}

/* about  */

.about-img {
  margin: 0 auto;
  margin-bottom: 40px;
}

@media screen and (min-width: 1438px) {
  #about {
    display: flex;
    gap: 60px;

    .title {
      text-align: start;
    }
  }

  .about-img {
    margin: 0;
  }
}

/* smart */

.smart-title {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 26px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}

.smart-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 40px;
  align-items: center;

  li {
    border: 1px solid #fff;
    border-radius: 32px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.4);
    width: 491px;
    max-width: 100%;

    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 144%;
    color: #fff;
  }
}

.smart-img {
  margin: 0 auto;
  margin-top: 40px;
}

@media screen and (min-width: 1438px) {
  #smart {
    display: flex;
    gap: 30px;

    .title {
      text-align: start;
    }
  }

  .smart-img {
    margin: 0;
    flex-shrink: 0;
  }

  .smart-link {
    transform: translateX(0);
    margin: 0 auto;
  }
}

/* screen  */

.screen-list {
  li {
    background: rgba(194, 254, 42, 0.2);
    width: 514px;
  }
}

@media screen and (min-width: 1438px) {
  .screen-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
  }
}

/* learn */

.learn-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 40px;

  li {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 144%;
    color: #fff;
  }
}

@media screen and (min-width: 1438px) {
  .learn-list {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }

  .learn-text {
    max-width: 687px;
    margin: 0 auto;
    margin-bottom: 40px;
  }
}

/* win */

.win-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 40px;

  li {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 144%;
    color: #fff;
  }
}

@media screen and (min-width: 1438px) {
  .win-text {
    max-width: 702px;
    margin: 0 auto;
    margin-bottom: 50px;
  }
  .win-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 44px;
  }

  .win-list {
    margin: 0;
  }

  .win-link {
    margin: 0;
  }
}

/* build */

#build {
  padding-bottom: 0;
}

.build-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  list-style: disc;
  padding-left: 22px;

  li {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 144%;
    color: #fff;
  }
}

.girl {
  margin: 0 auto;
}

@media screen and (min-width: 1438px) {
  .girl {
    margin: 0;
    flex-shrink: 0;
  }

  #build {
    display: flex;
    align-items: center;
    justify-content: center;

    .title {
      text-align: start;
    }
  }

  .build-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
  }
}

/* recommendations */

.recommendations-img {
  margin: 0 auto;
  margin-bottom: 40px;
}

@media screen and (min-width: 1438px) {
  .recommendations-wrap {
    display: flex;
    align-items: center;
    gap: 70px;
    margin-bottom: 40px;
  }

  .recommendations-img {
    margin: 0;
    flex-shrink: 0;
  }

  .recommendations-list {
    flex-direction: row;
    justify-content: center;

    li {
      max-width: 100%;
      width: auto;
    }
  }
}

/* community */

.community-img {
  margin: 0 auto;
  margin-bottom: 40px;
}

.community-wrap {
  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 144%;
    color: #fff;
    margin-bottom: 22px;
  }

  ul {
    padding-left: 20px;
    list-style: disc;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 144%;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}

@media screen and (min-width: 1438px) {
  .community-text {
    max-width: 670px;
    margin: 0 auto;
    margin-bottom: 40px;
  }

  .community-wrap {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .community-img {
    margin: 0;
    flex-shrink: 0;
  }
}

/* reviews */

#reviews {
  padding-left: 0;
  padding-right: 0;
}

.reviews-wrapper {
  padding-top: 45px;
}

.reviews-item {
  border: 2px solid #c2fe2a;
  border-radius: 32px;
  padding: 54px 18px 18px 18px;
  width: 335px;
  max-width: 100%;
  min-height: 308px;
  background: #fff;
  position: relative;

  img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
  }

  p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 144%;
    text-align: center;
    color: #000;
    margin-bottom: 12px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 157%;
    text-align: center;
    color: #000;
  }
}

@media screen and (min-width: 1438px) {
  .reviews-item {
    width: 480px;
    min-height: 242px;
  }
}

/* loop */

.form {
  display: flex;
  flex-direction: column;
  width: 340px;
  max-width: 100%;
  margin: 0 auto;
  gap: 12px;

  input {
    padding: 18px;
    background: none;
    border: none;
    outline: none;
    border-bottom: 1px solid #fff;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 144%;
    color: #fff;
  }
}

.btn {
  margin-top: 32px;
}

@media screen and (min-width: 1438px) {
  .loop-text {
    max-width: 670px;
    margin: 0 auto;
    margin-bottom: 60px;
    text-align: center;
  }
}

/* contact */

#contact {
  padding-bottom: 0;
}

.contact-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;

  a:hover {
    text-decoration: underline;
  }
}

.man {
  margin: 0 auto;
}

@media screen and (min-width: 1438px) {
  #contact {
    display: flex;
    align-items: center;
  }

  .man {
    margin: 0;
    flex-shrink: 0;
  }

  .social-list {
    margin: 0;
    flex-direction: row;
    justify-content: center;
    gap: 22px;
  }
}

/* footer */

.footer {
  padding: 20px;
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  text-transform: lowercase;
  color: #fff;
  text-align: center;
  margin-bottom: 32px;
}

.footer-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  margin-bottom: 12px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  align-items: center;

  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

@media screen and (min-width: 1438px) {
  .footer {
    padding: 34px 140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-text {
    margin: 0;
  }

  .footer-list {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.click {
  transform: rotate(180deg);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
