/* estilosPICI.css */

.galeriaPICI {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 40px auto;
  max-width: 1000px;
  position: relative;
}

.imagenPICI {
  position: relative;
  width: 180px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.imagenPICI:nth-child(2) {
  margin-top: 30px;
}
.imagenPICI:nth-child(3) {
  margin-top: -10px;
}
.imagenPICI:nth-child(5) {
  margin-top: 40px;
}
.imagenPICI:nth-child(6) {
  margin-top: -20px;
}
.imagenPICI img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

/* Estilos para el popup */
.popupPICI {
  display: none;
  position: fixed;
  z-index: 1000;
  padding: 20px;
  max-width: 500px;
  background: white;
  border: 2px solid #00753B;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0,0,0,0.3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.popupPICI h3 {
  margin-top: 0;
}

.overlayPICI {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.4);
}
