/*primary color*/
.bg-cream {
    background-color: #f4f4f4;
}

/*font*/
body {
    font-family: 'Poppins', sans-serif;
}

.bg-yellow-500 {
    background-color: #06A8F4;
}
.text-yellow-500 {
    color: #1d6ca5;
}
.floating { 
    animation-name: floating; 
    animation-duration: 3s; 
    animation-iteration-count: infinite; 
    animation-timing-function: ease-in-out;
} 
@keyframes floating { 
    0% { transform: translate(0, 0px); } 
    50% { transform: translate(0, 8px); } 
    100% { transform: translate(0, -0px); }  
} 
.floating-4 { 
    animation-name: floating; 
    animation-duration: 4s; 
    animation-iteration-count: infinite; 
    animation-timing-function: ease-in-out;
} 
@keyframes floating-4 { 
    0% { transform: translate(0, 0px); } 
    50% { transform: translate(0, 8px); } 
    100% { transform: translate(0, -0px); }  
}
.text-darken {
    color: #333333;
}

/* Contenedor del formulario */

.form-container {
  padding: 20px;
  border-radius: 20px;
  border: 2px solid #0062a9;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 500px;
  margin: 0 auto; /* esto lo centra horizontalmente */
}

/* Título del formulario */
form h1 {
    text-align: center;
    color: #0062a9;
    margin-bottom: 30px;
    font-size: 28px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Estilos para los campos de entrada, selección y área de texto */
input, select, textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 18px;
    font-family: inherit;
}

/* Estilo específico para el área de texto para que no se pueda redimensionar */
textarea {
    resize: none;
}

/* Estilos para el botón de envío */
.btnform {
	width: 50%;
    max-width: 200px; /* Ancho máximo para que no ocupe todo el espacio */
    padding: 10px;
    background-color: #0062a9;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Estilo para el botón de envío al pasar el mouse */
.btnform:hover {
    background-color: #002a54;
}