/* styles.css */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}
.contenedor-elementos {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
}
.contenedor-indice {
    position: absolute;
    width: 100%;
    height: 100vh; /* Ocupa toda la altura del viewport */
    background: url('../img/laptop.jpg') no-repeat center/cover;
    text-align: center;
    font-size: larger;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.indice{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.indice > ul {
    list-style: none;
    padding: 0;
    margin: 20px;
    text-align: center;
}
.ejercicio{
    border: 2px solid black; /* Verde */
    display: flex;
    flex-direction: column;
    align-items: center;
    /*justify-content: center;*/
    width: 100%;
    /*height: 100vh; Ocupa toda la altura del viewport */
    background-color: #cecb9d;
    color: black;
    font-size: 1.5rem;
}
.ejercicio button{
    margin: 0.5%;
    padding: 10px 20px;
    font-size: 1.2rem;

}
.contenido{
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: justify;
}
.contenido span{
    font-weight: bold;
    color: #4CAF50; /* Verde */
    font-size: larger;
}
.contenedor-indice div ul li{
    margin: 10px 0;
    list-style: none;
    text-align: start;
}
.contenedor-indice div ul li:hover{
    background-color: #ece251; /* Verde claro */
    border-radius: 5px;
}
.contenedor-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: black;
}
.ir_materias{
    background-color: #4CAF50; /* Verde */
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
}
.volver{
    background-color: #ece251; /* Verde */
    color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
}
/*imagen HERO*/
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Ocupa toda la altura del viewport */
    background: url('../img/portada.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

/* Contenido dentro del HERO */
.contenedor-hero{
    text-align: center;
    font-size: 5rem;
    font-weight: bold;
}

.contenedor_quiz{
    display: flex;
    justify-content: space-evenly;
    align-items: start;
}
.contenedor_quiz > div ul{
    list-style: none;
    text-align: start;
}

.hint .boton{
    display: none;
    position: absolute;
    width: 200px;
}
.hint:hover img{
    display: block;
}
.aqui{
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background: #f00;
    text-decoration: underline;
    display: flex;
    justify-content: center;
	align-items: center;
    -webkit-user-select: none;
    user-select: none;
}
.aqui:hover{
    width: 100px;
    height: 100px;
	transition: 1s ease-in;
}
.boton{
    z-index: 100;
}
@media(max-width: 1000px){

}
@media(max-width: 800px){
    .contenedor-elementos{
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }
    .hero{
        background: url(../img/portada.jpg) no-repeat right / cover;
    }
    .contenedor-indice{
        background: #cecb9d;
        height: auto;
    }
    .footer{
        display: flex;
        flex-direction: column;
    }
    .imagen_practica{
        width: 100%;
        height: auto;
    }
}
@media(max-width: 600px){
    .hero{
        background: url(../img/portada.jpg) no-repeat right / cover;
        background-position-x: 85%;
        align-items: flex-end;
    }
}
@media(max-width: 400px){


}