body {
  font-family: Arial, sans-serif;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 6% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 30%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  /*top: 65px;*/
  right: 20px;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin: 8px 0;
}

input,
textarea {
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button {
  background-color: #0d54ff;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #0d54ff;
}

/* Placeholder styling */
input::placeholder,
textarea::placeholder {
  color: #000000;
  opacity: 1;
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: #000000; /* Change to green when focused */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .modal-content {
    width: 90%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 95%;
    max-width: 80%;
    padding: 15px;
  }

  h2 {
    font-size: 18px;
  }

  input, textarea, button {
    padding: 8px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
    }
}