@charset "UTF-8";
.gift-banner {
  position: relative;
  background-color: #1d1d1d;
  color: #fff;
  overflow: hidden;
  min-height: 450px;
  display: flex;
  padding: 70px 45px;
}
@media (max-width: 968px) {
  .gift-banner {
    min-height: 350px;
  }
}
@media (max-width: 568px) {
  .gift-banner {
    padding: 14px;
    min-height: 210px;
  }
}

.gift-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-self: self-end;
}
@media (max-width: 768px) {
  .gift-banner__content {
    height: -webkit-fill-available;
    justify-content: space-between;
  }
}

.gift-banner__title {
  font-family: RussoOne;
  font-weight: 400;
  font-size: 54px;
  line-height: 130%;
  margin-bottom: 24px;
}
@media (max-width: 1060px) {
  .gift-banner__title {
    font-size: 36px;
  }
}
@media (max-width: 560px) {
  .gift-banner__title {
    font-size: 20px;
  }
}

.gift-banner__btn {
  display: inline-block;
  padding: 16px 26px;
  background-color: #fff;
  color: #292929;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s;
  width: max-content;
}
.gift-banner__btn:hover {
  background-color: #ccc;
}
@media (max-width: 560px) {
  .gift-banner__btn {
    font-size: 13px;
    padding: 13px 26px;
  }
}

/* Параллакс-слой */
.gift-banner__certificates {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.certificate {
  position: absolute;
  will-change: transform;
  max-width: 1200px;
  transition: transform 0.3s ease-out;
}
@media (max-width: 1360px) {
  .certificate {
    width: 100%;
  }
}

.certificate--1 {
  top: -50%;
  left: 13%;
}
@media (max-width: 1500px) {
  .certificate--1 {
    top: -50%;
    left: -7%;
  }
}
@media (max-width: 1360px) {
  .certificate--1 {
    top: -45%;
    left: -10%;
  }
}
@media (max-width: 1060px) {
  .certificate--1 {
    top: -13%;
    left: 5%;
  }
}
@media (max-width: 768px) {
  .certificate--1 {
    top: 0;
    left: 5%;
  }
}
@media (max-width: 568px) {
  .certificate--1 {
    top: 0%;
    left: -5%;
    width: 120%;
  }
}

.certificate--2 {
  top: 50%;
  left: 45%;
}

/* Фоновое изображение */
.gift-banner__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background-image: url("./images/girl-shopping.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  z-index: 0;
}
@media (max-width: 1060px) {
  .gift-banner__bg {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .gift-banner__bg {
    transform: scale(-1, 1);
    background-image: linear-gradient(180deg, rgba(41, 41, 41, 0) 0%, #292929 100%), url("./images/girl-shopping.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

.gift-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.gift-modal.active {
  display: flex;
}

.gift-modal__window {
  background: #fff;
  color: #000;
  max-width: 500px;
  width: 90%;
  padding: 30px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.gift-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.gift-modal__content h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.gift-modal__content p {
  margin-bottom: 10px;
}

.gift-modal__content ul {
  margin: 0 0 20px 0;
  padding-left: 20px;
  list-style: disc;
}

.gift-modal__action {
  display: inline-block;
  padding: 12px 20px;
  background-color: #292929;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.gift-modal__action:hover {
  background-color: #444;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*# sourceMappingURL=styles.css.map */
