/* General reset */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Calibri', Arial, sans-serif;
    background-color: #f9f9f9;
    overflow: hidden; /* Prevent scrolling */
}

/* Navigation Menu */
.navbar {
    background-color: white;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-list {
    display: flex;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin-right: 20px;
}

.nav-list a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #ff9800;
}

/* Main Content */
.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
}

/* Title */
.title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

/* Slideshow */
.slideshow {
    position: relative;
    width: 700px;
    height: 700px; /* Matches the size of images/videos */
    margin: 0 auto;
}

.media-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slideshow Item */
.slideshow-item {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow-item.active {
    opacity: 1;
    z-index: 1;
}

/* Image and Video Styling */
.slideshow-item img,
.slideshow-item video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Descriptions */
.description {
    position: absolute;
    bottom: 10px; /* Positions the text 10px above the container bottom */
    width: 90%;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    padding: 10px;
    font-size: 1rem;
    color: #333;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
