body {
  background-color: #ffffff;
  font-family: helvetica, sans-serif;
  font-style: normal;
  font-size: 12px;
  margin-left: 12px;
  cursor: default;

}

/* CONTENEDORES */
.container {
  display: flex;
  flex-wrap: wrap;       /* permite que las miniaturas se acomoden */
  justify-content: center;
  align-items: center;
  margin-top: 225px;
  margin-bottom:70px;
  gap:0.6px;
  cursor: ew-resize;

}

.container2 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .container,
  .container2 {
    flex-direction: column;
    gap:0.6px;
    margin-top:50px;
  }


  .intro-text br:first-of-type {
    display: none;
  }

   .img,
  #hover-viewer {
    cursor: default;
  }




}

/* IMÁGENES MINIATURA */
.img {
  height: 100px;
  width: auto;
  margin: 0.6px;
  cursor: ew-resize;  /* cambia cursor a lupa */
}

/* LINKS */
a {
  position: relative;
  display: inline;
  height: auto;
  text-decoration: none;
  color: #c4c4c4;
  text-decoration: underline;
  cursor:pointer;
}

.container a {
  display: inline-block;  /* mantiene miniaturas clicables */
  height: 100px;
}




/* ========================= */
/* VISOR GLOBAL (IMAGEN GRANDE) */
/* ========================= */

#hover-viewer {
  position: fixed;       
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;  
  z-index: 1000;         
  opacity: 0;            /* empieza invisible */
  visibility: hidden;    
  transition: opacity 0.3s ease; /* fade-in/fade-out */
  cursor: default;
}

#hover-viewer img {
  max-width: 80vw;       
  max-height: 80vh;
  object-fit: contain;
  opacity: 1;  /* siempre visible dentro del contenedor */
  transform: scale(1);
  cursor: default;
}