/* CSS */
#form-container {
  position: relative;
  width: 62vw;
  margin: 0 auto 0;
  top: 10vw;
  display: flex;
  flex-direction: column;
  gap: 2vw;
  font-family: sans-serif;
  background-color: rgba(255, 255, 255, 0.0075);
  backdrop-filter: blur(0.15vw);
  box-shadow: 0.25vw 0.25vw 0.5vw 0vw rgba(0, 0, 0, 0.25);
  color: white;
  padding: 2vw;
  border-radius: 3vw;
}

.hidden { display: none; }

/* Dropdown base */
.dropdown {
  position: relative;
  width: 100%;
}
.dropdown-toggle {
  width: 100%;
  padding: 1.2vw;
  background-color: rgba(255, 255, 255, 0.0075);
  backdrop-filter: blur(0.15vw);
  box-shadow: 0.25vw 0.25vw 0.5vw 0vw rgba(0, 0, 0, 0.25);
  color: #ffffff61;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 1.25vw;
  margin-bottom: 1vw;
}
.dropdown-toggle:hover { 
    background-color: rgba(255, 255, 255, 0.165);
}

.first-input {
  margin-bottom: -1vw;
}

.dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.0075);
  backdrop-filter: blur(0.15vw);
  box-shadow: 0.25vw 0.25vw 0.5vw 0vw rgba(0, 0, 0, 0.25);
  border-top: none;
  transition: max-height 0.4s ease;
  font-size: 1.15vw;
}
.dropdown.open .dropdown-menu {
  max-height: 20vw;
}
.dropdown-menu li {
  padding: 1vw;
  cursor: pointer;
  color: #ffffff70;
  text-align: center;
}

.dropdown-menu {
  border-radius: 3vw;
  margin-top: 1vw;
  margin-bottom: 2vw;
  position: absolute;
  width: 100%;
  z-index: 99999999999999;
}

.dropdown-menu li:hover {
  background: #f0f0f012;
}

/* Disabled */
.disabled .dropdown-toggle {
  opacity: 0.5;
  pointer-events: none;
}

/* Inputs & textarea & button */
input, textarea, button {
  font-size: 1.2vw;
  padding: 1vw;
  background-color: rgba(255, 255, 255, 0.0075);
  backdrop-filter: blur(0.15vw);
  box-shadow: 0.25vw 0.25vw 0.5vw 0vw rgba(0, 0, 0, 0.25);
  border: none;
  color: white;
  border-radius: 3vw;
}

input {
  width: 21.38%;
}

textarea { resize: vertical; min-height: 15vw; padding: 2vw; }

/* Submit */
#submit-btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}
#submit-btn {
  background-color: rgba(255, 255, 255, 0.0075);
  backdrop-filter: blur(0.15vw);
  box-shadow: 0.25vw 0.25vw 0.5vw 0vw rgba(0, 0, 0, 0.25);
  color: white;
  transition: filter 0.3s;
}
#submit-btn:not(.disabled):hover {
  filter: brightness(1.1);
}

/* Contact methods */
#contact-methods p {
  font-size: 1.4vw;
  text-align: center;
}
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 2vw;
}
.contact-buttons button {
  font-size: 2vw;
  background: none;
  border: none;
  cursor: pointer;
}