.slideshow-image {
    /* Ensures smooth fading based on the fadeDuration setting */
    transition: opacity 0.5s ease-in-out; 
    
    /* Crucial for maintaining the size defined in the HTML attributes */
    width: 100%;
    height: 100%;
    /* Prevents distortion if new images have a slightly different ratio */
    object-fit: cover; 
}