/* this is what give the most important design to the  */
/* Galería básica */
.gallery {
    display: flex;
    flex-wrap: wrap;
}



video {
    width: 400px; 
    height: 320px; 
    object-fit: cover; 
    margin: 15px;
}

/* Estilos para el contenedor en pantalla completa */
.fullscreen {
    display: none; /* Se ocultará por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.fullscreen-img {
    max-width: 90%;
    max-height: 90%;
}

/* Botón de cerrar */
#closeBtn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.clubContainer {
    display: block;
    max-width:fit-content;
    flex-wrap: wrap;

}

.pagination {
    margin-top: 20px;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.page-title {
    text-align: center;
    margin-bottom: 20px;
}

.page-title {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #f0f0f0; /* Puedes cambiar el color de fondo */
    width: 100%; /* Ocupa todo el ancho de la pantalla */   
    padding: 1rem;
    font-weight: bold;
    font-size: 2.75rem; /* Tamaño relativo a la pantalla */
    
}

.club-title{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%; 
    padding: 2rem;
    font-weight: bolder;
    color: #04133d;
}

#gallery {
    display: flex ;
    flex-wrap: wrap;
    justify-content: center;
}

#gallery img {
    border-radius: 15px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); 
    transition: transform 0.2s ease-in; 
}

/* .gallery-item{
    max-height: 350px;
} */


.clubContainer div{
    display: flex;
    justify-content: center; /* Centra el contenido horizontalmente */
    align-items: center;     /* Centra el contenido verticalmente */
    flex-wrap: wrap;         /* Permite que los elementos se envuelvan en varias líneas */
    gap: 20px;               /* Espacio entre los div hijos */
    margin-left: 0;          /* Centra el contenedor en el medio de la página */
    margin-top: 0;
}

.pageNavigation {
    align-items: center;
    text-align: center;
}
.pageNavigation {
    margin-top: 1%;
    align-items: center;
    text-align: center;
    color: #04133d;
    font-weight: bolder;
}


.clubContainer img {
    display: block;
    height: auto;
}
.pagination {
    margin-top: 20px;
}

.text-center {
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    padding: 1rem;
    font-weight: bolder;
}
/* Estilo de la imagen en miniatura */
.gallery-img-item  {
    cursor: pointer;
    transition: transform 0.2s ease;
    box-sizing: border-box;
  }

  .gallery-img-item:hover {
    transform: scale(1.1);
  }


#gallery {
    display: flex;
    flex-wrap: wrap;  
    justify-content: center;
}

/* This functions is so important because it establish a size for the images in gallery */
#gallery img {
    object-fit: cover;
    width: 450px;
    height: 370px;
}


.pagination {
    margin-top: 20px;
}

.h2-gallery {
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    padding: 1rem;
    font-weight: bolder;
}

.gallery-title {
    background-color: rgb(214, 223, 226);
}

  
.gallery-img-item {
    padding: 0.5rem;  /* this part helps to increase the size of the border */
    background-color: #fff;
    margin-left: 1rem;
    margin-bottom: 1.5rem
}
  
@media (max-width: 768px) {

    .page-title {
        font-size: 1.5rem;
        margin: 0.75rem;
    }
    .gallery-img-item {
        max-width: 200px; /* Ancho máximo */
        max-height: 200px; /* Altura máxima */
        object-fit: cover; /* Ajusta la imagen dentro del área definida */
    }
    video {
        max-width: 200px; /* Ancho máximo */
        max-height: 200px; /* Altura máxima */
        object-fit: cover; /* Ajusta la imagen dentro del área definida */
    }
  
  }
  