.modal {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  background-color: #fafafa;
  padding: 0;
  max-height: 70%;
  width: 55%;
  margin: auto;
  overflow-y: auto;
  border-radius: 2px;
  will-change: top, opacity;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.modal-content {
 padding: 24px;
}

.modalNewsletter {
  align-items: center;
}

.modalNewsletter .modal-header-newsletter h4{
    font-size: 2.28rem;
    line-height: 110%;
    font-weight: 400;
}

.modalNewsletter .modal-footer {
  border-radius: 0 0 2px 2px;
  background-color: transparent;
  padding: 4px 6px;
  height: 56px;
  width: 100%;
  text-align: right;
}

.modalNewsletter .modal-footer button {
  background-color: #38C3B9 !important;
}

#modal-overlay {
  position: fixed;
  z-index: 999;
  top: -25%;
  left: 0;
  bottom: 0;
  right: 0;
  height: 125%;
  width: 100%;
  background: #000;
  display: none;
  will-change: opacity;
}

.modalNewsletter .modal-content {
  margin: 0;
  top: 10%;
  width: 100%;
}

.modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media screen and (max-width: 480px){
  .modal{
    width: 100%;
  }
}
