
body {
    font-family: Arial, sans-serif;
    padding: 50px;
    scroll-behavior: smooth; /* enable smooth scrolling */
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white; /* white background */
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* add a subtle shadow to make it stand out */
    padding-right: 13.961%; 
}

nav ul {
    list-style: none;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end; /* align to the right */
}

nav ul li {
    margin: 0 10px; /* adjusted spacing a bit */
}

nav a {
    text-decoration: none;
    color: #333; /* changed color to dark for visibility on white background */
    padding: 10px 20px; /* increased padding */
    font-size: 18px; /* larger font */
    border: 1px solid #333; /* border around the button */
    border-radius: 5px; /* rounded corners */
    transition: background-color 0.3s, color 0.3s; /* transition for hover effect */
}

nav a:hover {
    background-color: #ddd; /* color change on hover */
}

/* Mobile styles */
@media (max-width: 768px) {
    nav {
        display: none;
    }  
}

.section-anchor {
    display: block;
    padding-top: 70px;     /* Adjust this based on your navbar height */
    margin-top: -70px;    /* Make this the negative value of padding-top */
    visibility: hidden;
}

.custom-button:hover {
    background-color: #2980b9 !important; /* Hover color */
}


.video-buttons ul li {
    list-style-type: none;
    display: inline-block;
    margin: 0 15px;
}

.video-buttons ul li a {
    text-decoration: none;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 15px;  /* This gives rounded rectangle appearance */
    font-size: larger;
    color: black;
    transition: background-color 0.3s;
    border: 1px solid black;
}

.video-buttons ul li a:hover {
    background-color: #ddd;
}

.video-buttons {
    display: flex;
    flex-direction: column;   /* stack children vertically */    
    justify-content: center;  /* Horizontally center the list items */
}

.scene-selection ul {
    display: flex;
    justify-content: center;
    padding: 0;
}

.scene-selection ul li {
    list-style-type: none;
    margin: 0 15px;
}

.scene-selection ul li a:hover img {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Default styles (optimized for mobile) */
.video-buttons {
    display: flex;
    flex-direction: column; /* stack children vertically */
    align-items: center; /* center children horizontally */
    justify-content: center; /* center children vertically */
    width: 100%; /* take the full width of its parent */
}

.scene-selection ul li a video {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.video-buttons ul {
    flex-direction: column; /* Stack the list items vertically */
    width: 100%; /* take the full width of its parent */
    display: flex;
    align-items: center; /* center list items horizontally */
    justify-content: center; /* center list items vertically */
}

.video-buttons ul li {
    display: flex; 
    justify-content: center; /* Horizontally center the anchor tags */
    width: 100%; 
    margin-bottom: 10px; 
}

.video-buttons ul li a {
    display: block; 
    text-align: center; 
}

/* Styles for larger screens */
@media screen and (min-width: 768px) {
    .scene-selection ul li a video {
        max-width: 150px; 
    }
    
    .video-buttons ul {
        flex-direction: row; 
    }

    .video-buttons ul li {
        display: inline-block;
        width: auto;
        margin: 0 15px;
        margin-bottom: 0; 
    }
    
    .video-buttons ul li a {
        display: inline; 
    }
}

/* Default styles (optimized for mobile) */
.banner {
    width: 100%;  /* Make it take the full width of its container on mobile */
    height: auto;  /* Height will be automatically adjusted based on the width and video aspect ratio */
}

.banner-container {
    text-align: center; /* Horizontal centering for inline and inline-block elements inside it */
}

/* Styles for larger screens (e.g., desktops) */
@media screen and (min-width: 768px) {  /* Adjust the 768px breakpoint if needed */
    .banner {
        height: 580px;  /* Set the height as specified */
        width: auto;  /* Width will be adjusted based on the height and video aspect ratio */
    }
}

.faded {
    opacity: 0.3;
    transition: opacity 0.3s;
}

.scene-selection ul li a:hover video {
    opacity: 1;  /* When hovering over a faded thumbnail, it'll look less faded to indicate interactivity */
}

.video-buttons ul {
    text-align: center; /* This ensures the list items are centered within the ul */
}

.step-container {
    display: flex;
    align-items: center;  /* Vertically center align content */
    margin-bottom: 10px; /* Space between the steps */
}

/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#video-player-container {
    max-width: 1400px; /* Or your preferred width */
    margin: 20px auto; /* Center the container */
    padding: 20px;
    border: 5px solid #000; /* Adding a border */
    border-radius: 15px; /* Rounded edges */
    background-color: #1e1e1e; /* Dark background for video player effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Slight shadow for depth */
    position: relative; /* To position potential child elements absolutely if required */
}

#video-player-container .scene-thumbnails {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#video-player-container .video-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

#video-player-container .single-image {
    text-align: center; /* Center the image */
    margin-bottom: 20px;
}

#video-player-container video, 
#video-player-container img {
    max-width: 100%; /* Ensure content scales inside the container */
    border-radius: 10px; /* Slight rounded edges for videos/images */
}

.step-label {
    background-color: #1e1e1e;
    padding: 10px 20px;
    border-radius: 15px;
    font-size: larger;
    color: #fff;
    margin-right: 15px;  /* Add some space between the label and buttons */
    cursor: default;
    flex-shrink: 0;
    flex-direction: row;
    display: flex;
    border: none;
}

h2 {
    text-align: center;
}

.logo-link {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    border: none; /* remove any border */
}

.logo {
    height: 35px; /* or any desired height */
    width: auto;
    display: block; /* this will remove any whitespace underneath the image */
    border: none; /* remove any border */
}


/* Mobiule friendly */
/* Default styles (optimized for mobile) */
#video-player-container {
    max-width: 100%; /* Adjust to your preferred width */
    margin: 5px auto; /* Center the container */
    padding: 5px;
    border: 1px solid #000; /* Adding a border */
    border-radius: 15px; /* Rounded edges */
    background-color: #1e1e1e; /* Dark background for video player effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Slight shadow for depth */
    position: relative; /* To position potential child elements absolutely if required */
}

.single-image video {
    max-width: 100%; /* Make the video responsive */
    height: auto; /* Automatically adjust height */
}

/* Thumbnails */
.scene-selection ul li a video {
    max-width: 100%; /* Make the thumbnails responsive */
    display: block;
    margin: 0 0;
}

/* Buttons */
.video-buttons ul li {
  display: flex;
  flex-direction: row;  
}

/* Desktop styles (unchanged width) */
@media screen and (min-width: 768px) {
    #video-player-container {
        max-width: 1200px; /* Keep the width the same as before */
    }
}
