*{
    margin: 0 auto;
    padding: 0;
}

html, body{
    height: 100%;/* Para que ocupe todo el espacio y el footer esté pegado al borde inferior*/
    position: relative;
}
body{
    background-color:rgb(245, 249, 249);
}
footer{
    position: fixed;/*Si pongo absolute se sale de la pantalla aunque el body no ocupe todo el alto*/
    bottom: 0;
    left: 0;
    width: 100%; /* Para que ocupe todo el ancho */
    padding: 10px 0; /* para darle un poco de espacio dentro del footer */
    text-align: center; 
    background-color: black;
    color:white;
}
a{
    color: grey;
    text-decoration: none;
}
h1{
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
}
#tablero{
    
    
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px; /* Espacio entre filas */
    margin-top: 20px;
}
.fila{
    display: flex;
    gap:1px;
}
.casilla{
    width: 110px;
    height: 110px;
    border-radius: 10%;
    background-color: rgb(213, 216, 218);
   
}
.imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
.casilla:hover{
    background-color: beige;
    text-align: center;
    align-content: center;
    color: blueviolet;

}
.puzzle1{
    position: fixed;
    color:blueviolet;
    right: 10px;
    border: solid 1px;
    padding: 5px;
    border-radius: 10px;
    background-color: rgb(224, 198, 248);
    bottom:90px
    
}
.puzzle2{
    position: fixed;
    color:blueviolet;
    right: 10px;
    border: solid 1px;
    padding: 5px;
    border-radius: 10px;
    background-color: rgb(224, 198, 248);
    bottom:50px
    
}
h2{
   text-align: center;
   margin-bottom: 10px;
}
.volver{
    position: fixed;
    color:blueviolet;
    left: 10px;
    border: solid 1px;
    padding: 5px;
    border-radius: 10px;
    background-color: rgb(224, 198, 248);
    bottom:50px
    
}