.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
  color: black;
  max-width: 100vw;
  max-height: 100vh;
}
.modal.active {
  display: block;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}
.modal__content {
  position: relative;
  margin: 100px auto;
  padding: 100px 20px;
  width: 90%;
  max-width: 1140px;
  background: #fff;
  border-radius: 12px;
  z-index: 2;
}
.modal__content-thanks {
  color: black;
}
.modal__content-projects {
  margin: 20px auto;
  max-height: 95%;
  overflow-y: auto;
  padding: 50px 30px;
}
.modal__title {
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 30px;
  color: #41742e;
}
.modal__text {
  text-align: center;
  font-weight: 500;
  font-size: 30px;
  line-height: 130%;
  color: #222222;
}
.modal__input, .modal__btn {
  margin: 0 auto;
  width: 100%;
  max-width: 540px;
}
.modal__close {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(128, 128, 128, 0.1882352941);
  border-radius: 8px;
  padding-bottom: 5px;
  transition: all 0.3s ease-in-out;
}
.modal__close:hover {
  border: 1px solid rgba(128, 128, 128, 0.8078431373);
}

.callback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-projects__top {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.modal-projects__slide {
  width: 40%;
}
.modal-projects__slide img {
  width: 100%;
  height: 267px;
  object-fit: cover;
  border-radius: 30px;
}

.modal-projects__details {
  width: 60%;
}

.modal-projects__name {
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 24px;
  line-height: 130%;
  color: #0d430d;
}

.modal-projects__text {
  margin-bottom: 20px;
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
  color: #222222;
}

.modal-projects__benefits {
  display: flex;
  gap: 40px;
  max-width: 800px;
  margin: 50px auto;
}

.modal-projects__benefit {
  display: flex;
  gap: 20px;
  align-items: center;
}

.modal-projects__benefit-img {
  width: 68px;
}

.modal-projects__benefit-text {
  font-weight: 600;
  font-size: 24px;
  line-height: 130%;
  color: #0d430d;
}

.modal-projects__form-top {
  display: flex;
  gap: 30px;
}

.modal .decide__form-btn {
  padding: 0 20px;
}
.modal .decide__form-input {
  height: 80px;
}
.modal .decide__form-input-ico {
  height: 80px;
}
@media (max-width: 1260px) {
  .modal__content-projects {
    width: 95%;
  }
}
@media (max-width: 900px) {
  .modal__content-projects {
    padding: 60px 20px 40px;
  }
  .modal-projects__benefits {
    gap: 20px;
  }
}
@media (max-width: 800px) {
  .modal-projects__top {
    flex-direction: column;
    align-items: center;
  }
  .modal-projects__slide {
    width: 100%;
  }
  .modal-projects__details {
    width: 100%;
  }
  .modal-projects__benefits {
    flex-direction: column;
  }
  .modal-projects__form-top {
    gap: 0;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }
  .decide__form-btn {
    width: 100%;
    max-width: 384px;
  }
}
@media (max-width: 600px) {
  .modal__content {
    padding: 80px 20px;
  }
  .modal__text {
    font-size: 24px;
  }
  .modal__content-projects {
    padding: 60px 20px 40px;
  }
  .modal .decide__form-input {
    width: 100%;
  }
}/*# sourceMappingURL=modals.css.map */