.main-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999999999999;
  padding: 20px 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 90px;
  background: #fff;
  padding: 20px;
}

.header-title {
  display: flex;
  align-items: center;
  gap: 5px;

  img {
    width: 40px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    color: #0d1615;
    transition: color 0.4s ease;
  }
}

.header-title:hover,
.header-title:hover {
  span {
    color: #d9fd76;
  }
}

.page-nav {
  display: none;
}

.menu-btn {
  display: block;
  border: 1px solid #ededed;
  border-radius: 50px;
  padding: 10px 16px;

  svg {
    fill: none;
    stroke: #0d1615;
    transition: stroke 0.3s ease;
  }
}

.menu-btn:hover,
.menu-btn:focus {
  background-color: #d9fd76;
}

.list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: #0d1615;
  border: 1px solid #ededed;
  border-radius: 50px;
  padding: 10px 32px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.link:hover,
.link:focus {
  border-color: #0d1615;
}

.active-link {
  border-color: #0d1615;
}

.header-subscribe {
  display: none;
}

@media screen and (min-width: 1436px) {
  .header-subscribe {
    display: flex;
    align-items: center;
    border-radius: 40px;
    padding: 12px;
    padding-left: 22px;
    gap: 12px;
    border-radius: 100px;
    background: #f5f5f5;

    p {
      font-family: var(--font-family);
      font-weight: 700;
      font-size: 16px;
      line-height: 120%;
      color: #0d1615;
    }

    div {
      width: 44px;
      height: 44px;
      border-radius: 100%;
      background: #0d1615;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    svg {
      transform-origin: 50% 50%;
      transition: transform 0.4s ease;
    }
  }

  .header-subscribe:hover,
  .header-subscribe:focus {
    svg {
      transform: rotate(90deg);
    }
  }

  .header-title {
    span {
      font-size: 24px;
    }
  }

  .page-nav {
    display: block;
  }

  .menu-btn {
    display: none;
  }
}

/* modal  */

.menu {
  position: fixed;
  overflow: hidden;
  top: 120px;
  left: 50%;
  padding: 40px;
  border-radius: 40px;
  z-index: 88888888;
  background: #fff;
  transform: translateX(-50%) translateY(-140%);
  transition: transform 2s ease;
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.modal-subscribe {
  display: inline-block;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  color: #fff;

  text-transform: capitalize;
  transition: color 0.3s ease;
  border: 1px solid #ffd119;
  border-radius: 12px;
  padding: 14px 20px;
}

.modal-subscribe:hover,
.modal-subscribe:focus {
  color: #ffd119;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 999999;
  bottom: 20px;
  border-radius: 10px;
  padding: 20px;
  left: 50%;
  transform: translateX(-50%);
  backdrop-filter: blur(5px);
  background-color: #3d48a676;
  transition: transform 0.4s ease;
}

.popup-text {
  font-family: var(--font3);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: #fff;
  text-align: center;
  margin-bottom: 32px;

  span {
    font-weight: 400;
  }

  a {
    text-decoration: underline;
  }
}

.popup-btn {
  font-family: var(--font3);
  font-weight: 600;
  font-size: 14px;
  line-height: 143%;
  color: #fff;

  border: 2px solid #fff;
  border-radius: 6px;
  padding: 12px 36px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  border-color: #ffd119;
  color: #ffd119;
}

.popup-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
}

@media screen and (min-width: 1436px) {
  .page-popup {
    padding: 30px 48px;
  }

  .popup-text {
    font-size: 16px;
    margin: 0;
    text-align: start;
  }

  .popup-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
  }

  .popup-wrap {
    gap: 38px;
    flex-shrink: 0;
  }
  .popup-btn {
    padding: 16px 48px;
  }
}

/* hero  */

.hero {
  padding-top: 168px;
  padding-bottom: 68px;
  background-position: center;
  background-size: cover;
  border-radius: 0 0 40px 40px;
}

.home-page {
  background-image: url(../images/hero.jpg);
}

.hero-wrap {
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 76.28%
  );
  backdrop-filter: blur(80px);
  padding: 24px 16px;
}

.hero-sub-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-transform: capitalize;
  color: #0d1615;
  border-radius: 20px;
  padding: 10px 16px;
  background: #d9fd76;
  width: fit-content;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 56px;
  line-height: 100%;
  text-transform: capitalize;
  color: #0d1615;
  margin-bottom: 24px;
}

.hero-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 120%;
  color: #0d1615;
  margin-bottom: 24px;
}

.page-link {
  display: flex;
  align-items: center;
  gap: 22px;
  width: fit-content;
  border-radius: 40px;
  padding: 6px;
  padding-left: 22px;
  background: #fff;

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    color: #0d1615;
  }

  div {
    width: 44px;
    height: 44px;
    border-radius: 100%;
    background: #d9fd76;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  svg {
    transform-origin: 50% 50%;
    transition: transform 0.4s ease;
  }
}

.page-link:hover {
  svg {
    transform: rotate(90deg);
  }
}

.people-wrap {
  display: none;
}

@media screen and (min-width: 1436px) {
  .hero {
    padding-top: 200px;
    padding-bottom: 156px;
  }

  .hero-wrap {
    padding: 40px;
    border-radius: 24px;
    width: 771px;
  }

  .hero-sub-title {
    margin-bottom: 24px;
  }

  .hero-title {
    font-size: 80px;
    margin-bottom: 24px;
  }

  .hero-link-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .people-wrap {
    display: flex;
    align-items: center;
    gap: 24px;

    img {
      width: 160px;
    }

    p {
      font-family: var(--font-family);
      font-weight: 700;
      font-size: 16px;
      line-height: 140%;
      color: #fff;
      width: 146px;

      span {
        font-size: 20px;
        color: #d9fd76;
      }
    }
  }
}

/* about  */

.man-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 20px;
}

.man {
  width: 100%;
}

.many-img {
  width: 100%;
  border-radius: 20px;
  height: 335px;

  background-image: url(../images/many.png);
  background-position: center;
  background-size: cover;
}

@media screen and (min-width: 1436px) {
  .man-wrap {
    flex-direction: row-reverse;
    gap: 44px;
    margin-bottom: 40px;
  }

  .man {
    width: auto;
    flex-shrink: 0;
  }
}

/* why  */

.why-item {
  border-radius: 20px;
  padding: 20px;
  background: #fff;
}

.why-img {
  width: 100%;
  margin-bottom: 12px;
}

.why-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 156%;
  text-transform: capitalize;
  color: #0d1615;
  margin-bottom: 12px;
}

.why-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #696969;
  margin-bottom: 12px;
}

.why-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    text-transform: capitalize;
    color: #696969;
  }

  div {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f1f2f6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
  }

  svg {
    fill: #696969;
    transition: fill 0.3s ease;
    cursor: pointer;
  }
}

.why-footer {
  div:hover {
    background-color: #a39d9d;

    svg {
      fill: #000;
    }
  }
}

@media screen and (min-width: 1436px) {
  .why-item {
    border-radius: 20px;
    padding: 28px;
  }

  .why-img {
    margin-bottom: 16px;
  }

  .why-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .why-text {
    font-size: 18px;
    margin-bottom: 16px;
  }
}

/* what  */

.what {
  background-color: #fff;
}

.what-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

#what-article {
  width: 100%;
  border-radius: 20px;
  padding: 20px;
  background: #d9fd76;
}

.what-img {
  width: 120px;
  flex-shrink: 0;
}

.what-list {
  border-radius: 20px;

  padding: 20px;

  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #f0f0f0;
}

.what-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.what-date {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  text-transform: capitalize;
  color: #696969;
}

@media screen and (min-width: 1436px) {
  .what-content {
    gap: 32px;
    flex-direction: row;
  }

  .what-article {
    border-radius: 20px;
    padding: 28px;
    width: 690px;
    flex-shrink: 0;
  }

  .what-list {
    border-radius: 20px;
    padding: 28px;
    gap: 28px;
  }

  .what-img {
    width: 146px;
  }

  .what-date {
    font-size: 16px;
  }
}

/* disclaimer */

.disc-img {
  width: 100%;
  margin-top: 40px;
  height: 318px;
  border-radius: 20px;

  background-image: url(../images/disc.png);
  background-position: center;
  background-size: cover;
}

@media screen and (min-width: 1436px) {
  .disc-img {
    height: 519px;
    margin-top: 40px;
  }
}

/* subscribe  */

.subscribe-content {
  border-radius: 20px;
  padding: 24px 16px;

  background-image: url(../images/sub-bg.png);
  background-position: center;
  background-size: cover;
}

.subscribe-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 32px;
  line-height: 125%;
  text-align: center;
  color: #0d1615;
  margin-bottom: 16px;
}

.subscribe-text {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  text-align: center;
  color: #0d1615;
  margin-bottom: 40px;
}

#consultation-form {
  display: flex;
  flex-direction: column;
  gap: 20px;

  input,
  textarea,
  button {
    border-radius: 88px;
    padding: 12px 24px;
    resize: none;
    outline: none;
    border: none;
    width: 100%;
    background: #f1f1f1;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #0d1615;
    transition: background-color 0.3s ease;
  }

  button {
    display: block;
    background: #d9fd76;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 156%;
    color: #0d1615;
    text-align: center;
  }

  input::placeholder,
  textarea::placeholder {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #0d1615;
    opacity: 0.5;
  }

  button:hover {
    background: #a6cd3a;
  }
}

.modal-form {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #222221;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-form.show {
  opacity: 1;
}

@media screen and (min-width: 1436px) {
  .subscribe-content {
    padding: 52px;
  }

  .subscribe-title {
    font-size: 48px;
    margin-bottom: 16px;
  }

  .subscribe-text {
    font-size: 24px;
    margin-bottom: 40px;
  }

  #consultation-form {
    width: 636px;
    margin: 0 auto;
    flex-direction: row;

    button {
      width: 200px;
      flex-shrink: 0;
    }
  }
}

/* page 2  */

/* about  */

.about-hero {
  padding: 0;
  border-radius: 0 0 40px 40px;
  position: relative;
  height: 712px;
  overflow: hidden;
}

.video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

@media screen and (min-width: 1436px) {
  .video {
    width: 100%;
  }
}

/* page 2  */

/* about  */

.about-us {
  background-image: url(../images/about-us.png);
}

/* mission  */

.mission-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-radius: 20px;
  padding: 36px 16px;
  background: #fff;

  li {
    padding-bottom: 28px;
    border-bottom: 2px solid #d9fd76;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 32px;
    line-height: 113%;
    letter-spacing: -0.01em;
    text-transform: capitalize;
    color: #0d1615;
    margin-bottom: 20px;
  }
  span {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #696969;
  }
}

.mission-text {
  border-radius: 20px;
  padding: 36px 24px;
  background: #d9fd76;
}

@media screen and (min-width: 1436px) {
  .mission-container {
    flex-direction: row;
    gap: 36px;
  }

  .mission-text {
    border-radius: 20px;
    padding: 44px 24px;
    width: 840px;
    flex-shrink: 0;
  }

  .mission-list {
    border-radius: 20px;
    padding: 44px 24px;

    p {
      font-size: 56px;
    }
  }
}

/* authors   */

.authors {
  background-color: #fff;
}

.authors-item {
  img {
    width: 100%;
    margin-bottom: 24px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    color: #0d1615;
    margin-bottom: 16px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #696969;
  }
}

@media screen and (min-width: 1436px) {
  .authors-container {
    display: flex;
    align-items: flex-start;
    gap: 122px;
  }
}

/* page 3  */

/* contact */

.contact {
  padding-top: 126px;
  background: #d9fd76;
}

.contact-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 133%;
  text-transform: capitalize;
  color: #0d1615;
  margin-bottom: 16px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  list-style: disc;
  padding-bottom: 16px;
  border-bottom: 2px solid #fff;
  margin-bottom: 40px;

  li {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #0d1615;
  }

  a:hover,
  a:focus {
    text-decoration: underline;
  }
}

.social-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  li {
    width: 48px;
  }
}

/* важно: у контейнера карты должна быть высота */
.map-frame {
  border-radius: 40px;
  overflow: hidden;
  height: 289px;
  width: 100%;
  margin-top: 40px;
}

.leaflet-container {
  background: #fff;
}

@media screen and (min-width: 1436px) {
  .contact {
    padding-top: 174px;
  }

  .info-content {
    display: flex;
    gap: 56px;
    align-items: center;
    justify-content: space-between;
  }

  .map-frame {
    width: 682px;
    height: 430px;
    margin: 0;
    flex-shrink: 0;
  }

  .contact-title {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .social-list {
    justify-content: flex-start;
  }
}

/* footer */

.footer {
  padding: 40px 0;
  background: #0d1615;
}

.footer-logo {
  justify-content: center;
  margin-bottom: 12px;
  margin-bottom: 20px;

  span {
    color: #fff;
  }
}

.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  text-align: center;
  color: #fff;

  a {
    transition: color 0.3s ease;
  }

  a:hover {
    color: #d9fd76;
  }
}

.footer-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 133%;
  text-align: center;
  color: #fff;
}

@media screen and (min-width: 1436px) {
  .footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
  }

  .footer-logo {
    margin: 0;
  }

  .footer-list {
    font-size: 18px;
    gap: 20px;
    margin: 0;
  }

  .footer-title {
    font-size: 16px;
    margin: 0;
  }

  .footer-text {
    font-size: 16px;
  }
}

/* loader */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(94, 95, 147, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  /* display: none; */
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #fff;
  border-top-color: #d9fd76;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* scroll */

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99999999999999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.3s ease;

  svg {
    fill: none;
    stroke: #fff;
    transition: stroke 0.3s ease;
  }
}

#scrollTopBtn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#scrollTopBtn:hover {
  opacity: 1;
  border-color: #d9fd76;

  svg {
    stroke: #d9fd76;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateX(-50%) translateY(0);
}

.click {
  background-image: url(../img/minus.png);
  transform: rotate(180deg);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
