@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

section {
  overflow: hidden;
}

a,
button {
  cursor: pointer;
  background: transparent;
  transition: all 0.2s linear;
  border: none;
}

:root {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 15px;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header {
  background-color: #fff;
  padding-block: 16px;
}
.header__inner {
  max-width: 800px;
  width: 100%;
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  display: block;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 42px;
}

.header__nav a {
  display: block;
  color: #000;
  font-size: 18px;
  font-weight: 600;
  word-wrap: break-word;
  padding: 5px;
}

.close-img {
  display: none;
}

.header__menu {
  display: none;
  width: 50px;
  height: 50px;
  padding: 5px;
}

.home {
  padding-block: 580px 50px;
  background-color: #211b31;
  background-image: url(../images/bg.jpg);
  background-position: top left;
  background-size: cover;
  background-repeat: no-repeat;
}

.home__link {
  display: block;
  max-width: 210px;
  width: 100%;
  margin-inline: auto;
}

.about {
  padding-block: 44px 60px;
}
.about__inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.about__img {
  display: block;
  max-width: 483px;
  width: 100%;
}
.about__img img {
  transition: all 0.3s ease;
}
.about__content {
  max-width: 522px;
  width: 100%;
}
.about__title {
  text-align: center;
  color: #000;
  font-size: 56px;
  font-style: normal;
  font-weight: 400;
  line-height: 67.2px;
  margin-bottom: 30px;
}
.about__text {
  color: #999;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}
.features {
  background: #f8f9fa;
  padding-block: 36px 92px;
}
.features__title {
  color: #000;
  text-align: center;

  font-size: 56px;
  font-style: normal;
  font-weight: 400;
  line-height: 67.2px;
  margin-bottom: 72px;
}
.features__blocks {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.features__item {
  max-width: 248px;
  width: 100%;
  color: #f713fb;
  text-align: center;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 37px;
}
.facts {
  background: #f8f9fa;
  padding-block: 56px 62px;
}
.facts__title {
  color: #000;
  text-align: center;

  font-size: 56px;
  font-style: normal;
  font-weight: 400;
  line-height: 67.2px;
  margin-bottom: 70px;
}
.facts__blocks {
  max-width: 668px;
  width: 100%;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.facts__item {
  max-width: 156px;
  width: 100%;
  text-align: center;
}
.facts__num {
  color: #000;
  text-align: center;

  font-size: 49px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 15px;
}
.facts__label {
  color: #000;

  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
}

.gallery {
  padding-block: 47px 67px;
  overflow-x: hidden;
}

.gallery__title {
  color: #000;
  text-align: center;

  font-size: 56px;
  font-style: normal;
  font-weight: 400;
  line-height: 67.2px;
  margin-bottom: 70px;
}

.gallery__slider {
  position: relative;
  height: 608px;
  user-select: none;
}
.slider__wrapper {
  position: absolute;
  display: block;
  left: 50%;
  width: 1130px;
  height: 608px;
  top: 50%;
  transform: translate(-50%, -50%);
}

.gallery__img {
  width: 342px;
}
.gallery__img img {
  object-fit: contain;
  border-radius: 10px;
}

.swiper-backface-hidden .swiper-slide {
  display: flex !important;
  justify-content: center !important;
}

.footer {
  background: #f75bfb;
  padding-block: 36px;
}

.footer__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 15px;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 11px;
}
.footer__copyright,
.footer__links a {
  display: block;
  color: #fff;

  text-align: center;
  font-size: 16px;

  font-weight: 400;
  line-height: 28px;
}

@media (max-width: 768px) {
  .header__inner {
    max-width: initial;
  }
  .header__nav {
    display: none;
    transform: translateY(-100%);
  }
  .header__menu {
    display: block;
  }

  .show-menu .menu-img {
    display: none;
  }
  .show-menu .close-img {
    display: block;
  }
  .show-menu .header__nav {
    display: flex;
    position: absolute;
    top: 76px;
    gap: 0;
    left: 0;
    width: 100%;
    right: 0;
    flex-direction: column;
    background-color: #fff;
    z-index: 10;
    gap: 0;
    transition: all 0.3s;
    opacity: 1;
    transform: translateY(0);
  }
  .show-menu .header__nav a {
    padding-block: 20px;
    text-align: center;
    width: 100%;
    border-bottom: 2px solid rgb(98, 98, 98);
  }
  .show-menu .header__nav a:last-child {
    border-bottom: none;
  }

  .home {
    padding-block: 220px 15px;
  }

  .about {
    padding-block: 51px;
  }
  .about__inner {
    flex-direction: column;
    gap: 74px;
  }

  .features {
    padding-block: 23px 51px;
  }
  .features__title {
    margin-bottom: 33px;
  }

  .facts {
    padding-block: 22px 34px;
  }
  .facts__title {
    font-size: 52px;
    margin-bottom: 24px;
  }

  .facts__label {
    font-size: 15px;
  }
  .gallery {
    padding-block: 33px;
  }

  .gallery__title {
    font-size: 56px;
    margin-bottom: 67px;
  }
  .gallery__slider {
    height: 427px;
  }
  .slider__wrapper {
    width: 794px;
    height: 427px;
  }

  .gallery__img {
    width: 240px;
  }

  .footer {
    padding-block: 16px 23px;
  }
  .footer__inner {
    flex-direction: column;

    gap: 7px;
  }
}
@media (max-width: 620px) {
  .features__blocks {
    flex-direction: column;
    align-items: center;
  }
  .facts__blocks {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 420px) {
  .footer__links {
    flex-direction: column;
    gap: 3px;
  }

  .home__link {
    max-width: 180px;
  }
}
@media (hover: hover) {
  .header__nav a:hover {
    color: #f75bfb;
  }
  .about__img:hover img {
    filter: brightness(80%);
  }
  .footer__links a:hover {
    color: #000;
  }
}

.terms {
  background-color: #fff;
  color: #000;
  padding-block: 50px;
}
.terms__inner {
  max-width: 900px;
  margin-inline: auto;
}
.terms__title {
  font-size: 28px;

  font-weight: 600;
  word-wrap: break-word;
  margin-bottom: 20px;
}
.terms p {
  color: #171717;
  font-size: 20px;
  word-wrap: break-word;
  margin-bottom: 20px;
  line-height: 1.5;
}
.terms h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-top: 10px;
}
