.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 20px 20px;
  animation: particlesMove 30s linear infinite;
}

@keyframes particlesMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px;
  }
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Slideshow animation */
@keyframes slideShow {
  0%,
  100% {
    opacity: 0;
  }
  5%,
  20% {
    opacity: 1;
  }
}

/* Apply animation to each slide */
.absolute.inset-0:nth-child(1) {
  animation-delay: 0s;
}
.absolute.inset-0:nth-child(2) {
  animation-delay: 5s;
}
.absolute.inset-0:nth-child(3) {
  animation-delay: 10s;
}
.absolute.inset-0:nth-child(4) {
  animation-delay: 15s;
}
.absolute.inset-0:nth-child(5) {
  animation-delay: 20s;
}

.absolute.inset-0 {
  animation: slideShow 25s infinite;
}
