 *{
    transition: all ease .5s;
 }
 body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
}
.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: flex-start;
    *{
        box-sizing: border-box;
    }
}
header {
    position: relative;
    height: 50%;
    background-size: cover;
    background-position: center;
}
header h1 {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}

.content {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.content p {
    font-size: 1.2rem;
    margin: 20px 0;
}
.input-container {
    display: flex;
    flex-direction: column;
    width: 100%; /* Limitar el ancho máximo de la forma (ajustar según necesidad) */
    margin: 0 auto;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
input{
    width: 100%;
    padding: 15px;
    border-radius: 17px;
    border: 1px solid #ddd;
    margin: 10px 0;
    font-size: .8rem;
    background-color: #E8E8E8;
}
input:focus {
    outline: none;
    border-color: #131b4d;
    border-radius: 25px;
}

.half-width-input {
    width: 50%;
}

button:hover {
    background-color: #2c3572;
    scale: 1.01;
    border-radius: 25px;
}
button:active{
    scale: 1;
}
.half-width-container {
    display: flex;
    gap: 10px; /* Espacio entre el input y el botón */
    width: 100%; /* Asegura que ocupe todo el ancho */
}

.half-width-input {
    background-color: #d3d3d3;
    border: 1px solid #ccc;
    border-radius: 25px;
    padding: 15px;
    font-size: 16px;
    width: 50%;
}

.radio-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 50%;
    margin-bottom: 10px;
}

/* Estilo para los labels de los radio buttons */
.radio-container label {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Estilos para cambiar el color cuando un radio button está seleccionado */
.radio-container input[type="radio"]:checked {
    background-color: #131b4d;
    border: 5px solid #131b4d;
}

/* Estilo de los radio buttons */
.radio-container input[type="radio"] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    transition: 0.3s ease;
    cursor: pointer;
}

/* Estilos para el radio button cuando está seleccionado */
.radio-container input[type="radio"]:checked {
    background-color: #131b4d;
    border-color: #131b4d;
}

/* Añadir un círculo interno cuando el radio button está seleccionado */
.radio-container input[type="radio"]:checked::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    margin: 4px;
}

/* Eliminar las flechas en Chrome, Safari, y Edge */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Eliminar las flechas en Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

/* Opcional: Quitar el borde */
input[type="number"]::-webkit-input-placeholder {
    -webkit-appearance: none;
}
.w70{
    width: 60%;
}
.w30{
    width: 20%;
    flex: 1;
}
.form{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
    max-width: 900px;
}
#error-container {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: red;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
   
}
button {
    width: 100%;

    background-color: #131b4d;
    color: white;
    border: none;
    border-radius: 17px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all ease .2s;
    height: fit-content;
    padding: 12px;
    margin:0px !important;
}
