/*esta parte amplia imagenes cuando pasas con el raton*/
.img--amplia:hover {
    width: 71%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* sombra suave */
}



/*A partir de aqui es para las imagenes de la web de transparencia*/
/* Estilo para la imagen normal */
.ampliaImg {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

/* Estilo para el modal */
.ampliarImagenModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);  /* Fondo oscuro */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Cuando se hace clic en la imagen, se muestra el modal */
#ampliarImagen:target {
    display: flex;
}

/* Estilo para la imagen ampliada */
.ampliaImgModal {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Estilo para el botÃ³n de cerrar */
.cerrar {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
}

.cerrar:hover {
    background-color: rgba(0, 0, 0, 0.8);
}