
.slideshow-container {
    position: relative;
    /* Center the container itself if it's not full-width */
    margin: 0 auto;
}

.slideshow {
    text-align: center; /* Center the inline-block images */
}

.slideshow img {
    width: 50%;
    /* The JS sets display: block, which allows margin auto to work */
    margin: 0 auto; 
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
}

.prev {
    left: 25%; /* Adjust to be next to the 50% width image */
    border-radius: 0 3px 3px 0;
}

.next {
    right: 25%; /* Adjust to be next to the 50% width image */
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}
