@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap");

/* Estilos para la galería de miniaturas */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Roboto', sans-serif;
    background-image: url(../imagenes/museo-de-los-duendes-fondo-historias.jpg);
    width: 100%;
    margin: auto;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 55% center;
}
.section-fondo-backgraund-color{
    border-radius: 15px;
    background-color: rgb(255, 255, 255, 0.6);
    width: 98%;
    margin: auto;
    padding-top: 80px;

     
    }
main footer{
    width: 98%;
    margin: auto;
}
h2{
    text-align: center;
    margin: 10px 0px;
}
.main-descripcion, .article-descripcion{
    text-align: justify;
    width: 95%;
    margin: 15px auto;
}
.galeria {
    width: 90%;
    margin: auto;
    
}

.galeria-subgrupo{
    display: flex;
    justify-content: space-around;
}
.galeria-subgrupo img{
    width: 32%;
  cursor: pointer;
  transition: 250ms;
}
.galeria-subgrupo img:hover{
    border-radius: 15px;
  transform: scale(1.1);
  box-shadow: 2px 2px 2px beige;
}



/* Estilos para el lightbox */
.lightbox-container {
    display: none;
    position: fixed;
    z-index: 5000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.cerrar-lightbox {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 100;
    font-size: 60px;
    color: #fff;
    cursor: pointer;
    transition: 250ms;
}
.cerrar-lightbox:hover {
    color: beige;
transform: scale(1.8);
}
  /* Nueva clase para los controles de navegación */
  .navegacion-lightbox {

    position: absolute;
    top: 15%;
    left: 0%;
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    color: #fff;
}

.navegacion-lightbox button {
    color: white;
    background: none;
    border: none;
    font-size: 70px;
    cursor: pointer;
}
.lightbox-content {
    text-align: center;
    width: 100%;
    max-width: 700px;
    margin-top: 0%;
}

.lightbox-content img {
    width: 100%;
    border: 2px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.article-section{
    text-align: center;
    width: 98;
    max-width: 900px;
    margin: 30px auto;
}
/*-----------------600----------------------------------*/
@media (min-width: 600px) {
  
.main-descripcion, .article-descripcion{
    width: 90%;
}
.section-fondo-backgraund-color{
    width: 90%;
    margin-top: 50px;
    padding-top: 3cqb;
}
}
/*-----------------700----------------------------------*/
@media (min-width: 700px) {
.galeria{
width: 75%;
}

}
/*-----------------800----------------------------------*/
@media (min-width: 800px) {
.galeria{
width: 70%;
}
.main-descripcion, .article-descripcion{
    width: 75%;
}

}
/*-----------------900----------------------------------*/
@media (min-width: 900px) {
.galeria{
width: 90%;
}
.main-descripcion, .article-descripcion{
    width: 65%;
}

}
/*-----------------1100----------------------------------*/
@media (min-width: 1100px) {
    .section-fondo-backgraund-color{
        margin-top: 70px;
    }

.galeria{
width: 85%;
}
.main-descripcion, .article-descripcion{
    width: 70%;
}

.galeria-grupo{
width: 70%;
margin: auto;
    
}

}
.galeria-subgrupo{
margin-top: 10px;
}
.galeria-subgrupo img{
    width: 30%;
  cursor: pointer;
}