.modal {
  position: fixed;
  inset: 0;
  display: none;
}
.modal.active {
  display: block;
}

.modal__overlay {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10;
}

.modal__content {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 1140px;
  padding: 100px;
  background-color: #fff;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  z-index: 11;
}

.modal__title {
  margin-bottom: 50px;
  text-align: center;
}

.modal__text {
  text-align: center;
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  color: #222222;
}

.form__bottom {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.form__bottom input {
  width: 20px;
  height: 20px;
}
.form__bottom label {
  user-select: none;
  cursor: pointer;
  color: #666666;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
}

.modal__form {
  align-items: center;
}
.modal__form .form__button,
.modal__form .modal__field {
  width: 100%;
  max-width: 444px;
}

.modal__close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}
.modal__close-btn:hover {
  background-color: #d8d8d8;
}

@media screen and (max-width: 900px) {
  .modal__content {
    max-width: 95%;
    border-radius: 25px;
    width: 100%;
  }
}
@media screen and (max-width: 700px) {
  .modal__content {
    padding: 40px;
    padding-top: 70px;
  }
  .modal__title {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 600px) {
  .modal__close-btn {
    top: 20px;
    right: 20px;
  }
}
@media screen and (max-width: 470px) {
  .modal__content {
    padding: 30px 10px;
    padding-top: 70px;
  }
  .modal__close-btn {
    top: 15px;
    right: 15px;
  }
}/*# sourceMappingURL=modal.css.map */