  body, html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
  }
  /* Contenedor: máximo 2 tarjetas por fila */
  #galleryContainer {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .gallery-card.centered {
   margin: 0 auto;
   max-width: 300px; /* o el ancho que uses para las cards */
  }

  .gallery-card {
    width: 48%;
    max-width: 500px;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: rotateY(90deg);
    opacity: 0;
  }

  .gallery-card.visible {
    transform: rotateY(0deg);
    opacity: 1;
  }
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.blinking-arrow {
  animation: blink 1.2s infinite;
}
