/* Global Styles */
* {
    margin: 0;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Section Styles */
.section-1, .section-2, .section-3, .section-4, .section-5, .section-6, .section-7 {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
}

.section-1 { 
    background-color: black; 
    overflow: hidden;
}
.section-2 { 
    background-color: white; 
    overflow: hidden; /* Prevent scrolling within the section */
}
.section-3 { 
    background-color: black; 
    overflow: hidden;
}
.section-4 { 
    background-color: white; 
    overflow: hidden;
}
.section-5 { 
    background-color: black; 
    overflow: hidden;
}

.section-6 { 
    background-color: white; 
    overflow: hidden;
}

.section-7 { 
    background-color: black; 
    overflow: hidden;
}

/* Navigation Bar */
.nav-bar ul {
    list-style-type: none;
    text-align: center;
}

.mobileNavBar{
    display: none;
}

.nav-bar li {
    display: inline-block;
    margin: 2.5rem 3rem;
    color: white;
    font-family: 'Epilogue', sans-serif;
    font-weight: 200;
    font-size: 1rem;
} 

.nav-bar a:link, a:visited {
    color: white;
    background-color: transparent;
    text-decoration: none;
}

.nav-bar a:active {
    color: #FF8000;
    background-color: transparent;
    text-decoration: none;
}

.nav-bar a:hover {
    color: #FF8000;
    background-color: transparent;
    text-decoration: none;
}

/* Section 1 styles */
.topContainer {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;  /* Center horizontally */
    align-items: center;  /* Center vertically */
    position: absolute;  /* Position it relative to the screen */
    top: 50%;  /* Move it to the middle of the screen vertically */
    left: 50%;  /* Move it to the middle of the screen horizontally */
    transform: translate(-50%, -50%);  /* Offset by 50% to center it exactly */
}

.title {
    text-align: center;
    padding-top: 40px;
    font-size: 1rem;
    color: #FF8000;
    font-family: 'Epilogue', sans-serif;
    font-weight: 300;
    letter-spacing: 2px;
    padding-bottom: 20px;
}

.name {
    font-family: 'Epilogue', sans-serif;
    font-weight: bold;
    font-size: 50px;
}

.white {
    color: white; /* Make the 'POWER' part white */
}

.blue {
    color: #00B5FF; /* Make the 'PLAY' part blue */
}

/* Section 2 styles */
.duration-container {
    position: relative;
    padding-bottom: 40px;
    padding-top: 20px;
}

.dashedBox {
    border-radius: 2px;
    border-color: black;
    border-style: dashed;
    position: relative;
    height: 50px;
    width: 230px;
    margin: 0 auto;
    display: flex; /* Apply Flexbox here */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
}

.duration-txt {
    text-align: center;
    font-family: 'Epilogue', sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.text-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-txt {
    max-width: 600px; /* Optional: set a max-width for the text container */
    padding: 20px;    /* Optional: add some padding around the text */
    color: black;
    font-size: 14px;
    font-family: 'Epilogue', sans-serif;
    font-weight: normal;
    font-weight: 400;
    line-height: 35px;
    text-align: center;
}

/* Section 3 styles */
.full-video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Make the container fill the full height of the viewport */
    width: 80%;
    position: relative;  /* Position it relative to the screen */
    top: 50%;  /* Move it to the middle of the screen vertically */
    left: 50%;  /* Move it to the middle of the screen horizontally */
    transform: translate(-50%, -50%);
    margin-top: -80px;
}

.full-video-wrapper {
    max-width: 100%; /* Ensure the video wrapper doesn't exceed the container width */
    max-height: 100%; /* Ensure the video wrapper doesn't exceed the container height */
}

video {
    max-width: 100%; /* Make sure the video scales properly */
    max-height: 100%; /* Ensure the video doesn't exceed the wrapper's height */
    width: auto; /* Maintain the aspect ratio */
    height: auto; /* Maintain the aspect ratio */
    border-radius: 20px;
    overflow: hidden;
}

/* Section 4 styles */
.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content {
    display: flex;
    flex-direction: column; /* Change to column direction to stack video above text */
    justify-content: center;
    align-items: center;
    max-width: 80%;
    text-align: left;
    margin-top: 100px;
}

.video-container {
    margin-bottom: 20px; /* Space between the video and the text */
    overflow: hidden;
    width: 70%; /* Adjusted width to make more space for the video */
}

#muted-video {
    border-radius: 20px; /* Rounded corners */
    overflow: hidden; /* Ensures that content inside the video doesn't overflow beyond the rounded corners */
    width: 100%; /* Adjusted width to make the video larger */
    height: auto; /* Maintains the aspect ratio */
    clip-path: inset(0px 0px 0px 1px); /* Crops 1px from the left side */
    margin-left: -1px; /* Adjusts the position to maintain alignment */
}

.video-text-container-white,
.video-text-container-black {
    max-width: 70%; /* Adjust based on how much space you want for the text */
    color: black; /* Use this color if you want white text on black background */
    font-size: 14px;
    font-family: 'Epilogue', sans-serif;
    font-weight: 300;
    line-height: 25px;
    text-align: center;
    padding-left: 0; /* Remove left padding for better alignment in column direction */
    margin-top: 50px;
}

.video-text-container-black {
    color: white; /* Use this color if you want black text on white background */
}

#muted-video::-webkit-media-controls-volume-slider,
#muted-video::-webkit-media-controls-mute-button {
    display: none;
}

#muted-video::-moz-media-controls-volume-control {
    display: none;
}

/* Footer */
.footer {
    text-align: center; 
    color: white;
    font-size: 1rem;
    font-family: 'Epilogue', sans-serif;
    font-weight: 300;
    background-color: black;
    padding-bottom: 20px;
}

/* Media Query for Mobile Screens */
@media (max-width: 850px) {
    /* Section 1 Content */
    .nav-bar {
        display: none;
    }

    .mobileNavBar {
        display: block;
        position: fixed; 
        right: 5%;
        top: 5%;
        z-index: 1000; 
    }

    .popup {
        --burger-line-width: 1.125em;
        --burger-line-height: 0.125em;
        --burger-offset: 0.625em;
        --burger-bg: black;
        --burger-color: white;
        --burger-line-border-radius: 0.1875em;
        --burger-diameter: 2.125em;
        --burger-btn-border-radius: calc(var(--burger-diameter) / 2);
        --burger-line-transition: .3s;
        --burger-transition: all .1s ease-in-out;
        --burger-hover-scale: 1.1;
        --burger-active-scale: .95;
        --burger-enable-outline-color: var(--burger-bg);
        --burger-enable-outline-width: 0.125em;
        --burger-enable-outline-offset: var(--burger-enable-outline-width);
        /* nav */
        --nav-padding-x: 0.25em;
        --nav-padding-y: 0.625em;
        --nav-border-radius: 0.375em;
        --nav-border-color: white;
        --nav-border-width: 0.0625em;
        --nav-shadow-color: rgba(0, 0, 0, .2);
        --nav-shadow-width: 0 1px 5px;
        --nav-bg: gray;
        --nav-font-family: Menlo, Roboto Mono, monospace;
        --nav-default-scale: .8;
        --nav-active-scale: 1;
        --nav-position-left: unset;
        --nav-position-right: 0;
        /* if you want to change sides just switch one property */
        /* from properties to "unset" and the other to 0 */
        /* title */
        --nav-title-size: 0.625em;
        --nav-title-color: white;
        --nav-title-padding-x: 1rem;
        --nav-title-padding-y: 0.25em;
        /* nav button */
        --nav-button-padding-x: 1rem;
        --nav-button-padding-y: 0.375em;
        --nav-button-border-radius: 0.375em;
        --nav-button-font-size: 12px;
        --nav-button-hover-bg: #00B5FF;
        --nav-button-hover-text-color: white;
        --nav-button-distance: 0.875em;
        /* underline */
        --underline-border-width: 0.0625em;
        --underline-border-color: white;
        --underline-margin-y: 0.3125em;
    }
    
    /* popup settings 👆 */
    
    .popup {
        display: inline-block;
        text-rendering: optimizeLegibility;
        position: relative;
    }
    
    .popup input {
        display: none;
    }
    
    .burger {
        display: flex;
        position: relative;
        align-items: center;
        justify-content: center;
        background: var(--burger-bg);
        width: var(--burger-diameter);
        height: var(--burger-diameter);
        border-radius: var(--burger-btn-border-radius);
        border: none;
        cursor: pointer;
        overflow: hidden;
        transition: var(--burger-transition);
        outline: var(--burger-enable-outline-width) solid transparent;
        outline-offset: 0;
    }
    
    .burger span {
        height: var(--burger-line-height);
        width: var(--burger-line-width);
        background: var(--burger-color);
        border-radius: var(--burger-line-border-radius);
        position: absolute;
        transition: var(--burger-line-transition);
    }
    
    .burger span:nth-child(1) {
        top: var(--burger-offset);
    }
    
    .burger span:nth-child(2) {
        bottom: var(--burger-offset);
    }
    
    .burger span:nth-child(3) {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .popup-window {
        transform: scale(var(--nav-default-scale));
        visibility: hidden;
        opacity: 0;
        position: absolute;
        padding: var(--nav-padding-y) var(--nav-padding-x);
        background: var(--nav-bg);
        font-family: var(--nav-font-family);
        color: var(--nav-text-color);
        border-radius: var(--nav-border-radius);
        box-shadow: var(--nav-shadow-width) var(--nav-shadow-color);
        border: var(--nav-border-width) solid var(--nav-border-color);
        top: calc(var(--burger-diameter) + var(--burger-enable-outline-width) + var(--burger-enable-outline-offset));
        left: var(--nav-position-left);
        right: var(--nav-position-right);
        transition: var(--burger-transition);
    }
    
    .popup-window legend {
        padding: var(--nav-title-padding-y) var(--nav-title-padding-x);
        margin: 0;
        color: var(--nav-title-color);
        font-size: var(--nav-title-size);
        text-transform: uppercase;
    }
    
    .popup-window ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }
    
    .popup-window ul button {
        outline: none;
        width: 100%;
        border: none;
        background: none;
        display: flex;
        align-items: center;
        color: var(--burger-color);
        font-size: var(--nav-button-font-size);
        padding: var(--nav-button-padding-y) var(--nav-button-padding-x);
        white-space: nowrap;
        border-radius: var(--nav-button-border-radius);
        cursor: pointer;
        column-gap: var(--nav-button-distance);
        padding: 10px;
        
    }
    
    .popup-window ul li:nth-child(1) svg,
    .popup-window ul li:nth-child(2) svg {
        color: white;
    }
    
    .popup-window ul li:nth-child(4) svg,
    .popup-window ul li:nth-child(5) svg {
        color: white;
    }
    
    .popup-window ul li:nth-child(7) svg {
        color: white;
    }
    
    .popup-window hr {
        margin: var(--underline-margin-y) 0;
        border: none;
        border-bottom: var(--underline-border-width) solid var(--underline-border-color);
    }
    
    /* actions */
    
    .popup-window ul button:hover,
    .popup-window ul button:focus-visible,
    .popup-window ul button:hover svg,
    .popup-window ul button:focus-visible svg {
        color: var(--nav-button-hover-text-color);
        background: var(--nav-button-hover-bg);
    }
    
    .burger:hover {
        transform: scale(var(--burger-hover-scale));
    }
    
    .burger:active {
        transform: scale(var(--burger-active-scale));
    }
    
    .burger:focus:not(:hover) {
        outline-color: var(--burger-enable-outline-color);
        outline-offset: var(--burger-enable-outline-offset);
    }
    
    .popup input:checked+.burger span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
    
    .popup input:checked+.burger span:nth-child(2) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }
    
    .popup input:checked+.burger span:nth-child(3) {
        transform: translateX(calc(var(--burger-diameter) * -1 - var(--burger-line-width)));
    }
    
    .popup input:checked~nav {
        transform: scale(var(--nav-active-scale));
        visibility: visible;
        opacity: 1;
    }

    .menu-txt {
        font-family: 'Epilogue', sans-serif;
        font-weight: bold;
        font-size: 12px;
    }
    .section-2, .section-3, .section-4, .section-5, .section-6, .section-7 {
        width: 100%;
        height: 100%;
        overflow-x: hidden;
    }

    .full-video-container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%; /* Make the container fill the full height of the viewport */
        width: 80%;
        position: relative;  /* Position it relative to the screen */
        margin-top: 200px;
    }

    .video-text-container-white,
    .video-text-container-black {
        max-width: 70%; /* Adjust based on how much space you want for the text */
        color: black; /* Use this color if you want white text on black background */
        font-size: 14px;
        font-family: 'Epilogue', sans-serif;
        font-weight: 300;
        line-height: 25px;
        text-align: center;
        padding-left: 0; /* Remove left padding for better alignment in column direction */
        margin-top: 50px;
        margin-bottom: 20px;
    }

    .video-text-container-black {
        color: white; /* Use this color if you want black text on white background */
    }
}