.flexbox-slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.flexbox-slideshow-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
}

.flexbox-slideshow-image {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Remove transitions - we'll control everything with keyframes */
.flexbox-slideshow-slide:first-child {
  opacity: 1;
  z-index: 2;
}

/* True crossfade animation */
@keyframes trueCrossfade {
  0% {
    opacity: 0;
    z-index: 1;
  }
  /* Start becoming visible before previous slide is fully gone */
  40% {
    opacity: 0;
    z-index: 2; /* Move to front layer before starting to appear */
  }
  /* Overlap period where both slides are partially visible */
  50% {
    opacity: 0.5;
    z-index: 2;
  }
  60% {
    opacity: 1;
    z-index: 2;
  }
  /* Stay visible */
  90% {
    opacity: 1;
    z-index: 2;
  }
  /* Start fading out as next slide begins to appear */
  95% {
    opacity: 0.5;
    z-index: 2;
  }
  /* Back to hidden state */
  100% {
    opacity: 0;
    z-index: 1;
  }
}

/* Apply animations with proper timing overlap */
.flexbox-