/* header */

.nav-fes {
  display: none;
}

.header-fes {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
  width: 100%;
}

.header-container-fes {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 12px 24px;
  width: 100%;
  background: var(--blue1);
  position: relative;
  height: 48px;
}

.nav-list-fes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 76px;
}

.nav-item-fes {
  position: relative;
  transition: all 0.3s ease-in-out;
}

.nav-link-fes {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 8px;
  height: 46px;

  opacity: 0.8;
  font-weight: 200;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--bg-base);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.nav-item-fes::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--accent-points);
  transition: all 0.3s ease-in-out;
}

.item-active-fes::after {
  width: 100%;
}

.link-active-fes {
  opacity: 1;
  font-weight: 500;
}

.nav-link-fes:hover {
  opacity: 1;
  font-weight: 500;
}

.nav-link-special-fes {
  width: 86px;
}

.nav-link-special-second-fes {
  width: 78px;
}

.menu-svg-fes {
  width: 14px;
  height: 11px;
  fill: var(--bg-base);
}

.menu-btn-fes {
  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 4px;
  border: 1px solid var(--accent-points);

  width: 24px;
  height: 24px;
}

@media screen and (min-width: 1440px) {
  .header-fes {
    width: 100%;
    height: 62px;
  }

  .header-container-fes {
    margin: 0 auto;
    justify-content: center;
    width: 100%;
    padding: 8px 80px;
  }

  .nav-fes {
    display: block;
  }

  .menu-btn-fes {
    display: none;
  }
}

/* modal  */

.modal-fes {
  position: fixed;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  border-radius: 0 0 12px 12px;
  padding: 20px 16.5px 43px 17.5px;
  background: var(--blue1);
  width: 375px;
}

.nav-modal-fes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.menu-nav-list-fes {
  flex-direction: column;
  padding: 0;
  gap: 20px;
  width: 220px;
}

.menu-nav-item-fes {
  padding: 0;
  width: 100%;
}

.menu-nav-link-fes {
  width: 100%;
  opacity: 1;
  font-weight: 500;
  padding: 4px 0;
  height: fit-content;
}

.policy-list-fes {
  display: flex;
  gap: 12px;

  li {
    a {
      padding: 8px;
      font-weight: 300;
      font-size: 12px;
      text-decoration: underline;
      text-decoration-skip-ink: none;
      text-align: center;
      color: var(--bg-base);
    }
  }
}

/* popup */

.popup-fes {
  position: fixed;
  z-index: 11;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 36px;
  background: var(--blue1);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.popup-text-fes {
  font-weight: 300;
  font-size: 14px;
  line-height: 130%;
  text-align: center;
  color: var(--bg-base);
}

.popup-btn-wrap-fes {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 20px;
}

.popup-btn-fes {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  width: 132px;
  height: 39px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  text-align: center;
  color: var(--bg-base);
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.popup-btn-accept-fes {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  border: 1px solid var(--accent-points);
  border-radius: 4px;
}

.popup-btn-decline-fes {
  border-bottom: 1px solid var(--accent-points);
}

.popup-btn-fes:hover {
  transform: scaleY(1.2);
}

@media screen and (min-width: 1440px) {
  .popup-fes {
    left: 50%;
    transform: translate(-50%);
    padding: 40px;
    width: 1440px;
  }

  .popup-btn-wrap-fes {
    gap: 80px;
  }
}

/* hero  */

#home {
  background: radial-gradient(
    58.62% 58.62% at 50.13% 64.9%,
    #fff 0%,
    #ededed 100%
  );
}

.hero-container-fes {
  padding-top: 88px;
  padding-bottom: 234px;

  h1 {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 40px;
    text-align: center;
  }

  h2 {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;

    margin-top: 20px;
    margin-bottom: 31px;
  }

  p {
    font-weight: 400;
    font-size: 14px;
    letter-spacing: -0.03em;
    text-align: center;

    span {
      font-weight: 700;
    }
  }

  h3 {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-align: center;

    margin-top: 20px;
    position: relative;
    z-index: 2;
  }
}

.hero-pic-fes {
  background: url(images/hero-pic.png);
  background-position: center;
  background-size: cover;

  width: 375px;
  height: 285px;

  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}

@media screen and (min-width: 1440px) {
  .hero-container-fes {
    padding-top: 142px;

    background: url(images/hero-pic.png);
    background-position: center;
    background-size: cover;
    height: 1152px;

    display: flex;
    align-items: center;
    flex-direction: column;

    h1 {
      font-size: 64px;
    }

    h2 {
      font-size: 24px;

      margin-top: 24px;
      margin-bottom: 24px;
    }

    p {
      width: 846px;
      letter-spacing: normal;
    }

    h3 {
      letter-spacing: normal;

      margin-top: 24px;
    }
  }

  .hero-pic-fes {
    display: none;
  }
}

/* feature */

.feature-wrap-fes {
  border: 1px solid var(--blue4);
  border-radius: 16px;
  padding: 16px;

  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-pic-fes {
  width: 320px;
  height: 237px;
}

.feature-text-mob-fes {
  font-weight: 300;
  font-size: 14px;
  line-height: 130%;
}

.feature-text-desktop-fes {
  display: none;
}

@media screen and (min-width: 1440px) {
  .feature-wrap-fes {
    padding: 0px 24px;

    flex-direction: row;
    gap: 23px;
    align-items: center;
  }

  .feature-pic-fes {
    width: 320px;
    height: 237px;
  }

  .feature-text-mob-fes {
    display: none;
  }

  .feature-text-desktop-fes {
    display: flex;
    font-weight: 300;
    font-size: 14px;
    line-height: 130%;
  }
}

/* analysis */

.analysis-subtitle-desk-fes {
  display: none;
}

.analysis-list-fes {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.analysis-item-fes {
  border-radius: 12px;
  padding: 16px;
  background: var(--blue4);

  display: flex;
  flex-direction: column;
  gap: 12px;

  img {
    width: 311px;
    height: 190px;
  }

  h4 {
    font-weight: 400;
    font-size: 16px;
  }

  p {
    font-size: 12px;
  }
}

.analysis-text-fes {
  display: none;
}

@media screen and (min-width: 1440px) {
  .analysis-title-fes {
    margin-bottom: 32px;
  }

  .analysis-subtitle-desk-fes {
    width: 600px;
    display: block;
    margin-bottom: 52px;
    font-size: 19px;
  }

  .analysis-subtitle-mob-fes {
    display: none;
  }

  .analysis-text-fes {
    display: block;
    width: 737px;
    font-weight: 300;
    font-size: 14px;
    line-height: 130%;

    position: absolute;
    top: 246px;
    right: 80px;
  }

  .analysis-list-fes {
    flex-direction: row;
    gap: 40px;
  }

  .analysis-item-fes {
    width: 400px;
    height: 314px;

    img {
      width: 368px;
    }

    h4 {
      font-weight: 400;
      font-size: 16px;
    }

    p {
      letter-spacing: -0.01em;
    }
  }
}

/* timeline */

.timeline-title-fes {
  font-size: 32px;
}

.timeline-subtitle-fes {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.timeline-list-fes {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-item-fes {
  display: flex;
  gap: 12px;

  h4 {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 32px;
    max-width: 88px;
  }

  p {
    font-size: 12px;
  }
}

.timeline-pic-fes {
  background: url(images/timeline-pic-mob.png);
  background-position: start;
  background-size: cover;

  width: 372px;
  height: 135px;
}

.timeline-text-fes {
  font-weight: 300;
  padding-left: 4px;
}

@media screen and (min-width: 1440px) {
  .timeline-container-fes {
    height: 760px;
  }

  .timeline-title-fes {
    font-size: 40px;
  }

  .timeline-subtitle-fes {
    font-size: 20px;
    letter-spacing: normal;
  }

  .timeline-item-fes {
    flex-direction: column;
    width: 264px;
    position: absolute;

    h4 {
      max-width: 100%;
    }
  }

  .timeline-item-fes:nth-child(1) {
    top: 305px;
    left: 80px;
  }

  .timeline-item-fes:nth-child(2) {
    top: 305px;
    left: 368px;
  }

  .timeline-item-fes:nth-child(3) {
    top: 305px;
    left: 656px;
  }

  .timeline-item-fes:nth-child(4) {
    bottom: 95px;
    right: 661px;
  }

  .timeline-item-fes:nth-child(5) {
    bottom: 80px;
    right: 373px;
  }

  .timeline-item-fes:nth-child(6) {
    bottom: 95px;
    right: 85px;
  }

  .timeline-pic-fes {
    background: url(images/timeline-pic.png);
    background-position: start;
    background-size: cover;

    width: 1470px;
    height: 460px;

    position: absolute;
    top: 190px;
    left: -40px;
  }

  .timeline-text-fes {
    font-size: 20px;
    padding-left: 0;
    width: 320px;
    position: absolute;
    bottom: 80px;
    left: 80px;
  }
}

/* profile */

.profile-wrap-fes {
  border: 1px solid var(--blue4);
  border-radius: 16px;
  padding: 16px;

  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-pic-fes {
  width: 311px;
  height: 208px;
}

.profile-text-wrap-fes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-text-fes {
  font-weight: 300;
  font-size: 14px;
}

.profile-list-fes {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.profile-item-fes {
  display: flex;
  gap: 24px;
  align-items: center;

  div {
    background: url(images/profile-line-mob.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;

    width: 38px;
    height: 6px;
  }

  p {
    font-size: 12px;
    width: 252px;
  }
}

@media screen and (min-width: 1440px) {
  .profile-wrap-fes {
    flex-direction: row;
  }

  .profile-pic-fes {
    width: 519px;
    height: 348px;
  }

  .profile-text-wrap-fes {
    gap: 24px;
  }

  .profile-text-fes {
    font-size: 16px;
  }

  .profile-item-fes {
    div {
      background: url(images/profile-line-desktop.png);
      width: 88px;
    }

    p {
      width: 596px;
    }
  }
}

/* interviews */

.interviews-wrap-fes {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.interviews-text-fes {
  font-weight: 300;
  font-size: 14px;
  line-height: 130%;
  padding-left: 4px;
}

.interviews-list-fes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.interviews-item-fes {
  border-radius: 12px;
  padding: 12px;
  background: var(--blue4);
  height: 165px;

  display: flex;
  gap: 12px;

  img {
    width: 80px;
    height: 80px;
  }

  div {
    display: flex;
    flex-direction: column;
    gap: 12px;

    p {
      font-size: 12px;
    }

    h3 {
      font-weight: 600;
      font-size: 10px;
      text-align: right;
    }
  }
}

@media screen and (min-width: 1440px) {
  .interviews-wrap-fes {
    flex-direction: row;
    gap: 24px;
  }

  .interviews-text-fes {
    padding-left: 0;
    width: 302px;
  }

  .interviews-list-fes {
    flex-direction: row;
    gap: 16px;
  }

  .interviews-item-fes {
    width: 307px;
  }
}

/* glossary */

.glossary-text-fes {
  font-weight: 300;
  font-size: 14px;
  margin-bottom: 20px;
}

.glossary-list-fes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.glossary-item-fes {
  display: flex;
  flex-direction: column;
  gap: 9px;

  h4 {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 16px;
  }

  div {
    background: url(images/glossary-line-mob.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;

    width: 346px;
    height: 6px;
  }

  p {
    font-size: 12px;
  }
}

@media screen and (min-width: 1440px) {
  .glossary-text-fes {
    margin-bottom: 36px;
  }

  .glossary-list-fes {
    flex-direction: row;
    gap: 24px;
    padding: 0 10px;
  }

  .glossary-item-fes {
    width: 190px;

    div {
      background: url(images/glossary-line-desktop.png);
      width: 193px;
    }
  }
}

/* archive */

.archive-subtitle-fes {
  width: 300px;
}

.archive-text-fes {
  font-weight: 300;
  font-size: 14px;
  line-height: 130%;
  margin-bottom: 20px;
}

.archive-text-second-fes {
  font-weight: 300;
  font-size: 14px;
}

.archive-list-fes {
  margin-top: 12px;
  margin-bottom: 20px;
  list-style-type: disc;
  padding-left: 24px;
}

.archive-item-fes {
  p {
    font-size: 12px;
    line-height: 140%;
  }
}

.archive-pic-wrap-fes {
  border-radius: 12px;
  padding: 16px;
  background: var(--blue4);
  margin-top: 20px;

  p {
    font-weight: 300;
    font-size: 12px;
    margin-bottom: 12px;
  }

  img {
    width: 311px;
    height: 141px;
  }
}

@media screen and (min-width: 1440px) {
  .archive-subtitle-fes {
    width: 680px;
  }

  .archive-wrap-fes {
    width: 604px;
  }

  .archive-text-fes {
    margin-bottom: 24px;
  }

  .archive-list-fes {
    margin-bottom: 24px;
  }

  .archive-pic-wrap-fes {
    margin-top: 0;
    width: 652px;
    height: 359px;
    position: absolute;
    top: 230px;
    right: 80px;

    img {
      width: 620px;
      height: 300px;
    }
  }
}

/* submit */

.submit-wrap-fes {
  display: flex;
  flex-direction: column;
  gap: 20px;

  img {
    width: 343px;
    height: 162px;
  }
}

.submit-text-fes {
  font-weight: 300;
  font-size: 14px;
}

.submit-list-fes {
  margin-top: 12px;
  margin-bottom: 24px;
  list-style-type: disc;
  padding-left: 24px;
}

.submit-item-fes {
  p {
    font-size: 12px;
    line-height: 140%;
  }
}

.submit-text-second-fes {
  font-weight: 300;
  font-size: 14px;

  span {
    font-style: italic;
  }
}

@media screen and (min-width: 1440px) {
  .submit-wrap-fes {
    align-items: center;
    flex-direction: row;
    gap: 49px;

    img {
      width: 484px;
      height: 230px;
    }
  }
}

/* footer */

#footer {
  background: var(--blue2);
  color: var(--bg-base);
}

.footer-container-fes {
  width: 375px;
  margin: 0 auto;
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.footer-anchor-list-fes {
  display: flex;
  justify-content: space-evenly;
  width: 100%;

  li {
    a {
      font-weight: 300;
      font-size: 12px;
      line-height: 160%;
      text-decoration: underline;
      text-decoration-skip-ink: none;
      text-align: center;
      color: var(--blue4);
    }
  }
}

.footer-links-list-fes {
  display: flex;
  gap: 37px;
}

.footer-link-fes {
  font-weight: 300;
  font-size: 12px;
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.footer-text-mob-fes {
  font-weight: 300;
  font-size: 10px;
  text-align: center;
}

.footer-text-desktop-fes {
  display: none;
}

@media screen and (min-width: 1440px) {
  .footer-container-fes {
    width: 1440px;
    padding: 64px 189px;
    flex-direction: row;
    align-items: center;
    gap: 220px;
  }

  .footer-anchor-list-fes {
    flex-direction: column;
    justify-content: start;
    width: fit-content;

    li {
      a {
        color: var(--bg-base);
        text-align: left;
      }
    }
  }

  .footer-links-list-fes {
    flex-direction: column;
    gap: 16px;

    position: absolute;
    right: 189px;
    top: 50%;
    transform: translateY(-50%);
  }

  .footer-text-mob-fes {
    display: none;
  }

  .footer-text-desktop-fes {
    font-weight: 300;
    font-size: 12px;
    display: block;

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 485px;
  }
}

/* ********************* */

.hidden-fes {
  display: none;
}
