/* Modal Styles */
.modal {


  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
  overflow: auto; /* Enable scroll if needed */
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 500px; /* Maximum width */
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 5px;

}

.close:hover,
.close:focus {

  color: black;
  text-decoration: none;
  cursor: pointer;
}

#modalMessage {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.4;
  color: #333;
  text-align: center;

}

/* Mobile-specific styles */
@media screen and (max-width: 768px) {


  .modal-content {
      margin: 30% auto;
      width: 90%;
      padding: 15px;
  }

  #modalMessage {
      font-size: 14px;
  }

  .close {
      font-size: 24px;
      padding: 10px;
  }

}