/* General Reset */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

/* Slideshow */
#slideshow {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s;
    opacity: 0;
}

.slide.active {
    opacity: 1;
}

.video-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


#slide-caption {
    position: fixed;
    bottom: 40px; /* Position 20px above the bottom edge */
    left: 50%; /* Horizontally center */
    transform: translateX(-50%); /* Adjust to center align */
    color: white; /* Text color */
    text-align: center; /* Center align the text */
    z-index: 10; /* Ensure it appears above slides */
       mix-blend-mode: difference; /* Makes text visible on light and dark backgrounds */
     -webkit-font-smoothing: antialiased;
}






/* Navigation Arrow Styles */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px; /* Set a large enough width */
    height: 60px; /* Set a large enough height */
    background: none;
    color: white;
    font-size: 22px;
    border-radius: 50%;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    pointer-events: auto; /* Ensure clickable */
     mix-blend-mode: difference; /* Makes text visible on light and dark backgrounds */
     -webkit-font-smoothing: antialiased;
}

#left-nav {
    left: 20px;
}

#right-nav {
    right: 20px;
}

/* Display logic when arrows are active */
body:hover .nav-arrow {
    display: flex;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nav-arrow {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}
