@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    color: #1a1a1a;
    margin-top: 80px;
}

h3 {
    margin-bottom: 20px;
    color: rgb(67, 173, 67);
}

.contenedorFormularios {
    width: 80%;
    max-width: 800px;
}

.contenedorPregunta {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.dificultadPregunta {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #4caf50;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.tiempoPregunta {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #555;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.tiempoPregunta i {
    margin-left: 5px;
    font-size: 18px;
}

.textoPregunta {
    margin-top: 40px;
    font-size: 18px;
    line-height: 1.5;
    color: #333;
}

.pistaPregunta {
    display: inline-block;
    background-color: #f3f3f3; 
    padding: 10px 20px;
    border-radius: 15px; 
    box-shadow: 0 4px 6px rgba(9, 97, 9, 0.6); 
    font-size: 14px;
    cursor: pointer;
    position: relative;
}

.pistaPregunta::before {
    content: '';
    position: absolute;
    bottom: -10px; 
    left: 10px; 
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #f3f3f3; 
}

.pistaContenido {
    display: none;
    margin-top: 10px;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
}

.contenedorPregunta:hover .textoPregunta {
    color: #007b5e;
}

/* Estilos respuestas */
.opcionesRespuesta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* Estilo para cada contenedor de respuesta */
.contenedorRespuesta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Letras antes de las opciones */
.contenedorRespuesta::before {
    content: counter(option, lower-alpha) ") ";
    counter-increment: option;
    font-weight: bold;
}

/* Reiniciar contador en cada grupo de opciones */
.opcionesRespuesta {
    counter-reset: option;
}

.imagen{
    height: 300px;
    width:auto;
}

/*Comprobar respuestas */
.respuesta-correcta {
    background-color: green;
    color: white;
}

.respuesta-incorrecta {
    background-color: red;
    color: white;
}

.botoncito{
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    background-color: #27ae60;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    margin: 20px;
    transition: background-color 0.3s ease;
}

.botoncito:hover {
    background-color: #1e8449;
}