#react-portal-modal {
  position: fixed;
  inset: 0;
  /* background-color: rgba($theme-teal-100, 0.5); */
  z-index: 2;
}

.modal {
  position: absolute;
  background-color: #2daaa5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  z-index: 3;
  padding: 40px 20px 20px;
  opacity: 1;
  pointer-events: none;
  min-width: 70vmin;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.close-btn {
  position: absolute;
  pointer-events: all;
  cursor: pointer;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: transparent;
  border: none;
}

.close-btn svg {
  pointer-events: none;
}
.modal-enter-done {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.modal-exit {
  opacity: 0;
  transform: scale(0.4);
}

.modal-content {
  padding: 20px;
  /* color: $theme-white; */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
