.container {
  margin: auto;
  width: 50%;
  border: none;
  padding: 10px;
  text-align: center;
}


h2 {
  font-weight: regular;
  font-size: 2em;
  font-family: Lexend-VariableFont_wght;
  letter-spacing: 1.5px;
  color: white;
}

p {
   color: white;
}

.input-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  margin: 0 auto 15px;
  border: none;
  
}

.input-field {
  width: 100%;
  padding: 1em; /* Reduced padding */
  outline: none;
  border: none;
  font-size: 1em;
  background: AliceBlue;
  border-radius: 2px 2px 2px 2px;
  height: 1.5em; /* Keep height consistent */
  line-height: 1.5em; /* Adjust line-height for better text alignment */
}

/* Style for dropdown */
select.input-field {
  background: AliceBlue;
  cursor: pointer;
  padding: 0.5em 1em; /* Adjusted padding to keep text visible */
  height: 4em; /* Maintain same height as other input fields */
  line-height: normal; /* Reset line-height to default */
  border-radius: 2px 2px 2px 2px; /* Same border radius */
  font-size: 1em; /* Same font size */
  color: black; /* Ensure the text color is visible */
}

/* Ensure selected option is visible */
select.input-field option {
  background: AliceBlue; /* Background color of dropdown options */
  color: black; /* Text color of options */
}

.btn {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  cursor: pointer;
  width: 90%;
  opacity: 0.9;
  border-radius: 2px;
  height: 3.0em;
  font-size: 1.5em;
  font-family: Lexend-VariableFont_wght;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background-color: #9b0310;
  color: white;
  opacity: 1;
  border: 2px solid #9b0310;
}


input,
select {
  background-color: AliceBlue;
}

input:focus,
select:focus {
  background-color: AliceBlue;
}

@keyframes fadeOutBorder {
  0% {
    outline: 10px solid #ff0000;
  }
  100% {
    outline: 10px solid transparent;
  }
}

.fade-border {
  animation: fadeOutBorder 2s ease-in-out forwards;
}



