/******************************************************************************
* Title: style.css
* Author: Hunter Schoonver ~ http://hunterschoonover.com
* 
* This cascading style sheet provides styling for a skoonie slideshow.
*/

.skoonieSlideshow {
    width: 100%;
    height: 400px;
    display: inline-block;
    overflow: hidden;
    position: relative;
}

.skoonieSlideshow .arrow {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 15px;
    font-size: 24px;
    position: absolute;
    z-index: 10;
    transition: 0.2s;
    border-radius: 10%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.skoonieSlideshow .arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    opacity: 1;
}

.skoonieSlideshow .leftArrow {
    left: 5px;
}

.skoonieSlideshow .rightArrow {
    right: 5px;
}

.skoonieSlideshow .imageContainer {
    width: 0px;
    height: 400px;
    overflow-x: visible;
    white-space: nowrap;
    padding: 0px;
    position: absolute;
    transform: translateX(0px);
    transition: transform 0.5s ease-in-out;
}

.skoonieSlideshow .imageContainer img {
    max-width: calc(100vw - 50px);
    height: 400px;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    position: absolute; /* Position images absolutely */
    transition: left 0.3s ease-in-out, opacity 0.3s ease;
}


.skoonieSlideshow .imageContainer div {
    height: 400px;
    margin-right: 10px;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}