.modal-form {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: scroll;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeOut 0.1s forwards;
  z-index: 1000;
}
.modal-form--open {
  display: block;
}
.modal-form__wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: scroll;
}
.modal-form__wrapper .form {
  position: relative;
  width: 48rem;
  background-color: #f8f8f8;
  padding: 3.5rem 6rem;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
}
.modal-form__wrapper .form h4 {
  text-transform: none;
  text-align: center;
  margin-bottom: 2rem;
}
.modal-form__wrapper .form-bottom {
  margin-top: 0;
}
.modal-form-close {
  position: absolute;
  right: 3.3rem;
  top: 3rem;
  width: 1rem;
  height: 1rem;
  z-index: 10000;
  transition: all 0.3s;
}
.modal-form-close::before, .modal-form-close::after {
  position: absolute;
  content: "";
  top: 0;
  right: 45%;
  width: 2px;
  height: 100%;
  transform: rotate(45deg);
  background-color: #3f3f46;
  border-radius: 2rem;
  transition: all 0.3s;
}
.modal-form-close::after {
  transform: rotate(-45deg);
}
.modal-form-close:hover, .modal-form-close:focus {
  cursor: pointer;
  transform: scale(1.2);
}

.no-scroll {
  overflow: hidden;
}