@charset "utf-8";
### CSS (styles.css)
```css
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}






body {
    font-family: Arial, sans-serif;
    background-color:#35264F;
    display:;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    display: flex;
    flex-direction: column; /* Coloca los elementos en columna */
    justify-content: center; /* Centra los elementos verticalmente */
    align-items: center;    /* Centra los elementos horizontalmente */
    width: 35%;             /* Ancho del contenedor */
    height: 35%;            /* Altura del contenedor */
    background-color: #FFF; /* Color vino */
    border-radius: 10px;    /* Bordes redondeados opcionales */
    margin: auto;           /* Centra el contenedor dentro del body */
	margin-top:200px;

}







/* Aplica la animación de aparición lenta */
body {
    opacity: 0;
    animation: fadeIn 5s ease-in forwards;
}

/* Define la animación de aparición */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Opcional: estilos adicionales */
.Titulo {
    margin-top: 50px;
	background-color:#999;
	border-radius: 15px;
}

.Pruebate {
    margin-top: 50px;
	height:100px;
	text-align:center;
	color:orange;
/*

  text-decoration: underline;
   background: linear-gradient(45deg, red, orange, yellow, green, blue, indigo, violet);



            background-size: 300% 300%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: rainbow 5s linear infinite;
*/


}




.container {
    margin-top: 200px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.5s;
}

button:hover {
    background-color: #0056b3;
}

             




















.titulo {
    font-size:;        /* Tamaño grande para el título */
    color: white;           /* Color del texto */
    margin-bottom: 20px;    /* Espaciado entre el título y el siguiente div */
}

.content {
    width: 80%;             /* Ancho del contenido */
    height: auto;           /* Ajusta la altura según el contenido */
    text-align: center;     /* Centra el texto dentro del div */
    color:#000;           /* Color del texto */
    padding: 20px;          /* Espaciado interno */
    background-color: rgba(255, 255, 255, 0.1); /* Fondo translúcido opcional */
    border-radius: 5px;     /* Bordes redondeados */
}






progress {
border: none;
border-radius: 2rem;
width: 95%;
height: 10px;
animation: prog 2s linear;


}

::-webkit-progress-bar-value {background-color: #900; border-radius: 2rem;}
::-webkit-progress-value {background-color: #900; border-radius: 2rem;}
::-moz-progress-bar {background-color: #900; border-radius: 2rem;}



@keyframes prog {
0% {width: 0%; background-color: #f1f1f1;}
100% {width: 100% color: #000;}
}




 label {
            font-size: 12px; /* Tamaño de fuente */
            text-align: justify; /* Justificación del texto */
            display: block; /* Asegura que el texto ocupe toda la línea */
            margin-bottom: 10px; /* Espaciado entre opciones */
        }


h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
    margin-bottom: 15px;
}

.option {
    margin-bottom: 10px;
    text-align: left;

}

input[type="radio"] {
    margin-right: 10px;
}

button {
    background-color: #800000;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
}

button:hover {
    background-color: #45a049;
}




#feedback {
    margin-top: 20px;
    font-size: 18px;
    color: red;
	
	
}


/* Estilo para pantallas más pequeñas (dispositivos móviles) */
@media screen and (max-width: 768px) {
    .container {
        width: 90%;
        height: auto;
        padding: 20px;
    }

    .titulo {
        font-size: 20px;
    }

    .content {
        width: 100%;
        padding: 15px;
    }

    button {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .titulo {
        font-size: 18px;
    }

    button {
        font-size: 12px;
        padding: 8px 15px;
    }
}

```






### JavaScript (script.js)
```javascript
document.getElementById('quizForm').addEventListener('submit', function(e) {
    e.preventDefault(); // Evita el recargar la página

    // Obtener el valor seleccionado
    const selectedAnswer = document.querySelector('input[name="answer"]:checked');

    if (!selectedAnswer) {
        document.getElementById('feedback').innerText = "Por favor, selecciona una respuesta.";
        return;
    }

    if (selectedAnswer.value === 'correcta') {
        document.getElementById('feedback').style.color = 'green';
        document.getElementById('feedback').innerText = "¡Correcto!";
    } else {
        document.getElementById('feedback').style.color = 'red';
        document.getElementById('feedback').innerText = "Respuesta incorrecta. Redirigiendo al contenido de aprendizaje...";

        // Redireccionar después de 3 segundos a una página con el contenido
        setTimeout(function() {
            window.location.href = 'contenido.html'; // URL de la página con el contenido
        }, 3000);
    }
});/* CSS Document */
