@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#modal-overlay {
  position: fixed;
  top: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  display: none;
  background-color: #000000b0;
}

.modal-form {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 550px;
  /* width: 35rem; */
  display: flex;
  height: 450px;
  background: #268964;
  /* background: white; */
  padding: 4rem 2rem;
  border-radius: 10px;
  animation: fadeIn 0.3s ease-in;

  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#close-popup-1 {
  color: #ffc107;
  cursor: pointer;
  font-size: 1.5rem;

  position: absolute;
  top: 2rem;
  right: 2rem;
}
.modal-form h2 {
  color: #ffc107;
  text-align: center;
}
.modal-form form {
  margin-top: 2rem;
  display: flex;
  width: 100%;
  flex-direction: column;
}
/* .modal-form form > * {
  margin-bottom: 1rem;
  padding: 0.5rem;
  font-size: medium;
  border-radius: 10px;
  background: transparent;
  color: #ffc107;
} */

.modal-form form > input {
  outline: none;
  margin-bottom: 1rem;
  padding: 0.5rem;
  font-size: medium;
  border-radius: 10px;
  background: transparent;
  color: #ffc107;

  border: 2px solid #ffc107;
}
.modal-form form > input::placeholder {
  color: #ffc107;
}

.modal-form form > button {
  width: 100%;

  border: 2px solid #ffc107;
  font-weight: bold;
  background: #ffc107;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  font-size: medium;
  border-radius: 10px;
}

/* .modal-form form > button:hover {
  background: #ffc107;
  color: white;
  cursor: pointer;
} */

@media (max-width: 580px) {
  .modal-form {
    width: 80%;
  }
}
