/* header */

.header {
  display: none;
}

.modal-button {
  border-radius: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 20px;
  right: 20px;
  background: #2a4270;
  z-index: 10;
}

.svg {
  stroke: #f7f8f1;
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
}

.navigation-item {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  color: #f7f8f1;
  transition: color 0.3s ease;
}

.navigation-item:hover {
  text-decoration: underline;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 180px;
  background: #2a4270;
  transform: translateY(-100%);
  transition: transform 1s ease;
  z-index: 8;
}

.modal-navigation-list {
  flex-direction: column;
}

.modal-click {
  transform: translateY(0);
}

@media screen and (min-width: 1437px) {
  .header {
    display: block;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9;
    background: #2a4270;
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .heder-link {
    border-radius: 6px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f8f1;
    width: 270px;
    transition: background-color 0.3s ease;
  }

  .heder-link:hover {
    background: #5983d2;
  }

  .navigation-item {
    font-weight: 400;
    font-size: 16px;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  padding-top: 68px;
}

.hero-image-1 {
  margin: 0 auto;
}

.home-title {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 32px;
  line-height: 150%;
  text-align: center;
  color: #2f2f2f;
  margin-bottom: 36px;
}

.home-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  text-align: center;
  color: #2f2f2f;

  margin-bottom: 20px;
}

.home-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 208px;
  margin: 0 auto;
  border-radius: 6px;
  padding: 6px;
  background: #2a4270;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.home-link:hover {
  background: #5983d2;
}

.hero-image-2 {
  margin: 0 auto;
  margin-top: 19px;
}

.hero-image-desctop {
  display: none;
}

@media screen and (min-width: 1437px) {
  #home {
    padding-top: 172px;
    padding-bottom: 150px;
  }

  .home-container {
    display: flex;
    align-items: center;
  }

  .hero-image-1,
  .hero-image-2 {
    display: none;
  }

  .hero-image-desctop {
    display: block;
    flex-shrink: 0;
    width: 431px;
  }
  .home-title {
    font-size: 70px;
    text-align: start;
    margin-bottom: 36px;
  }

  .home-text {
    margin: 0;
    text-align: start;
    max-width: 344px;
    margin-bottom: 20px;
  }

  .home-link {
    width: 270px;
    margin: 0;
  }
}

/* overview  */

#overview {
  background-color: #017952;
  background-image: url(../images/overview.png);
  background-size: cover;
  padding-top: 100px;
  padding-bottom: 256px;
}

.overview-text {
  color: #f7f8f1;
  margin-bottom: 20px;
}

.overview-link {
  border-radius: 6px;
  background-color: #fff;
  padding: 6px;
  width: 208px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.overview-link:hover {
  background: #5983d2;
}

@media screen and (min-width: 1437px) {
  #overview {
    padding-top: 181px;
    padding-bottom: 421px;
  }

  .overview-text {
    width: 748px;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  .overview-link {
    width: 270px;
  }
}

/* highlights */

#highlights {
  background-image: url(../images/highlights.png);
  background-position: left;
  background-repeat: no-repeat;
}

.highlights-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 32px;

  li {
    border-radius: 41px;
    overflow: hidden;
    border-right: 5px solid #02a702;
    border-bottom: 5px solid #02a702;
    background-color: #f7f8f1;
  }

  div {
    border-right: 10px solid #a5afbd;
    border-bottom: 10px solid #a5afbd;
    padding: 75px 46px;
    border-radius: 36px;
    width: 100%;
    height: 100%;
  }
  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    color: #2f2f2f;
    margin-bottom: 30px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    color: #2f2f2f;
  }
}

@media screen and (min-width: 768px) {
  .highlights-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 32px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .highlights-container {
    display: flex;
    align-items: flex-start;
    gap: 32px;

    .section-title {
      text-align: start;
    }
  }

  .highlight-text {
    width: 466px;
    text-align: start;
  }

  .highlights-list {
    margin: 0;

    div {
      padding: 50px 35px;
    }
  }
}

/* gallery */

.gallery-text {
  width: 466px;
  max-width: 100%;
  margin: 0 auto;
}

.gallery-swiper {
  margin-top: 67px;
}

.gallery-item {
  width: 305px;
  max-width: 100%;
}

/* feedback */

.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.feedback-swiper {
  display: none;
}

.feedback-item {
  border-radius: 20px;
  background-color: #017952;
  background-image: url(../images/reviews.png);
  background-position: left bottom;
  background-repeat: no-repeat;
  padding: 33px;
  padding-right: 15px;

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    color: #f7f8f1;
    text-align: center;
    margin-bottom: 8px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #f7f8f1;
    padding-left: 122px;
  }
}

.feedback-btn-wrap {
  display: none;
}

@media screen and (min-width: 768px) {
  .feedback-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 32px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .feedback-btn-wrap {
    display: flex;
    gap: 22px;
    position: absolute;
    bottom: 0;
    right: 180px;
  }

  .feedback-container {
    position: relative;
  }

  .swiper-btn {
    border-radius: 15px;
    padding: 8px;
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4dbad;
    transition: background-color 0.3s ease;
  }

  .swiper-btn:hover {
    background: #5983d2;
  }

  .feedback-right {
    transform: scaleX(-1);
  }

  .feedback-list {
    display: none;
  }
  .feedback-swiper {
    display: block;
    margin-top: 67px;
  }

  .feedback-item {
    width: 414px;
    padding: 59px 32px;
    min-height: 276px;

    span {
      font-size: 20px;
      padding-left: 140px;
    }
  }
}

/* match-text */

#match {
  padding-bottom: 0;
}

.match-text {
  text-align: start;
  margin-bottom: 20px;
}

.match-link {
  margin: 0;
  position: relative;
  z-index: 2;
}

.match-mobile {
  margin: 0 auto;
  transform: translateY(-40px);
}

.match-desctop {
  display: none;
}

@media screen and (min-width: 768px) {
  .match-mobile {
    transform: translateY(-64px);
  }
}

@media screen and (min-width: 1437px) {
  #match {
    padding-bottom: 65px;
  }

  .match-mobile {
    display: none;
  }

  .match-desctop {
    display: block;
    flex-shrink: 0;
  }

  .match-container {
    display: flex;
    gap: 49px;
  }

  .match-text {
    max-width: 344px;
    text-align: start;
  }
}

/* faq */

#faq {
  background-image: url(../images/highlights.png);
  background-position: left;
  background-repeat: no-repeat;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 51px;
  height: 406px;
}

.faq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq-item {
  border-bottom: 1px solid #000;
  padding: 16px 0;
  cursor: pointer;
}

.faq-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 150%;
  color: #000;
}

.faq-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  color: #000;
  margin-top: 16px;
}

.faq-btn {
  display: block;
  width: 36px;
  height: 36px;
  background-image: url(../images/plus.svg);
  transition: background-image 0.3s ease;
  background-repeat: no-repeat;
  background-position: center;
}

@media screen and (min-width: 768px) {
  .faq-list {
    height: 346px;
  }
}

@media screen and (min-width: 1437px) {
  .faq-container {
    display: flex;
    align-items: flex-start;
    gap: 51px;
  }
  .faq-list {
    width: 685px;
    flex-shrink: 0;
    gap: 16px;
  }

  .faq-title {
    .faq-text {
      font-size: 24px;
    }
  }
}

.hidden {
  display: none;
}

.click {
  background-image: url(../images/minus.svg);
}

/* footer */

.footer {
  padding: 25px 0;
  background: #2a4270;
}

.footer-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;

  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-decoration-skip-ink: none;
  color: #f7f8f1;

  a:hover {
    text-decoration: underline;
  }
}

.footer-description {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 150%;
  text-align: center;
  letter-spacing: 0.01em;
  color: #f7f8f1;
}

@media screen and (min-width: 1437px) {
  .footer-list {
    flex-direction: row;
    justify-content: center;
    gap: 19px;
    font-size: 20px;
  }

  .footer-description {
    font-size: 20px;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 0;
  background: #fff;
  border-top: 2px solid #2a4270;

  transition: transform 0.5s ease;
}

.popup-title {
  font-family: var(--font3);
  font-weight: 400;
  font-size: 24px;
  line-height: 92%;
  text-align: center;
  color: #000;
  margin-bottom: 24px;
}

.popup-text {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #000;
  text-align: center;
  margin-bottom: 24px;
}

.popup-btn {
  border: 1px solid #000;
  border-radius: 8px;
  padding: 11px;
  width: 319px;
  max-width: 100%;
  box-shadow: 0 1px 3px 0 #87614c;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: #000;

  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: #2a4270;
  color: #fff;
}

.popup-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.popup-click {
  transform: translateY(100%);
}

@media screen and (min-width: 1437px) {
  .popup {
    padding: 43px 0;
  }

  .popup-title {
    font-size: 36px;
  }

  .popup-text {
    font-size: 24px;
  }

  .popup-btn {
    width: 269px;
    padding: 18px;
  }

  .popup-wrap {
    flex-direction: row;
    justify-content: center;
  }
}
