.carouselContainer { width: 50%; margin: auto; } .carouselItem { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 50px; height: 400px; } .carouselImage { width: 100%; max-width: 600px; height: auto; } .carouselTitle { margin-top: 10px; font-size: 24px; } .carouselDescription { margin-top: 10px; font-size: 16px; color: #666; }