/* header */

.nav-eqs {
  display: none;
}

.header-eqs {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
  width: 100%;
  background: var(--white);
}

.header-container-eqs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  width: 100%;
  position: relative;
  height: 80px;
  width: 375px;
}

.header-logo-eqs {
  width: 68px;
  height: 32px;
}

.menu-btn-eqs {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 64px;
  height: 64px;
  transition: all 0.3s ease;
}

.menu-btn-eqs:hover {
  transform: scale(1.1);
}

.menu-svg-eqs {
  width: 26px;
  height: 18px;
  stroke: var(--black);
}

.nav-list-eqs {
  display: flex;
  align-items: center;
  gap: 23px;
}

.nav-item-eqs {
  position: relative;
  transition: all 0.3s ease-in-out;
}

.nav-link-eqs {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  line-height: 150%;
  transition: all 0.3s ease-in-out;
}

.nav-item-eqs::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: all 0.3s ease-in-out;
}

.item-active-eqs::after {
  width: 100%;
}

.link-active-eqs {
  font-weight: 500;
}

.nav-link-eqs:hover {
  font-weight: 500;
}

@media screen and (min-width: 1440px) {
  .header-container-eqs {
    margin: 0 auto;
    padding: 24px 160px;
    height: 80px;
    width: 1440px;
  }

  .nav-eqs {
    display: block;
  }

  .menu-btn-eqs {
    display: none;
  }
}

/* modal  */

.modal-eqs {
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;

  padding: 16px;
  border: 1px solid var(--d-gray);
  border-radius: 16px;
  background: var(--white);
  width: 343px;
}

.menu-nav-list-eqs {
  flex-direction: column;
  gap: 0;
}

.menu-nav-link-eqs {
  font-weight: 700;
  font-size: 24px;
  line-height: 130%;

  width: 343px;
  height: 56px;
}

.menu-close-eqs {
  border-radius: 32px;
  border: 1px solid var(--d-gray);
  background: var(--white);

  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
}

.menu-svg-close-eqs {
  width: 23px;
  height: 22px;
}

.menu-close-eqs:hover {
  transform: translateX(-50%);
}

/* popup */

.popup-eqs {
  position: fixed;
  z-index: 11;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 32px;
  padding: 32px;
  width: 343px;
  border: 1px solid var(--d-gray);
  background: var(--white);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.popup-text-eqs {
  font-family: var(--third-family);
  font-size: 18px;
  line-height: 150%;
  text-align: center;
}

.popup-btn-wrap-eqs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 16px;
}

.popup-btn-eqs {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  width: 256px;
  height: 55px;

  font-family: var(--second-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;

  transition: all 0.3s ease;
}

.popup-btn-accept-eqs {
  background: var(--l-green);
}

.popup-btn-decline-eqs {
  border: 1px solid var(--d-gray);
  color: var(--d-gray);
}

.popup-btn-accept-eqs:hover {
  background: var(--black);
  color: var(--l-green);
}

.popup-btn-decline-eqs:hover {
  border: 1px solid var(--black);
  color: var(--black);
}

@media screen and (min-width: 1440px) {
  .popup-eqs {
    width: 1262px;
    flex-direction: row;
    gap: 32px;
  }

  .popup-text-eqs {
    font-family: var(--second-family);
    text-align: left;
  }

  .popup-btn-wrap-eqs {
    flex-direction: row;
    width: fit-content;
    gap: 32px;
  }
}

/* hero  */

.hero-container-eqs {
  padding: 97px 16px 32px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-title-eqs {
  font-weight: 800;
  font-size: 56px;
  line-height: 120%;
}

.hero-text-eqs {
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  color: var(--d-gray);
}

.hero-pic-eqs {
  background: url(/images/hero-pic.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  border-radius: 16px;
  width: 343px;
  height: 238px;
}

@media screen and (min-width: 1440px) {
  .hero-container-eqs {
    padding: 120px 640px 80px 160px;
    align-items: start;
    gap: 40px;
  }

  .hero-title-eqs {
    font-size: 72px;
  }

  .hero-text-eqs {
    font-size: 20px;
  }

  .hero-pic-eqs {
    width: 448px;
    height: 358px;

    position: absolute;
    top: 120px;
    right: 160px;
  }
}

/* how */

.how-list-eqs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}

.how-item-eqs {
  padding: 0 4px 16px;
  position: relative;

  div {
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;

    h3 {
      font-weight: 700;
      font-size: 24px;
      line-height: 130%;
    }

    p {
      line-height: 150%;
    }

    span {
      font-size: 11px;
      line-height: 150%;
    }
  }

  svg {
    position: absolute;
  }

  .icon-how-arrow-left {
    display: none;
  }

  .icon-how-arrow-down {
    width: 311px;
    height: 14px;
    bottom: 0;
    right: 20px;
  }
}

.how-item-eqs:nth-child(1) {
  div {
    background: #dbd2ff;
  }

  svg {
    fill: #dbd2ff;
  }
}

.how-item-eqs:nth-child(2) {
  div {
    background: #fbd1fe;
  }

  svg {
    fill: #fbd1fe;
  }
}

.how-item-eqs:nth-child(3) {
  div {
    background: #ffc5de;
  }

  svg {
    fill: #ffc5de;
  }
}

.how-item-eqs:nth-child(4) {
  div {
    background: #ffd7d7;
  }

  svg {
    fill: #ffd7d7;
  }
}

.how-item-eqs:nth-child(5) {
  padding: 0;

  div {
    background: #ffe4c9;
  }

  svg {
    fill: #ffe4c9;
  }
}

@media screen and (min-width: 1440px) {
  .how-list-eqs {
    display: flex;
    flex-direction: row;
    gap: 4px;
    margin-bottom: 40px;
  }

  .how-item-eqs {
    padding: 0 16px 0 0;

    div {
      h3 {
        font-size: 28px;
      }

      p {
        font-size: 18px;
      }

      span {
        font-size: 12px;
      }
    }

    .icon-how-arrow-left {
      display: block;
      width: 14px;
      height: 99px;
      bottom: 16px;
      right: 0;
    }

    .icon-how-arrow-down {
      display: none;
    }
  }

  .how-link-wrap-eqs {
    width: 100%;
    display: flex;
    justify-content: end;
  }
}

/* skills */

.skills-list-eqs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skills-item-eqs {
  display: flex;
  gap: 16px;

  div {
    border-radius: 14px;
    background: var(--l-green);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    svg {
      width: 10px;
      height: 10px;
      fill: var(--l-green);
      stroke: #000;
    }
  }

  p {
    line-height: 150%;
  }
}

@media screen and (min-width: 1440px) {
  .skills-container-eqs {
    display: flex;
    flex-direction: row;
    gap: 82px;
  }

  .skills-item-eqs {
    p {
      font-size: 18px;
    }
  }
}

/* wall */

#wall {
  background: var(--black);
}

.wall-title-eqs {
  color: var(--l-blue);
}

.wall-item-eqs {
  width: 320px;
  height: 180px;

  img {
    width: 100%;
    height: 100%;
  }
}

@media screen and (min-width: 1440px) {
  .wall-item-eqs {
    width: 544px;
    height: 305px;
  }
}

/* mentors */

.mentors-list-eqs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mentors-item-eqs {
  border-radius: 16px;
  padding: 181px 16px 40px;
  width: 256px;
  height: 307px;
  background: #fbd1fe;
  position: relative;

  img {
    border-radius: 16px 16px 0 0;
    width: 256px;
    height: 173px;

    position: absolute;
    top: 0;
    left: 0;
  }

  h3 {
    font-weight: 600;
    font-size: 20px;
    line-height: 150%;
  }

  p {
    font-size: 12px;
    line-height: 150%;
    color: var(--d-gray);
    margin-bottom: 8px;
  }

  h4 {
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;

    span {
      font-weight: 600;
      font-size: 20px;
    }
  }
}

@media screen and (min-width: 1440px) {
  .mentors-list-eqs {
    flex-direction: row;
  }
}

/* quiz */

#quiz {
  background: var(--black);
}

.quiz-title-eqs {
  color: var(--l-blue);
  margin-bottom: 16px;
}

.quiz-subtitle-eqs {
  font-weight: 700;
  font-size: 24px;
  line-height: 130%;
  color: var(--l-green);
  margin-bottom: 40px;
}

@media screen and (min-width: 1440px) {
  .quiz-title-eqs {
    margin-bottom: 24px;
  }

  .quiz-subtitle-eqs {
    font-size: 28px;
    margin-bottom: 0;
  }

  .quiz-link-eqs {
    position: absolute;
    bottom: 80px;
    right: 160px;
  }
}

/* plans */

.plans-list-eqs {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.plans-item-eqs {
  border-radius: 16px;
  padding: 24px 32px;

  h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
  }

  p {
    line-height: 150%;
    margin-top: 16px;
    margin-bottom: 32px;
  }

  h4 {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;

    span {
      font-weight: 800;
      font-size: 36px;
      line-height: 120%;
    }
  }
}

.plans-item-eqs:nth-child(1) {
  background: #fbd1fe;
}

.plans-item-eqs:nth-child(2) {
  background: #ffc5de;
}

@media screen and (min-width: 1440px) {
  .plans-content-eqs {
    display: flex;
    gap: 32px;
  }

  .plans-list-eqs {
    flex-direction: row;
  }

  .plans-item-eqs {
    width: 352px;
    height: 238px;

    h3 {
      font-size: 20px;
    }

    p {
      font-size: 18px;
      margin-top: 16px;
      margin-bottom: 59px;
    }

    h4 {
      font-size: 18px;

      span {
        font-size: 48px;
      }
    }
  }

  .plans-item-eqs:nth-child(2) {
    p {
      margin-bottom: 32px;
    }
  }

  .plans-pic-eqs {
    background: url(/images/plans-pic.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    width: 352px;
    height: 238px;
    border-radius: 16px;
  }
}

/* enroll */

#enroll {
  background: var(--black);
}

.enroll-title-eqs {
  color: var(--l-blue);
  margin-bottom: 16px;
}

.enroll-subtitle-eqs {
  font-weight: 700;
  font-size: 24px;
  line-height: 130%;
  color: var(--l-green);
  margin-bottom: 40px;
}

.enroll-list-title-eqs {
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  color: var(--l-gray);
}

.enroll-item-eqs {
  line-height: 150%;
  color: var(--l-gray);
  font-style: normal;
}

.enroll-link-eqs {
  margin-top: 40px;
}

@media screen and (min-width: 1440px) {
  .enroll-container-eqs {
    padding-bottom: 143px;
  }

  .enroll-title-eqs {
    margin-bottom: 23px;
  }

  .enroll-subtitle-eqs {
    font-size: 28px;
    margin-bottom: 23px;
  }

  .enroll-list-title-eqs {
    font-size: 20px;
  }

  .enroll-item-eqs {
    font-size: 18px;
  }

  .enroll-link-eqs {
    margin-top: 0;
    position: absolute;
    bottom: 139px;
    right: 160px;
  }
}

/* footer */

#footer {
  background: var(--black);
}

.footer-container-eqs {
  padding: 40px 16px 16px;
  width: 375px;
  color: var(--l-gray);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-text-eqs {
  font-size: 18px;
  line-height: 150%;
}

.footer-links-list-eqs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links-item-eqs {
  p {
    line-height: 150%;
  }
}

.footer-text-author-eqs {
  font-size: 11px;
}

@media screen and (min-width: 1440px) {
  .footer-container-eqs {
    padding: 40px 160px 16px;
    width: 1440px;
    gap: 126px;
  }

  .footer-website-eqs {
    font-size: 18px;
  }

  .footer-links-list-eqs {
    position: absolute;
    top: 40px;
    right: 160px;
    align-items: end;
  }

  .footer-links-item-eqs {
    p {
      font-size: 18px;
      text-align: right;
    }
  }

  .footer-text-author-eqs {
    font-size: 12px;
  }
}

/* ********************* */

.hidden-eqs {
  display: none;
}
