@charset "utf-8";

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 100000;
  /* Sit on top, really high value */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.5);
  /* Dimmed black background */
  backdrop-filter: blur(5px);
  /* Blur effect for background */
}

/* Modal Content */
.modal-content {
  background-color: #ffffff;
  margin: 10% auto;
  /* 10% from the top and centered */
  padding: 40px;
  border-radius: 5px;
  /* Rounded corners */
  border: 1px solid #f2f2f2;
  /* Light border */
  width: 50%;
  /* Adjust width for different devices */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Subtle shadow for depth */
  transition: all 0.3s;
  /* Smooth transition for modal */
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 32px;
  font-weight: normal;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000000;
  text-decoration: none;
}

@media (max-width: 600px) {
  .modal-content {
    width: 90%;
    /* Full width on smaller screens */
    margin: 20% auto;
    padding: 20px;
  }
}
