/* header */

.header {
  display: none;
}

.open-modal {
  position: absolute;
  top: 60px;
  right: 48px;
  z-index: 5;
}

.close-modal {
  position: absolute;
  top: 60px;
  right: 48px;
  z-index: 9;
}

.svg {
  stroke: var(--text-color);
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.navigation-item {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--text-color);
  transition: border-color 0.3s ease;
}

.navigation-item:hover {
  color: #fff;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
  background: radial-gradient(
    50% 50% at 50% 50%,
    #fff3eb 0%,
    #ffded3 48.08%,
    #ffcdc4 100%
  );
  padding-top: 190px;
  padding-left: 112px;
  transform: translateY(-100%);
  transition: transform 1.5s ease;
  z-index: 8;
}

.modal-navigation-list {
  flex-direction: column;
  gap: 34px;
}

.modal-click {
  transform: translateY(0);
}

@media screen and (min-width: 1437px) {
  .header {
    display: block;
    position: fixed;
    z-index: 9;
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    padding: 30px 0;
    border-radius: 20px;
    padding: 12px;
    width: 1280px;
    background: radial-gradient(
      50% 50% at 50% 50%,
      #fff3eb 0%,
      #ffded3 48.08%,
      #ffcdc4 100%
    );
  }

  .navigation {
    display: block;
  }

  .navigation-list {
    justify-content: space-between;
  }

  .navigation-item {
    font-size: 16px;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  padding-top: 200px;
  padding-bottom: 0;
  background-image: url(../images/home.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 30px;
  overflow: hidden;
}

.home-logo {
  margin: 0 auto;
  margin-bottom: 300px;
}

.home-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 288px;
  margin: 0 auto;
  max-width: 100%;
  padding: 22px;
  background: radial-gradient(
    50% 50% at 50% 50%,
    #fff3eb 0%,
    #ffded3 48.08%,
    #ffcdc4 100%
  );
  transition: background-color 0.3s ease;
  border-radius: 20px 20px 0 0;
  transform: translateY(10px);
}

.home-img {
  width: 241px;
  margin: 0 auto;
}

.home-wrapper {
  max-width: 50%;
}

@media screen and (min-width: 1437px) {
  #home {
    padding-top: 165px;
  }

  .home-logo {
    margin-bottom: 170px;
  }

  .home-link {
    width: 300px;
    padding: 32px;
  }
}

/* highlights */

.highlights-item {
  width: 305px;
  max-width: 100%;
  position: relative;

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: var(--text-color);
    padding: 8px 2px;
    border: 0.5px solid var(--title-color);
    border-radius: 20px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: var(--accent-color);
    border: 0.5px solid var(--title-color);
    border-radius: 20px;
    padding: 8px 2px;
    width: 200px;
    position: absolute;
    left: 0;
    bottom: 45px;
  }
}

/* about */

.about-img {
  margin: 0 auto;
  margin-bottom: 22px;
}

.about-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #000;
}

.about-link {
  display: none;
}

@media screen and (min-width: 1437px) {
  .about-img {
    margin: 0;
    flex-shrink: 0;
  }
  .about-link {
    display: block;
    width: 243px;
    margin-top: 48px;
  }

  .about-cover {
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
    gap: 20px;
  }
}

/* gallery */

.gallery-wrapper {
  display: flex;
  align-items: center;
}

.gallery-item {
  width: 335px;
}

.gallery-item2 {
  width: 200px;
}

.gallery-btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.gallery-btn {
  svg {
    fill: #2e2c2a;
    transition: fill 0.3s ease;
  }
}

.gallery-btn:hover {
  svg {
    fill: #fff;
  }
}

@media screen and (min-width: 1437px) {
  .gallery-item {
    width: 600px;
  }

  .gallery-item2 {
    width: 300px;
  }
}

/* clients */

.clients-item {
  width: 305px;

  div {
    border: 0.5px solid var(--text-color);
    border-radius: 20px;
    padding: 10px 14px;
    margin-top: 6px;
    min-height: 132px;
  }

  p {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 22px;
    line-height: 150%;
    text-transform: uppercase;
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 8px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: var(--text-color);
  }
}

/* reviews */

.reviews-wrapper {
  padding-top: 30px;
}

.reviews-item {
  border: 1px solid var(--accent-color);
  border-radius: 20px;
  padding: 20px;
  padding-left: 0;
  display: flex;
  align-items: center;
  width: 273px;
  min-height: 196px;
  max-width: 100%;
  position: relative;

  img {
    transform: translateX(-20px);
  }

  h5 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: var(--accent-color);
    margin-bottom: 14px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--text-color);
  }

  .dots {
    transform: translateX(0);
    position: absolute;
    right: 7px;
    top: -28px;
  }
}

.reviews-img {
  display: none;
}

@media screen and (min-width: 1437px) {
  .reviews-img {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
  }
}

/* footer */

.footer {
  padding: 33px 0;
  background: var(--title-color);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-link {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 22px;
  line-height: 150%;
  text-transform: uppercase;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgb(255, 243, 235) 0%,
    rgb(255, 222, 211) 48.076921701431274%,
    rgb(255, 205, 196) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: color 0.3s ease;
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgb(255, 243, 235) 0%,
    rgb(255, 222, 211) 48.076921701431274%,
    rgb(255, 205, 196) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 18px;
}

@media screen and (min-width: 1437px) {
  .footer {
    padding: 46px 0;
  }
  .footer-list {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-link {
    font-size: 22px;
  }

  .footer-description {
    margin-top: 50px;
    text-align: center;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  width: 100%;
  z-index: 10;
  bottom: 0;
  padding: 38px 0;
  background: var(--title-color);
  transition: transform 0.5s ease;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgb(255, 243, 235) 0%,
    rgb(255, 222, 211) 48.076921701431274%,
    rgb(255, 205, 196) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}

.popup-btn {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 22px;
  line-height: 150%;
  text-transform: uppercase;
  color: #ffcdc4;
  border-radius: 40px;
  padding: 20px;
  border: 1px solid #ffcdc4;
  text-transform: uppercase;
  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: radial-gradient(
    50% 50% at 50% 50%,
    #fff3eb 0%,
    #ffded3 48.08%,
    #ffcdc4 100%
  );
  color: var(--title-color);
}

.popup-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.popup-click {
  transform: translateY(100%);
}

@media screen and (min-width: 1437px) {
  .popup-container {
    display: flex;
    align-items: center;
    gap: 180px;
  }

  .popup-text {
    margin: 0;
    font-size: 18px;
  }

  .popup-wrap {
    flex-direction: row;
    gap: 26px;
    flex-shrink: 0;
  }
}
