/* slideshow.css */

/* Reset and basic styles */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background-color: black; /* Set background to black */
    overflow-x: hidden; /* Ensure horizontal overflow is hidden */
}

/* Slideshow styles */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    margin-top: 0; /* Remove margin to make room for navbar */
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.fade {
    animation-name: fade;
    animation-duration: 5s; /* Update animation duration to 5 seconds */
}

@keyframes fade {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slideshow-container:hover .controls {
    opacity: 1;
}

.controls button {
    cursor: pointer;
    padding: 16px;
    font-size: 24px;
    color: white;
    background-color: rgba(0,0,0,0.6);
    border: none;
    border-radius: 50%;
    user-select: none;
}

.controls button:hover {
    background-color: rgba(0,0,0,0.8);
}

.thumbnail-container {
    position: absolute;
    bottom: 120px; /* Move thumbnails 100px up */
    width: 100%;
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.thumbnail {
    cursor: pointer;
    height: 60px;
    width: auto;
    margin: 0 5px;
    opacity: 0.6;
    transition: opacity 0.6s ease, border 0.6s ease;
    border: 2px solid transparent;
}

.thumbnail:hover, .thumbnail.active {
    opacity: 1;
    border-color: white;
}

.thumbnail-container.show {
    opacity: 1;
}

/* Mobile styles */
@media only screen and (max-width: 768px) {
    .controls {
        top: auto;
        bottom: 50%;
    }
    
    .controls button {
        padding: 10px;
        font-size: 20px;
    }
    
    .thumbnail {
        height: 40px;
    }
    
   
