/****** PLACE YOUR CUSTOM STYLES HERE ******/

.kenburns-slider {
  position: absolute;
  width: 100%;
  height: 80%; /* Adjust height for Foundry container */
  overflow: visible;
  background: #fff;
}

.kb-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 77%;
  background-size: 100%;
  background-position: center;
  opacity: 0;
  animation: kenBurnsFade 18s infinite;
}

/* Stagger animation timing for 3 slides */
.kb-slide:nth-child(1) { animation-delay: 0s; }
.kb-slide:nth-child(2) { animation-delay: 6s; }
.kb-slide:nth-child(3) { animation-delay: 12s; }
.kb-slide:nth-child(4) { animation-delay: 18s; }
.kb-slide:nth-child(5) { animation-delay: 24s; }
.kb-slide:nth-child(6) { animation-delay: 30s; }
.kb-slide:nth-child(7) { animation-delay: 36s; }
.kb-slide:nth-child(8) { animation-delay: 42s; }
.kb-slide:nth-child(9) { animation-delay: 48s; }
.kb-slide:nth-child(10) { animation-delay: 54s; }
.kb-slide:nth-child(11) { animation-delay: 60s; }

@keyframes kenBurnsFade {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  3% {
    opacity: 1;
  }
  33% {
    opacity: 1;
    transform: scale(1.10); /* Slow zoom in */
  }
  38% {
    opacity: 0;
    transform: scale(1.10);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
