
.modal {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  background-color: rgba(0,0,0,0.9);
  overflow-y: scroll;
  z-index: 9999999;
}

.modal-content {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: auto;
  animation-name: modalopen;
  animation-duration: 1s;
}

.stage {
width: 800px;
max-width: 90%;
background-color: white;
padding: 5vw;
border-radius: 1rem;
position: relative;
margin: 2rem auto;
}

@keyframes modalopen {
  from {opacity: 0}
  to {opacity: 1}
}

.modalClose {
  position: absolute;
  right: 1rem;
  top: 1rem;
  margin: 0;
  width: 3rem;
  height: 3rem;
  z-index: 9999999;
}
@media screen and (max-width: 640px) {
.modalClose {
  width: 2.5rem;
  height: 2.5rem;
}
}


.modalClose span {
display: block;
text-align: center;
position: absolute;
white-space: nowrap;
top: 105%;
font-size: 0.7rem;
color: black;
}

  .modalClose::before,
  .modalClose::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background-color: black;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  }
  
  .modalClose::before {
  transform: rotate(45deg);
  }

  .modalClose::after {
  transform: rotate(-45deg);
  }

.modalClose:hover {
  cursor: pointer;
}

.modal-body {
  padding: 10px 20px;
  color: black;
}

