#prep-modal {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  margin: 0;

  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;

  z-index: 99999;
  transition: opacity 400ms;
}

#prep-container {
  position: absolute;
  height: auto;
  left: 50%;

  background-color: white;
  border: 1px solid rgb(209, 213, 219);
  border-radius: 1rem;
}

@media (min-width: 520px) {
  #prep-container {
    width: 500px;
  }
}

@media (max-width: 520px) {
  #prep-container {
    width: calc(100% - 2rem);
    top: 1rem !important;
    transform: translateX(-50%) !important;
  }

  h1 {
    font-size: calc(100vw * 38.5 / 520);
  }

  h3 {
    font-size: calc(100vw * 24.5 / 520);
  }

  div {
    font-size: calc(100vw * 23.8 / 520) !important;
  }
}

@media (min-height: 600px) {
  #prep-container {
    top: 35%;
    transform: translate(-50%, -65%);
  }
}

@media (max-height: 600px) {
  #prep-container {
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

#prep-msg {
  font-size: 1.7rem;
  margin: 1.2rem;
  text-align: center;
}
