.main-section {
  position: fixed;
  z-index: 9;
  width: 100%;
  padding: 16px 20px;
  background: #361cce;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  width: 120px;
}

.page-nav {
  display: none;
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 143%;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.3s ease;
}

.page-nav-link:hover {
  color: var(--ffac00);
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-open-svg {
  stroke: #fff;
}

.menu-close-svg {
  stroke: #fff;
}

@media screen and (min-width: 1422px) {
  .main-section {
    padding: 54px 80px;
  }

  .page-nav {
    display: block;
  }

  .menu-btn {
    display: none;
  }
}

/* modal  */

.menu {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  z-index: 8;
  width: 100%;
  padding: 40px 20px;
  padding-top: 100px;
  transform: translateX(100%);
  transition: transform 1s ease;
  background: #361cce;
}

.modal-img {
  position: absolute;
  transform: rotate(90deg);
  top: 300px;
  max-width: max-content;
  width: 600px;
}

.menu-nav-list {
  flex-direction: column;
  align-items: center;
}

/* 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 #d9dbe9;
  border-radius: 20px;
  box-shadow: 0 14px 42px 0 rgba(8, 15, 52, 0.06);
  background: #fff;
}

.popup-img {
  margin: 0 auto;
  margin-bottom: 11px;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #6f6c90;
  margin-bottom: 32px;

  a {
    color: #4a3aff;
  }
}

.popup-btn {
  border: 1px solid #410e7b;
  border-radius: 56px;
  padding: 18px 28px;
  box-shadow: 0 4px 8px rgba(74, 58, 255, 0.08);
  background: #fff;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #170f49;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  box-shadow: 0 3px 12px rgba(74, 58, 255, 0.18);
  background: #410e7b;
  color: #fff;
}

.popup-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

@media screen and (min-width: 1422px) {
  .page-popup {
    padding: 40px;
    display: flex;
    align-items: center;
  }

  .popup-img {
    margin: 0;
    flex-shrink: 0;
    margin-right: 25px;
  }

  .popup-text {
    font-size: 18px;
    margin: 0;
    text-align: start;
  }

  .popup-wrap {
    flex-direction: row;
    flex-shrink: 0;
    margin-left: 120px;
  }
}

/* hero  */

.dashboard {
  padding-top: 113px;
  background-image: url(../img/puzzle.png);
  background-position: bottom;
  background-size: contain;
  background-repeat: no-repeat;
  padding-left: 78px;
  position: relative;
}

.hero-logo {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 46px;
  line-height: 122%;
  color: var(--ffac00);
  transform: rotate(90deg);
  position: absolute;
  top: 200px;
  left: -60px;
}

.hero-title {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 46px;
  line-height: 122%;
  color: #fff;
  margin-bottom: 24px;
}

.page-hero-text {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
  margin-bottom: 20px;
}

.home-img {
  width: 268px;
  margin: 0 auto;
}

@media screen and (min-width: 1422px) {
  .dashboard {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    padding-left: 220px;
    padding-top: 187px;
  }

  .hero-logo {
    font-size: 98px;
    top: 370px;
    left: -80px;
  }

  .home-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }

  .hero-title {
    font-size: 76px;
    text-align: start;
    margin-bottom: 44px;
  }

  .page-hero-text {
    font-size: 24px;
  }
}

/* key */

.key-img {
  width: 200px;
  margin: 0 auto;
  margin-bottom: 20px;
}

@media screen and (min-width: 1422px) {
  .key-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 20px;
  }

  .key-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }
}

/* featured */

#featured {
  background-image: url(../img/top.png), url(../img/bottom.png);
  background-position: top left, bottom left;
  background-repeat: no-repeat;
  padding-bottom: 303px;
}

@media screen and (min-width: 1422px) {
  #featured {
    padding-bottom: 100px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 92px;

    .title {
      flex-shrink: 0;
    }
  }
}

/* events */

.events-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 66px;
  margin-top: 28px;

  font-family: var(--font-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 156%;
  color: #fff;
}

@media screen and (min-width: 1422px) {
  .events-list {
    flex-direction: row;
    gap: 160px;
    justify-content: center;
  }
}

/* interviews */

#interviews {
  background-image: url(../img/puzzle.png),
    linear-gradient(
      0deg,
      #2f0363 8.91%,
      #410f7f 21.94%,
      #3917b5 48%,
      #341dd6 81%,
      #331fe3 100%
    );
  background-position: top;
  background-size: contain;
  background-repeat: no-repeat;
}

.interviews-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;

  li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 156%;
    text-align: center;
    color: #fff;
  }

  img {
    width: 175px;
  }
}

@media screen and (min-width: 1422px) {
  .interviews-list {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 136px;

    img {
      width: auto;
    }
  }
}

/* submit */

#submit {
  background: linear-gradient(
    0deg,
    #2f0363 8.91%,
    #410f7f 21.94%,
    #3917b5 48%,
    #341dd6 81%,
    #331fe3 100%
  );
  position: relative;

  .title {
    text-align: start;
  }
}

.blue {
  position: absolute;
  top: 120px;
  right: 60px;
  width: 60px;
  transform: rotate(35deg);
}

.submit-img {
  width: 330px;
  margin: 0 auto;
}

@media screen and (min-width: 1422px) {
  #submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
  }

  .submit-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }

  .blue {
    top: 20px;
    right: auto;
    left: 55%;
    width: 150px;
  }
}

/* calendar */

.calendar {
  width: 335px;
  margin: 0 auto;
  margin-bottom: 32px;
}

@media screen and (min-width: 1422px) {
  #calendar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 76px;
  }

  .calendar {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }
}

/* lab */

.lab-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 20px;
  list-style: disc;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
}

.item {
  margin-left: 20px;
}

.yellow {
  width: 263px;
  margin: 0 auto;
}

@media screen and (min-width: 1422px) {
  .lab-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .yellow {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }

  .lab-list {
    gap: 36px;
    font-size: 20px;
  }

  .item {
    margin-left: 80px;
  }
}

/* about-img */

#about {
  background-image: url(../img/about-bg.jpg);
  background-size: cover;
}

.about-img {
  width: 330px;
  margin: 0 auto;
}

@media screen and (min-width: 1422px) {
  #about {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 78px;
  }

  .about-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }
}

/* journal */

#journal {
  padding-left: 0;
  padding-right: 0;

  .text {
    padding: 0 20px;
  }
}

.journal-item {
  width: 330px;
  max-width: 100%;

  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #fff;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 36px;
}

.swiper-btn {
  width: 55px;
  transition: tramsform 0.3s ease;
}

.swiper-btn:hover {
  transform: scale(1.2);
}

.journal-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  text-align: center;
  color: var(--ffac00);
  margin-top: 40px;
  padding: 0 20px;
}

@media screen and (min-width: 1422px) {
  #journal {
    position: relative;

    .text {
      padding: 0 80px;
    }

    .title {
      text-align: start;
      padding: 0 80px;
    }
  }

  .btn-wrap {
    position: absolute;
    margin: 0;
    top: 115px;
    right: 80px;
  }

  .journal-title {
    font-size: 24px;
  }

  .journal-swiper {
    margin-top: 52px;
  }
}

/* testimonials */

#testimonials {
  padding-left: 0;
  padding-right: 0;
}

.testimonials-item {
  border-radius: 48px;
  padding: 32px;
  width: 335px;
  max-width: 100%;
  min-height: 384px;
  box-shadow: inset 0 -2px 11px #be82ff, 0 4px 0 0 #d84fff;
  background: #fff;

  div {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    color: #27282b;
  }

  p {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 18px;
    line-height: 156%;
    color: #27282b;
    margin-top: 12px;
  }
}

@media screen and (min-width: 1422px) {
  #testimonials {
    position: relative;

    .title {
      text-align: start;
      padding: 0 80px;
    }
  }

  .testimonials-item {
    border-radius: 48px;
    padding: 32px;
    width: 458px;
    min-height: 278px;
    box-shadow: inset 0 -2px 11px #be82ff, 0 4px 0 0 #d84fff;
    background: #fff;
  }
}

/* contact */

#contacts {
  background-image: url(../img/about-bg.jpg);
  background-size: cover;
}

.contact-img {
  width: 335px;
  margin: 0 auto;
  margin-bottom: 24px;
}

@media screen and (min-width: 1422px) {
  #contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .contact-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }
}

/* footer */

.footer {
  padding: 40px 10px;
  background: #001321;
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 10px;
  line-height: 160%;
  text-align: center;
  color: #fff;
  margin: 28px 0;
}

.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;

  font-family: var(--font-family);
  font-weight: 700;
  font-size: 12px;
  line-height: 133%;
  color: #fff;

  a:hover {
    text-decoration: underline;
  }
}

@media screen and (min-width: 1439px) {
  .footer {
    padding: 44px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-list {
    flex-direction: row;
    margin: 0;
    font-size: 16px;
  }

  .footer-text {
    margin: 0;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateY(0);
}

.click {
  transform: rotate(180deg);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
