.modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(40,30,30,0.45);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  border-radius: 8px;
  padding: 2.5em 2em 2em 2em;
  min-width: 350px;
  max-width: 90vw;
  box-shadow: 0 8px 48px 0 rgba(44,32,94,0.22);
  font-family: "Source Sans Pro", Arial, sans-serif;
  position: relative;
  animation: modalPop 0.2s ease;
}

@keyframes modalPop {
  from {
    transform: translateY(-30px) scale(0.97);
    opacity: 0;
  }

  to {
    transform: none;
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1.4px solid #eea7a2;
  border-radius: 12px;
  background: #fff;
  color: #d4403a;
  font-size: 1.45em;
  font-weight: 900;
  line-height: 31px;
  text-align: center;
  cursor: pointer;
  z-index: 100;
  padding: 0;
  transition: border 0.16s, color 0.16s, background 0.13s;
  outline: none;
}

  .modal-close:hover,
  .modal-close:focus {
    background: #fff0f0;
    color: #fff;
    border-color: #d4403a;
  }
