
.modal {
  /* This way it could be display flex or grid or whatever also. */
  display: block;

  /* Probably need media queries here */
  width: 500px;
  max-width: 90%;
  
  height: 60%;
  max-height: 90vh;
  
  position: fixed;

  z-index: 1050;
  
  left: 50%;
  top: 50%;
  
  /* Use this for centering if unknown width/height */
  transform: translate(-50%, -50%);
  
  /* If known, negative margins are probably better (less chance of blurry text). */
  /* margin: -200px 0 0 -200px; */
  
  background: white;
  box-shadow: 0 0 60px 10px rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  border-bottom: 3px solid #011c8d;
  font-family: Manrope,sans-serif;
  overflow: hidden;

}

@media (max-height: 667px) {
  .modal {
    height: 80%;
  }
}



.closed {
  display: none;
}

.modal-lock {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  background: rgba(0, 0, 0, 0.6);
}

.modal-guts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 50px 50px 50px 50px;
}


.modal h2 {
  font-family: Manrope,sans-serif;
  font-size: 24px;
  font-weight: normal;
  /*margin-top: 0em;*/
  margin-bottom: 1em;
  line-height: 1.2em;
}


@media (max-width: 576px) {
  .modal h2 {
    font-size: 20px;
  }

}

.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #011c8d;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}



.form-control:focus {
  color: #011c8d;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(1, 28, 141, 0.25);
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}

textarea.form-control {
  height: auto;
}



.modal input {
  margin-bottom: 10px;
}

.modal .textarea {
  margin-bottom: 10px;
  resize: vertical;
  max-height: 10em;
}



.modal .close-button {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 10;
  border: 0;
  background: white;
  cursor: pointer;
}


.modal .x-close-modal {
  height: 32px;
  width: 32px;

}

.modal .send-button {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 160px;
  z-index: 1;
  border: 2px solid #011c8d;
  border-radius: 10px;
  padding: 10px 10px;
  text-decoration: none;
  color: black;
  font-size: 14px;
  background: white;
  cursor: pointer;
}

.send-button>svg {
  position: relative;
  bottom: -5px;
  padding-right: 8px;
  fill: #011c8d;
}

.send-button>span {
  position: relative;
  bottom: 4px;
  font-size: 1.2em;
  font-weight: 600;
  color: #011c8d;
}

/*.send-button:hover {*/
/*  !*color: red;*!*/
/*  background: white;*/
/*}*/
