body {
    font-family: 'Avenir', sans-serif;
    background-color: #f0f8ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow-y: auto; /* Permitir scroll vertical si es necesario */
}

.container {
        .container {
        width: 100%; /* Aumentar el ancho */
        max-width: none; /* Ancho máximo para evitar que sea demasiado grande en pantallas grandes */
        margin: auto; /* Centrar el contenido */
        background-color: white; /* Asegurar que el fondo sea blanco */
        padding: 0; /* Agregar espacio interno */
        border-radius: 0; /* Bordes redondeados */
        box-shadow: none; /* Sombra para resaltar */   
        animation: fadeIn 0.5s ease-in-out;
}
}
/* Asegurar que los inputs numéricos muestren las flechas en Chrome, Safari y Edge */
.option input[type="number"] {
    -moz-appearance: textfield; /* Evita que Firefox lo oculte */
    appearance: auto; /* Restaura las flechas en navegadores modernos */
    width: 60px;
    text-align: center;
    font-size: 16px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Restaurar las flechas en WebKit (Chrome, Edge, Safari) */
.option input[type="number"]::-webkit-inner-spin-button,
.option input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: auto;
    appearance: auto;
    margin: 0;
}
#instructions {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #001f6b;
    margin-bottom: 20px;
    padding: 10px;
    background: #f3f3f3;
    border-radius: 8px;
    width: 80%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}


#welcome-screen {
    background-color: #001f6b; /* Fondo azul oscuro */
    color: white; /* Texto en blanco */
    text-align: center;
    padding: 50px;
    width: 90%; /* Hacemos la pantalla más ancha */
    max-width: 900px; /* Máximo ancho para pantallas grandes */
    margin: auto;
    border-radius: 15px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

#welcome-screen h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

#welcome-screen p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
}

#welcome-screen ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

#welcome-screen ul li {
    font-size: 18px;
    margin-bottom: 10px;
    position: relative;
}

#welcome-screen ul li::before {
    content: "•";
    color: #ffc107;
    font-size: 22px;
    position: absolute;
    left: -15px;
}

#start-test {
    background-color: #ffc107;
    color: black;
    border: none;
    padding: 14px 30px;
    font-size: 22px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

#start-test:hover {
    background-color: #ff9800;
}



@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
}

.option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #e6f7ff;
    border-radius: 6px;
    transition: background 0.3s;
    width: 80%;
    margin: 10px auto; /* Centra las opciones dentro del contenedor */
}

.option:hover {
    background: #d1ecff;
}

input[type='number'] {
    width: 50px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.navigation.first-screen {
    justify-content: flex-end;
}

button {
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #007BFF, #00D4FF);
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s, transform 0.2s;
}

button:hover {
    background: linear-gradient(90deg, #0056b3, #00a3cc);
    transform: scale(1.05);
}

.hidden{
    display: none;
}
.results-container {
    text-align: center;
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

.results-title {
    font-size: 24px;
    font-weight: bold;
    color: #001f6b;
}
.results-pantallazo {
    font-size: 20px;
    margin: 10px 0;
    font-weight: bold;
}

.results-text {
    font-size: 18px;
    margin: 10px 0;
}

.results-list {
    text-align: left;
    display: inline-block;
    margin: 0 auto 20px;
}

.results-subtitle {
    font-size: 22px;
    font-weight: bold;
    margin-top: 20px;
}

.score-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 20px;
    font-weight: bold;
}

.chart-container {
    max-width: 600px;
    margin: auto;
    padding: 20px;
}

.video-title {
    font-size: 22px;
    font-weight: bold;
    margin-top: 30px;
}

.video-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.video-container iframe {
    max-width: 100%;
    border-radius: 10px;
}
.text{
    color:#eee;
    align-content: center;
}

#progress-container {
    margin-top: 20px;
    text-align: center;
    width: 80%;  /* Ajusta el ancho general */
    margin-left: auto;
    margin-right: auto;
}

#progress-bar {
    width: 100%;
    height: 25px; /* Aumenta la altura */
    margin-top: 10px;
    border-radius: 10px;
    border: none;
    appearance: none;
    background: #f3f3f3; /* Fondo gris claro para la barra */
}

#progress-bar::-webkit-progress-bar {
    background-color: #f3f3f3;
    border-radius: 10px;
}

#progress-bar::-webkit-progress-value {
    background: linear-gradient(90deg, #2196F3, #00bfae); /* Degradado entre azul y turquesa */
    border-radius: 10px;
}

#progress-bar::-moz-progress-bar {
    background: linear-gradient(90deg, #2196F3, #00bfae); /* Degradado entre azul y turquesa para Firefox */
}

#progress-text {
    font-size: 18px; /* Tamaño de fuente más grande */
    font-weight: bold;
    margin-top: 10px;
    color: #2196F3; /* Puedes personalizar el color del texto */
}
.form {
    align-items: center; /* Centra el contenido horizontalmente */
    background-color: #001475;
    border-radius: 20px;
    box-sizing: border-box;
    padding: 20px;
    width: 320px;
    margin: 0 auto; /* Asegura que se centre también horizontalmente */
}
.title {
    color: #eee;
    font-family: sans-serif;
    font-size: 36px;
    font-weight: 600;
    margin-top: 30px;
    align-content: center;
}

.input-container {
    height: 50px;
    position: relative;
    width: 100%;
    
}

.ic1 {
    margin-top: 40px;
}

.ic2 {
    margin-top: 30px;
}

.input {
    background-color: #303245;
    border-radius: 12px;
    border: 0;
    box-sizing: border-box;
    color: #eee;
    font-size: 18px;
    height: 100%;
    outline: 0;
    padding: 4px 20px 0;
    width: 100%;
}

.cut {
    background-color: #001475;
    border-radius: 10px;
    height: 20px;
    left: 20px;
    position: absolute;
    top: -20px;
    transform: translateY(0);
    transition: transform 200ms;
    width: 76px;
}

.cut-short {
    width: 80px;
}

.input:focus ~ .cut,
.input:not(:placeholder-shown) ~ .cut {
    transform: translateY(8px);
}

.placeholder {
    color: #65657b;
    font-family: sans-serif;
    left: 20px;
    line-height: 14px;
    pointer-events: none;
    position: absolute;
    transform-origin: 0 50%;
    transition: transform 200ms, color 200ms;
    top: 20px;
}

.input:focus ~ .placeholder,
.input:not(:placeholder-shown) ~ .placeholder {
    transform: translateY(-30px) translateX(10px) scale(0.75);
}

.input:not(:placeholder-shown) ~ .placeholder {
    color: #808097;
}

.input:focus ~ .placeholder {
    color: #ffffff;
}

.submit {
    background-color: rgba(71, 5, 254, 0.929);
    border-radius: 12px;
    border: 0;
    box-sizing: border-box;
    color: #eee;
    cursor: pointer;
    font-size: 18px;
    height: 50px;
    margin-top: 38px;
    text-align: center;
    width: 100%;
}

.submit:active {
    background-color: #06b;
}