/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  padding: 26px 0;
  background: var(--gray-100-background-text);
}

.navigation {
  display: none;
}

.modal-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.svg {
  stroke: var(--gray-0-background-text);
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.navigation-item {
  font-family: "Hind", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  color: var(--gray-0-background-text);
  transition: opacity 0.3s ease, border-color 0.3s ease;
  transition: color 0.3s ease;
}

.navigation-item:hover {
  border-color: var(--accents-light);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  padding-top: 80px;
  background: var(--gray-100-background-text);
  transform: translateY(-100%);
  transition: transform 1s ease;
  z-index: 8;
}

.modal-navigation-list {
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.modal-click {
  transform: translateY(0);
}

.cookie-list {
  margin-top: 48px;
}

@media screen and (min-width: 1437px) {
  .header {
    padding: 26px 0;
  }

  .navigation {
    display: block;
  }

  .navigation-list {
    justify-content: space-between;
  }

  .navigation-item:hover {
    opacity: 1;
  }

  .open-modal {
    display: none;
  }

  .start-item {
    padding: 8px 14px;
    border: 1px solid var(--l-green);
  }
}

/* home */

.home-title {
  font-family: "Barlow", sans-serif;
  font-weight: 250;
  font-size: 36px;
  line-height: 122%;
  text-transform: uppercase;
  color: var(--gray-0-background-text);
  margin-bottom: 20px;
}

.adventure {
  font-weight: 700;
  font-size: 40px;
  color: #3b60ff;
}

.zlata {
  font-weight: 700;
  font-size: 40px;
}

.hero-image {
  width: 100%;
  margin-bottom: 20px;
}

.home-link {
  display: block;
  border: 1px solid #3056fb;
  padding: 20px;
  width: 333px;
  text-align: center;
  background: var(--gray-0-background-text);

  font-family: "Hind", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  text-transform: uppercase;
  text-align: center;
  color: #3056fb;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.home-link:hover {
  border-color: var(--gray-0-background-text);
  background: #3b60ff;
  color: var(--gray-0-background-text);
}

@media screen and (min-width: 1437px) {
  #home {
    padding-top: 128px;
  }

  .home-container {
    position: relative;
  }

  .hero-image {
    width: auto;
    margin-bottom: 0;
    flex-shrink: 0;
    position: absolute;
    top: 0;
    right: 0;
  }

  .home-wrapper {
    width: 680px;
  }

  .home-title,
  .adventure,
  .zlata {
    font-size: 86px;
    margin-bottom: 370px;
  }

  .home-link {
    width: 171px;
    margin: 0;
    margin-left: auto;
  }
}

/* about */

.about-text {
  font-family: "Hind", sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 140%;
  color: var(--gray-0-background, -text);
  margin-bottom: 16px;
}

.about-container {
  position: relative;
  overflow: hidden;
  padding-bottom: 576px;
}

.about-img {
  max-width: max-content;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .about-text {
    width: 797px;
    margin-left: auto;
  }
}

/* feature */

.feature-title-wrap {
  padding: 24px 0;
  background: var(--gray-0-background-text);
  margin-bottom: 40px;

  .section-title {
    margin: 0;
  }

  p {
    font-family: "Hind", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    text-transform: uppercase;
    text-align: center;
    color: var(--gray-100-background-text);
  }
}

.feature-text {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 122%;
  text-transform: uppercase;
  text-align: center;
  color: var(--gray-0-background, -text);
  margin-bottom: 60px;
}

.feature-list {
  list-style: disc;
  padding-left: 24px;
  margin-top: 122px;
  margin-bottom: 24px;

  li {
    font-family: "Hind", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--gray-0-background, -text);
  }
}

@media screen and (min-width: 1437px) {
  .feature-title-wrap {
    p {
      font-size: 26px;
    }
  }

  .feature-text {
    max-width: 730px;
    margin: 0 auto;
    margin-bottom: 60px;
  }

  .feature-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-20-border);
    margin-bottom: 24px;

    .second-title {
      margin: 0;
      padding: 0;
      border: none;
    }

    ul {
      margin: 0;
      width: 680px;
    }
  }
}

/* categories */

.categories-text {
  font-family: "Hind", sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 140%;
  color: var(--gray-0-background-text);
  margin-bottom: 40px;
}

.categories-list {
  display: flex;
  flex-direction: column;
  gap: 16px;

  li {
    border: 1px solid var(--gray-20-border);
    padding: 32px 24px;
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 108%;
    text-transform: uppercase;
    color: var(--gray-0-background, -text);
    display: flex;
    align-items: center;
    gap: 16px;

    span {
      font-family: "Hind", sans-serif;
      font-weight: 400;
      font-size: 18px;
      line-height: 140%;
      color: var(--gray-30-light-secondary-text);
    }
  }
}

.section-link {
  font-family: "Hind", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  text-transform: uppercase;
  text-align: end;
  color: #3b60ff;
  text-decoration: underline;
  margin-top: 16px;
}

@media screen and (min-width: 768px) {
  .categories-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 16px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  #categories {
    .section-link {
      margin: 0;
    }
  }
  .categories-text {
    width: 797px;
    margin-left: auto;
    margin-bottom: 80px;
  }

  .categories-list {
    li {
      width: calc((100% - 32px) / 3);
    }
  }
}

/* developer-text */

.developer-text {
  font-family: "Hind", sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 140%;
  color: var(--gray-0-background-text);
  margin-top: 16px;
}

@media screen and (min-width: 1437px) {
  #developer {
    .section-link {
      margin: 0;
    }
  }

  .developer-wrap {
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }

  .developer-img {
    width: 567px;
    flex-shrink: 0;
  }

  .developer-text {
    margin: 0;
  }
}

/* reviews-text */

#reviews {
  .section-link {
    margin-bottom: 40px;
  }
}

.reviews-text {
  font-family: "Hind", sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 140%;
  color: var(--gray-0-background-text);
}

.reviews-description {
  font-family: "Hind", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--gray-0-background, -text);
  margin-bottom: 32px;
}

@media screen and (min-width: 1437px) {
  #reviews {
    .section-link {
      margin: 80px 0;
    }

    .second-title {
      margin-bottom: 16px;
    }
  }
  .reviews-text {
    width: 797px;
    margin-left: auto;
  }

  .reviews-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .reviews-description {
    margin: 0;
  }

  .reviews-list {
    width: 797px;

    li {
      width: calc((100% - 16px) / 2);
    }
  }
}

/* video-wrap */

.video-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 530px;

  img {
    position: absolute;
    max-width: max-content;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* discovery-text */

.discovery-text {
  font-family: "Hind", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--gray-100-background-text);
  margin-bottom: 32px;
}

.discovery-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;

  li {
    border: 1px solid var(--gray-30-light-secondary-text);
    padding: 32px 24px;
    min-height: 150px;
  }

  p {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 108%;
    text-transform: uppercase;
    color: var(--gray-100-background-text);
    margin-bottom: 8px;
  }

  span {
    font-family: "Hind", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--gray-70-dark-secondary-text);
  }
}

@media screen and (min-width: 768px) {
  .discovery-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 16px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .discovery-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 60px;
  }

  .discovery-list {
    width: 797px;
    margin: 0;
  }
}

/* articles */

.articles-title {
  font-family: "Hind", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--gray-0-background-text);
  margin-bottom: 16px;
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 16px;

  li {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 108%;
    text-transform: uppercase;
    color: var(--gray-0-background, -text);
  }

  img {
    width: 100%;
    margin-bottom: 8px;
  }
}

@media screen and (min-width: 1437px) {
  .articles-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 16px) / 2);
    }
  }
}

/* newsletter */

.newsletter-title {
  font-family: "Hind", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--gray-0-background, -text);
  margin-bottom: 24px;
  margin-top: 40px;
}

.newsletter-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;

  li {
    border: 1px solid var(--gray-20-border);
    padding: 32px 24px;
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 108%;
    text-transform: uppercase;
    color: var(--gray-0-background-text);
  }

  span {
    display: block;
    font-family: "Hind", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--gray-30-light-secondary-text);
    margin-bottom: 8px;
  }
}

@media screen and (min-width: 768px) {
  .newsletter-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 16px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .newsletter-list {
    flex-direction: row;
    flex-wrap: nowrap;
    margin-bottom: 60px;

    li {
      width: calc((100% - 48px) / 4);
    }
  }
}

/* news-item */

.news-item {
  width: 314px;
  max-width: 100%;

  h5 {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 108%;
    text-transform: uppercase;
    color: var(--gray-0-background-text);
    margin: 16px 0;
  }

  p {
    font-family: "Hind", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--gray-30-light-secondary-text);
  }
}

@media screen and (min-width: 1437px) {
  .news-swiper {
    margin: 60px 0;
  }
  .news-item {
    width: 590px;
  }
}

/* contact  */

#contact {
  margin-bottom: 140px;
}

.contact-title {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 86px;
  line-height: 108%;
  text-transform: uppercase;
  text-align: center;
  color: var(--gray-0-background-text);
  margin-bottom: 8px;
}

.contact-sub-tile {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 108%;
  text-transform: uppercase;
  text-align: center;
  color: var(--gray-0-background-text);
  margin-bottom: 16px;
}

.contact-text {
  font-family: "Hind", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  text-align: center;
  color: var(--gray-0-background-text);
  margin-bottom: 40px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;

  p {
    font-family: "Hind", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    text-transform: uppercase;
    text-align: center;
    color: var(--gray-0-background-text);
    margin-bottom: 16px;
  }

  a,
  span {
    display: block;
    font-family: "Hind", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    text-align: center;
    color: #cbd3da;
  }

  a:hover {
    text-decoration: underline;
  }
}

@media screen and (min-width: 1437px) {
  #contact {
    margin-bottom: 180px;
  }

  .contact-title {
    font-size: 300px;
  }

  .contact-text {
    max-width: 606px;
    margin: 0 auto;
    margin-bottom: 60px;
  }

  .contact-list {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 73px;

    p,
    span,
    a {
      text-align: start;
    }
  }
}

/* footer */

.footer {
  padding-bottom: 40px;
}

.footer-title {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 108%;
  text-transform: uppercase;
  text-align: center;
  color: var(--gray-0-background-text);
  margin-bottom: 32px;
}

.footer-list {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;

  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--gray-0-background, -text);

  a:hover {
    text-decoration: underline;
  }
}

.footer-description {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  text-align: center;
  color: #636363;
}

@media screen and (min-width: 1437px) {
  .footer {
    padding-bottom: 80px;
  }

  .footer-title {
    font-size: 72px;
    margin-bottom: 60px;
  }

  .footer-list {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 24px 16px;
  background: var(--gray-0-background-text);
  transition: transform 0.5s ease;
}

.popup-title {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 108%;
  text-transform: uppercase;
  color: #002a34;
  margin-bottom: 8px;
}

.popup-text {
  font-family: "Hind", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: #002a34;
  margin-bottom: 32px;
}

.popup-btn {
  border: 1px solid var(--gray-100-background-text);
  border-radius: 4px;
  padding: 16px 26px;

  font-family: "Hind", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  color: var(--gray-100-background-text);

  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: var(--gray-100-background-text);
  color: var(--gray-0-background-text);
}

.popup-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .popup {
    padding: 40px;
  }

  .popup-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 133px;
  }

  .popup-title {
    font-size: 40px;
  }

  .popup-text {
    margin: 0;
  }

  .popup-btn {
  }

  .popup-wrap {
    flex-shrink: 0;
  }
}
