

/**************  SEDES  *******************************/

#imagenesBoton {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100%;
  
}

.container-imgBoton {
  height: 30%;
  width: calc(20% - 20px); /* Tamaño del contenedor: el 20% del ancho total menos los márgenes */
  margin: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid black; /* Agregamos un borde de 2px sólido negro */
  border-radius: 10px;
  
  cursor:pointer;
}

.img-Boton img {
  max-width: 99%; /* Ancho del contenedor */
  height: 150px; /* Alto del contenedor */
  border-radius: 10px;
  background-color: #000;
  border: 1px solid white;
}

.txt-Boton {
  text-align: center;
}


/********************galeria de imagenes***/
#galeria-container {
  display: none; /* La galería estará oculta inicialmente */
  position: fixed; /* Cambiamos la posición a fija */
  top: 0; /* La galería estará en la parte superior */
  left: 10%; /* La galería estará en la parte izquierda */
  width: 80%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro semi-transparente */
  z-index: 9999; /* Z-index alto para que esté por encima de todo */
  overflow: auto; /* Agregamos desplazamiento cuando la galería es demasiado grande */
  
}

#galeria {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80%;
  max-height: 80%;
}

#galeria img {
  display: block;
  width: 80%;
  height: 80%;
  border-radius: 10px;
}

#btn-cerrar{
  position: absolute;
  top: 10px;
  cursor: pointer;
  color: white;
  font-size: 24px;
}

#btn-adelante,
#btn-atras {
  position: absolute;
  top: 50%;
  cursor: pointer;
  color: white;
  font-size: 24px;
}

#btn-cerrar {
  right: 20px;
}

#btn-adelante {
  right: 40px;
}

#btn-atras {
  left: 20px;
}

/***************************************************************
/* Estilos generales */

@media only screen and (max-width: 800px) {
  /* Reglas específicas para tamaños de pantalla pequeños */



/**************  SEDES  *******************************/

#imagenesBoton {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100%;
  
}

.container-imgBoton {
  height: 30%;
  width: calc(20% - 20px); /* Tamaño del contenedor: el 20% del ancho total menos los márgenes */
  margin: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid black; /* Agregamos un borde de 2px sólido negro */
  border-radius: 10px;
  
  cursor:pointer;
}

.img-Boton img {
  max-width: 99%; /* Ancho del contenedor */
  height: 90px; /* Alto del contenedor */
  border-radius: 10px;
  background-color: #000;
  border: 1px solid white;
}

.txt-Boton {
  text-align: center;
}


/********************galeria de imagenes***/
#galeria-container {
  display: none; /* La galería estará oculta inicialmente */
  position: fixed; /* Cambiamos la posición a fija */
  top: 0; /* La galería estará en la parte superior */
  left: 0%; /* La galería estará en la parte izquierda */
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro semi-transparente */
  z-index: 9999; /* Z-index alto para que esté por encima de todo */
  overflow: auto; /* Agregamos desplazamiento cuando la galería es demasiado grande */
}

#galeria {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
}

#galeria img {
  display: block;
  width: 100%;
  height: 100%;
}

#btn-cerrar{
  position: absolute;
  top: 10px;
  cursor: pointer;
  color: white;
  font-size: 24px;
}

#btn-adelante,
#btn-atras {
  position: absolute;
  top: 50%;
  cursor: pointer;
  color: white;
  font-size: 24px;
}

#btn-cerrar {
  right: 20px;
}

#btn-adelante {
  right: 40px;
}

#btn-atras {
  left: 20px;
}
}
/*************************************************************/