.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal {
  background-color: #1f1f1f;
  color: white;
  padding: 3.75rem;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 0px;
  right: 25px;
  color: white;
  font-size: 50px;
  cursor: pointer;
}

form {
  width: 25.75rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  padding: 16px;
  background: transparent;
  color: white;
  backface-visibility: hidden;
  border-radius: 0;
  font-size: 0.875rem;
  line-height: 1.5rem;
  display: block;
  width: 100%;
  border: 1px solid #868686;
  padding: 1rem;
  height: 3.5rem;
  transition: 0.3s ease-in-out;
  margin-top: 10px;
  margin-bottom: 1.25rem;
}

select {
  color: white;
}

.custom-select:valid {
  color: black;
}

select option {
  color: black;
}

.wpcf7-not-valid-tip {
  margin-bottom: 10px;
  margin-top: -10px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus {
  color: white;
  border: 1px solid #868686;
  border-radius: 0 !important;
}

input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="tel"]:focus-visible,
select:focus-visible {
  color: white;
  border: 1px solid #868686;
  outline: none;
  border-radius: 0 !important;
}

.div-btn {
  p {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  input[type="submit"] {
    font-size: 1rem;
    line-height: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    height: 3.75rem;
    padding: 1.125rem;
    font-weight: 600;
    min-width: 18.875rem;
    background-color: transparent;
    border-radius: 0;
    color: white;
    transition: all 0.4s;
  }
  input[type="submit"]:hover {
    background-color: #fff;
    color: black;
  }
}
