.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9;
}

.modal-content {
  width: 450px;
  height: 600px;
  background-color: #111111;
  margin: 15% auto;
  padding: 20px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0%;
  top: -20%;
  padding-left: 60px;
  padding-right: 60px;
  padding-bottom: 60px;
  padding-top: 70px;
  border-radius: 80px;
}

.close_modal {
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 0px;
  min-width: 60px;
  min-height: 60px;
  text-align: center;
  margin-top: 30px;
  background-color: #EFAF87;
  border-radius: 100px;
}

.modal-content h1 {
  color: #fff;
  margin-block-end: 0px;
}

.modal-content p {
  color: #fff;
  margin-block-start: 5px;
}

.close {
  position: absolute;
  font-size: 36px;
  font-weight: 100;
  display: block;
  top: 8px;
  left: 20px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border: 1px solid #ccc;
  padding: 20px;
  z-index: 9999;
}

.popup-content {
  text-align: center;
}

@media (max-width: 540px) {
  .modal-content {
    width: 390px;
    height: 552px;
    background-color: #111111;
    margin: 15% auto;
    padding: 20px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0%;
    top: -20%;
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 60px;
    padding-top: 70px;
    border-radius: 80px;
    margin-top: 156px;
  }
}