@charset "utf-8";
/* CSS Document */

/*--------------------------------------------------------------
# Gallery Section - Photofolio
--------------------------------------------------------------*/
.ph-gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--gallery-border-radius)
}

.ph-gallery .gallery-item img {
  transition: 0.3s;
}

.ph-gallery .gallery-links {
  position: absolute; /*  absolute */
  inset: 0;
  opacity: 0;
  transition: all ease-in-out 0.3s;
  background: var(--gallery-background);
  z-index: 3;
}

.ph-gallery .gallery-links .preview-link,
.ph-gallery .gallery-links .details-link {
  font-size: 20px; /* 20px */
  color: var(--gallery-links-color);
  transition: 0.3s;
  line-height: 1.2;
  margin: 30px 8px 0 8px;
}

.ph-gallery .gallery-links .preview-link:hover,
.ph-gallery .gallery-links .details-link:hover {
  color: var(--gallery-links-color-hover);
}

.ph-gallery .gallery-links .details-link {
  font-size: 30px;
  line-height: 0;
}

.ph-gallery .gallery-item:hover .gallery-links {
  opacity: 1 ; /* 1 */
}

.ph-gallery .gallery-item:hover .preview-link,
.ph-gallery .gallery-item:hover .details-link {
  margin-top: 0;
}

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

.glightbox-clean .gslide-description {
  background: var(--glightbox-gslide-background);
  max-height: var(--glightbox-gslide-max-height); /* Camf */
}

.glightbox-clean .gslide-title {
  color: var(--glightbox-gslide-color);
  margin: 0;
  text-align: center; /* Camf */
}


/* Camf añadidos - Idea que saqué de https://desarrolloweb.com/faq/como-puedo-poner-un-texto-sobre-una-imagen-en-html*/

.ph-gallery .details{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: all ease-in-out 0.3s;
  background: var(--gallery-background);
  z-index: 3;	

}

.ph-gallery .details:hover{
  font-size: 30px; /* 20px */
  color: var(--gallery-links-color);
  transition: 0.3s;
  line-height: 0;
  opacity: 1	
}
