/* slideshowbw.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 */
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent; /* Set background to transparent */
    z-index: 1000;
    display: flex;
    justify-content: flex-end; /* Align the menu icon to the right */
}

.menu-icon {
    font-size: 30px;
    cursor: pointer;
    color: white;
    z-index: 1001; /* Ensure it's above other elements */
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    width: 200px;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1001;
    transition: all 0.3s ease;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.submenu {
    position: relative;
}

.submenu-content {
    display: none;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1002;
    padding-left: 20px; /* Add some padding to distinguish submenu items */
}

.submenu:hover .submenu-content {
    display: block;
    animation: dropdownItem 0.5s forwards; /* Animate dropdown items */
}

@keyframes dropdownItem {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 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;
}


