  body {
    margin: 0;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 20px;
  height: 100vh;
  background: linear-gradient(270deg, #d3d4ff, #a1c6f4, #d0f5ff);
  background-size: 600% 600%;
  animation: gradientMove 10s ease infinite;
}

@keyframes gradientMove {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}


  h1 {
    margin-bottom: 30px;
    color: #5c8abf;
    font-size: 2.5em;
  }


  .galeria {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(200, 226, 255, 0.422); 
    border: 2px solid #8eb1d8;
    padding: 0; 
  }

  /* Cuadro superior */
  .galeria-titulo {
    background-color: #8eb1d8;
    color: rgb(203, 229, 255);
    font-weight: bold;
    font-size: 13px;
    padding: 3px;
   
    margin: 0; 
  }

  .items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px; 
  }

  .item {
    background: #d9e1ff65;
    border: 2px solid #8eb1d8;
    padding: 10px;
  }

  .item img {
    width: 150px;
    padding: auto;
    user-select: none;
    margin-bottom: 10px;
  }

  .item p {
    margin: 0;
    font-size: 14px;
    color: #034f84;
  }

  /* Ventana emergente */
  .lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
  }

  .lightbox:target {
    display: flex;
  }

  .lightbox-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 600px;
    text-align: center;
  }


 

.lightbox img {
  max-width: 450px;
  border-radius: 8px;
  width: 550px;
}

.lightbox-img{
  width: 430px;
}
  .lightbox-content p {
    margin: 15px 0;
    font-size: 13px;
    color: #26264d;
    line-height: 15px;
  }

  .cerrar {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #90a8ff;
    color: rgb(26, 44, 56);
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
  }

  .cerrar:hover {
    background: #a5bbe4c0;
  }



/* Estilo base para todas las imágenes */
.corner-img {
  position: fixed;   
  width: 120px;
  height: auto;
  border-radius: 12px;
}

/* Cada esquina distinta */
.top-left {
  top: 20px;
  left: 20px;
  animation: floatY 5s ease-in-out infinite;
}

.top-right {
  top: 20px;
  right: 20px;
  animation: floatX 6s ease-in-out infinite;
}

.bottom-left {
  bottom: 20px;
  left: 20px;
  animation: floatX 7s ease-in-out infinite reverse;
}

.bottom-right {
  bottom: 20px;
  right: 20px;
  animation: floatY 6s ease-in-out infinite reverse;
}

/* Animaciones */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
@keyframes floatX {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-20px); }
}

.confetti {
      position: absolute;
      top: -10px;
      width: 10px;
      height: 10px;
      background: red;
      opacity: 0.7;
      animation: fall 5s linear infinite;
    }
    @keyframes fall {
      to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
      }}


video{
  width: 350px;
  height: 350px;
}