/* Variation 1 - Jungle Slideshow: a slow cross-fading tour of jungle scenes
   (mostly daytime, with a sunset and a moonlit stop) and a row of creatures
   hopping in a wave from the centre outward. */

.scene { background-image: url(img/bg/bg04.webp); }

.parade {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(4px, 1.4vw, 14px);
  margin-top: clamp(4px, 1.4vh, 14px);
  height: clamp(44px, min(11vw, 8vh), 70px);
}
.parade img {
  height: 86%;
  width: auto;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 5px 4px rgba(0, 0, 0, 0.45));
  animation: v1-hop 3s ease-in-out infinite;
  animation-delay: calc(var(--d) * 160ms + 1200ms);
}
@keyframes v1-hop {
  0%, 62%, 100% { transform: translateY(0) scale(1, 1); }
  68% { transform: translateY(0) scale(1.1, 0.88); }
  78% { transform: translateY(-34%) scale(0.95, 1.06); }
  88% { transform: translateY(0) scale(1.06, 0.94); }
  94% { transform: translateY(0) scale(1, 1); }
}

@media (max-height: 520px) {
  .parade { height: 34px; margin-top: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .parade img { animation: none; }
}
