 /*************************GALERÍA DE IMÁGENES*******************************/
 
.galeria{
    background-color: #daedf5;
    /* background-image: radial-gradient(#444cf7 0.5px, transparent 0.5px), radial-gradient(#444cf7 0.5px, #e5e5f7 0.5px); */
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    overflow: hidden;
}

.galeria__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    text-align: center;
}

.galeria__container h3 {
    font-size: 1.5rem;
    text-align: center;
    padding-top: 20px;
    color: gray;
}

.galeria__texts {
    text-align: center;
    padding: 20px;
    max-width: 90%;
    margin: 0 auto;
}

.galeria__texts h2 {
    font-size: 2rem; /* Ajuste de tamaño de fuente */
}

.galeria__container a {
    display: inline-block;
    margin-top: 10px;
}


.galeria__container a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.galeria__container a img:hover {
    transform: scale(1.2); /* Aumenta ligeramente el tamaño */
    opacity: 0.8; /* Reduce un poco la opacidad */
}

.img-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; 
}

.img-item {
    width: calc(20% - 15px); /* Esto me ayuda a dejar 4 imagenes por fila*/
    flex-grow: 1;
    margin: 5px;
    
}

.img-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.8s ease, filter 0.8s ease;
   
}

.img-item img:hover {
    transform: scale(1.8);
    filter: brightness(0.7);
    border-radius: 4px;
}

 
 .img-gallery img{
    width: 100%;
    max-height: 250px; 
    object-fit: cover; 
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    margin: 5px;
 }
 
 .img-gallery img:hover{
     transform: scale(1.1);
     filter: brightness(1.2);
 }



 /* responsividad de la galería medinte @media queries */

@media (max-width: 1024px) {
    .img-item {
        width: calc(25% - 10px); /* Mantener 4 imágenes por fila */
    }
}

@media (max-width: 800px) {
    .img-item {
        width: calc(33.33% - 10px); /* 3 imágenes por fila */
    }
}

@media (max-width: 480px) {
    .img-item {
        width: calc(50% - 10px); /* 2 imágenes por fila */
    }
}

@media (max-width: 360px) {
    .img-item {
        width: 100%; /* 1 imagen por fila */
    }
}



 
 .ful-img {
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.ful-img.show {
    opacity: 1;
    visibility: visible;
}

 
.ful-img img {
    width: 90%;
    max-width: 600px;
    height: auto;
}

.ful-img span {
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

.galeria__texts {
    text-align: center;
    padding: 20px;
    max-width: 90%;
    margin: 0 auto;
}

.galeria__texts h2 {
    font-size: 2rem; /* Ajuste de tamaño de fuente */
}

.galeria__container h3 {
    font-size: 1.5rem;
    text-align: center;
    padding-top: 20px;
    color: gray;
}

.galeria__container a {
    display: inline-block;
    margin-top: 10px;
}

.galeria__container a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Responsividad */
@media (max-width: 1024px) {
    .galeria__texts h2 {
        font-size: 1.8rem;
    }

    .galeria__container h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 800px) {
    .galeria__texts h2 {
        font-size: 1.5rem;
    }

    .galeria__container h3 {
        font-size: 1.2rem;
    }

    .galeria__container a img {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .galeria__texts h2 {
        font-size: 1.3rem;
    }

    .galeria__container h3 {
        font-size: 1rem;
    }

    .galeria__container a img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 360px) {
    .galeria__texts h2 {
        font-size: 1.1rem;
    }

    .galeria__container h3 {
        font-size: 0.9rem;
    }

    .galeria__container a img {
        width: 25px;
        height: 25px;
    }
}