.animate {
  /* initial position and style */
  position: relative;
  opacity: 0;
  transition: all 1s ease-in-out;
}

.animate:nth-child(1) {
  /* animation delay for first image */
  animation-delay: 0s;
}

.animate:nth-child(2) {
  /* animation delay for second image */
  animation-delay: 1s;
}

.animate:nth-child(3) {
  /* animation delay for third image */
  animation-delay: 2s;
}

.animate:nth-child(4) {
  /* animation delay for fourth image */
  animation-delay: 1s;
}

.animate:nth-child(5) {
  /* animation delay for fifth image */
  animation-delay: 1s;
}

.animate:nth-child(6) {
  /* animation delay for sixth image */
  animation-delay: 1s;
}

@keyframes animate {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate {
  animation: animate 1s ease-in-out forwards;
}

.container {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* adjust column count */
  gap: 10px; /* optional spacing */
}



