.gallery-container {
    max-width: 2000px;
    margin: 0 auto;
    padding: 20px;
}

.gallery {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se envuelvan */
    justify-content: center; /* Centra los elementos horizontalmente */
    gap: 25px; /* Espacio entre las imágenes */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block; /* Hace que el enlace sea un bloque */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: filter 0.3s ease;
}

.gallery-item:hover img {
    filter: blur(6px); /* Desenfoque de la imagen al pasar el ratón */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(185, 185, 185, 0); /* Fondo oscuro semi-transparente */
    color: #bea759;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;   
    font-style: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-align: center;
    font-size: 34px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1; /* Muestra el mensaje al pasar el ratón */
}
