.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #1c1c1c;
  padding: 32px 20px;
  border: 1px solid #1c1c1c;
  height: fit-content;
  width: 600px;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  top: 16px;
}

.close-button {
  color: white;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: -10px;
  right: 10px;
  cursor: pointer;
}

.form-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.modalForm {
  width: 100%;
}

.modal-p {
  font-size: 14px;
}
.modalForm input::placeholder {
  text-align: center;
  color: gray;
}
.modalForm input {
  width: 100%;
}

.btn-form {
  width: 200px;
  align-items: center;
  display: flex;
  justify-content: center;
  color: white;
  padding: 6px;
  text-align: center;
  background-color: #000000;
  border: none;
}

.title {
  width: 200px;
  height: 100px;
  filter: brightness(0) invert(1);
}
@media (min-width: 320px) and (max-width: 389px) {
  .title {
    font-size: 30px;
    color: white;
  }
  .sub-title {
    font-size: 24px;
  }
}
@media (min-width: 320px) and (max-width: 499px) {
  .modal-content {
    width: 300px;
  }
}
@media (min-width: 500px) and (max-width: 1023px) {
  .modal-content {
    width: 400px;
  }
  .modalForm {
    width: 300px;
  }
  .modal-p {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .modalForm {
    width: 300px;
    justify-content: center;
  }
  .modal-p {
    font-size: 16px;
    width: 480px;
  }
  .modal-content {
    top: 55px;
  }
}
