/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 9;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.heder-logo {
  display: block;
  width: 101px;
}

.navigation {
  display: none;
}

.open-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  width: 50px;
  height: 50px;
  box-shadow: 3px 3px 4px 0 rgba(0, 0, 0, 0.25);
  background: #fff;
}

.close-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  width: 50px;
  height: 50px;
  box-shadow: 3px 3px 4px 0 rgba(0, 0, 0, 0.25);
  background: #fff;
}

.svg {
  stroke: #000;
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
}

.navigation-item {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  color: #000;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 50px;
  text-transform: uppercase;
  transition: border-color 0.3s ease;
}

.navigation-item:hover {
  border-color: #000;
}

.modal {
  position: fixed;
  top: 70px;
  left: 50%;
  z-index: 8;
  border-radius: 50px;
  padding: 180px 20px;
  backdrop-filter: blur(50px);
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-150%) translateX(-50%);
  transition: transform 1.5s ease;
  z-index: 8;
}

.modal-navigation-list {
  flex-direction: column;
  gap: 32px;
}

.modal-click {
  transform: translateY(0) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .header {
    padding: 30px 0;
    background: #f5f5f5;
  }
  .header-container {
    justify-content: center;
  }

  .heder-logo {
    display: none;
  }

  .navigation {
    display: block;
  }

  .navigation-list {
    gap: 13px;
  }

  .navigation-item {
    font-size: 16px;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  padding-top: 115px;
  background-image: url(../images/lines.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.home-logo {
  display: none;
}

.background {
  position: absolute;
  bottom: 0;
  left: 50%;
  max-width: max-content;
  z-index: -1;
}

.home-title {
  font-family: var(--third-family);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 17px;
}

.home-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: #000;
  margin-bottom: 14px;
}

.home-link {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  border-radius: 50px;
  width: 201px;
  padding: 8px;
  background: #647ad2;
  margin-bottom: 12px;
  transition: background-color 0.3s ease;
}

.home-link:hover {
  background: #272727;
}

.home-img {
  width: 241px;
  margin: 0 auto;
}

.home-wrapper {
  max-width: 50%;
}

@media screen and (min-width: 1437px) {
  #home {
    padding-top: 120px;
    padding-bottom: 249px;
  }

  .home-logo {
    display: block;
    width: auto;
    margin: 0 auto;
  }

  .home-title {
    font-size: 40px;
    margin-bottom: 28px;
  }

  .home-text {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .home-link {
    width: 270px;
  }

  .home-cover {
    display: flex;
    align-items: center;
    gap: 150px;
  }

  .home-img {
    width: auto;
    margin: 0;
    flex-shrink: 0;
  }
}

/* about */

.about-container {
  position: relative;
}

.tool1 {
  position: absolute;
  width: 60px;
  top: -20px;
  left: 50%;
  transform: translateX(60px);
}

.about-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  color: #000;
  margin-bottom: 65px;

  span {
    font-weight: 700;
  }
}

.about-arrow {
  display: block;
  width: 145px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.about-arrow:hover {
  transform: scale(0.95);
}

@media screen and (min-width: 1437px) {
  .about-text {
    font-size: 20px;
    max-width: 670px;
    margin: 0 auto;
    margin-bottom: 65px;
  }

  .tool1 {
    width: auto;
    top: -40px;
    transform: translateX(80px);
  }

  .about-arrow {
    width: 222px;
    margin: 0 auto;
  }
}

/* features */

.features-img {
  width: 150px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 40px;

  li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    color: #000;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    color: #000;
  }
}
@media screen and (min-width: 1437px) {
  .features-container {
    position: relative;
  }

  .features-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 57px 392px;
    align-items: flex-start;
    justify-content: space-between;

    li {
      width: calc((100% - 392px) / 2);
      align-items: flex-start;
    }

    p,
    span {
      font-size: 20px;
      text-align: start;
    }
  }

  .features-img {
    width: auto;
    margin: 0;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
  }

  .item5 {
    transform: translateX(368px);
  }
}

/* become */

.become-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: #000;
  margin-bottom: 24px;
}

.become-boy {
  width: 125px;
  flex-shrink: 0;
}

.become-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 24px;

  .main-title {
    text-align: start;
  }
}

@media screen and (min-width: 1437px) {
  .become-boy {
    width: 343px;
  }

  .become-text {
    font-size: 20px;
  }
}

/* gallery */

.gallery-item {
  width: 291px;
}

.gallery-btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 29px;
  margin-top: 32px;
}

.gallery-btn {
  width: 67px;
  height: 67px;
}

.gallery-right {
  transform: rotate(-90deg);
}

.gallery-left {
  transform: rotate(90deg);
}

@media screen and (min-width: 1437px) {
  .gallery-item {
    width: 342px;
  }
}

/* faq */

.faq-container {
  position: relative;
}

.tool2 {
  position: absolute;
  width: 70px;
  top: -30px;
  left: 50%;
  transform: translateX(-120px);
}

.tool3 {
  position: absolute;
  width: 60px;
  top: -20px;
  left: 50%;
  transform: translateX(60px);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  width: 100%;
  border-radius: 50px;
  padding: 16px 24px;
  background: #fff;
  cursor: pointer;
}

.faq-btn {
  flex-shrink: 0;
  transform: rotate(45deg);
  transition: transform 0.3s ease;

  svg {
    fill: none;
    stroke: #000;
  }
}

.faq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  color: #000;
}

.faq-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #000;
  padding-top: 16px;
}

@media screen and (min-width: 1437px) {
  .tool2 {
    width: auto;
    top: 143px;
    left: 0;
    transform: translateX(0);
  }

  .tool3 {
    width: auto;
    top: 312px;
    left: auto;
    right: 0;
    transform: translateX(0);
  }

  .faq-list {
    width: 728px;
    margin: 0 auto;
    gap: 16px;
  }
  .faq-item {
    border-radius: 50px;
    padding: 16px 32px 20px 32px;
  }

  .faq-title,
  .faq-text {
    font-size: 20px;
  }
}

.hidden {
  display: none;
}

.click {
  transform: rotate(180deg);
}

/* reviews */

.reviews-item {
  border-radius: 50px;
  padding: 20px 30px;
  width: 342px;
  max-width: 100%;
  background: #fff;

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    color: #000;
    margin-bottom: 16px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #000;
    margin-bottom: 22px;
  }
}

/* footer */

.footer {
  box-shadow: 0 -4px 20px 0 rgba(0, 0, 0, 0.15);
  background: #fff;
}

.footer-list {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
}

.footer-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #000;
  transition: color 0.3s ease;
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0.01em;
  color: #000;
  text-align: center;
  margin-top: 24px;
}

@media screen and (min-width: 1437px) {
  .footer-list {
    flex-direction: row;
    justify-content: center;
    gap: 19px;
  }

  .footer-link {
    font-size: 20px;
  }

  .footer-description {
    font-size: 20px;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);

  padding: 40px 28px;

  background: #fff;
  transition: transform 0.5s ease;
}

.popup-title {
  font-family: var(--font4);
  font-weight: 400;
  font-size: 24px;
  line-height: 92%;
  color: #000;
  margin-bottom: 24px;
}

.popup-text {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #000;
  margin-bottom: 24px;
}

.popup-btn {
  border: 1px solid #000;
  border-radius: 8px;
  padding: 15px 12px;
  box-shadow: 0 1px 3px 0 #87614c;
  font-family: var(--font3);
  font-weight: 400;
  font-size: 16px;
  color: #000;
  text-transform: uppercase;
  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: #647ad2;
  color: #fff;
}

.popup-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.popup-click {
  transform: translateY(120%) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .popup-title {
    font-size: 36px;
    text-align: center;
  }
  .popup-text {
    font-size: 24px;
    text-align: center;
  }
  .popup-wrap {
    flex-direction: row;
    justify-content: center;
  }

  .popup-btn {
    display: block;
    text-align: center;
    width: 269px;
  }
}
