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

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

/* Section Styles */
.section-1, .section-2, .section-3, .section-4 {
    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 */
    height: 100%;
}
.section-3 { 
    background-color: white; 
    overflow: hidden;
    height: 100%;
}
.section-4 { 
    background-color: white; 
    overflow: hidden;
    height: 100%;
}
.section-5 { 
    background-color: white; 
    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;
}

.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;
}

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

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

.desktop {
    display: block;
}

.mobile {
    display: none;
}

.s1-text {
    margin-top: 100px;
    color: white;
    font-size: 16px;
    font-family: 'Epilogue', sans-serif;
    font-weight: normal;
    font-weight: 100;
    line-height: 35px;
    padding-left: 100px;
    padding-right: 100px;
}

/* 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;
    /* No need for Flexbox here */
}

.format {
    display: flex;
    align-items: flex-start; /* Align items at the start (top) */
    gap: 10px; /* Optional: Adds space between the images and the text */
    margin-left: 50px;
    margin-top: 50px;
}

.format img {
    max-width: 200px; /* Optional: Adjust the size of the images */
    height: auto;
}

.desktop-s2 {
    flex: 1; /* Make the text container take up remaining space */
    display: block;
}

.s2-text {
    color: black;
    font-size: 14px;
    font-family: 'Epilogue', sans-serif;
    font-weight: normal;
    font-weight: 400;
    line-height: 35px;
    padding-left: 50px;
    padding-right: 50px;
    text-align: center;
}

.mobile-s2 {
    display: none;
}

.footer {
    text-align: center; 
    color: black;
    font-size: 1rem;
    font-family: 'Epilogue', sans-serif;
    font-weight: 300;
    margin-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 1 Styles */
    .section-1 {
        height: 110%;
    }

    .topContainer {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .desktop {
        display: none;
    }
    
    .mobile {
        display: block;
    }
    
    .s1-text {
        margin-top: 50px;
        color: white;
        font-size: 16px;
        font-family: 'Epilogue', sans-serif;
        font-weight: normal;
        font-weight: 100;
        line-height: 35px;
        padding-left: 50px;
        padding-right: 50px;
    }

    /* Section 2 styles */
    .section-2 {
        height: 100%;
    }

    .format {
        display: flex;
        flex-direction: column; /* Stack images and text in a column */
        align-items: center; /* Center the content horizontally */
        gap: 20px; /* Space between the images and the text */
        margin-top: 50px;
        margin-left: -10px;
    }
    
    .s2-text {
        color: black;
        font-size: 16px;
        font-family: 'Epilogue', sans-serif;
        font-weight: normal;
        font-weight: 400;
        line-height: 35px;
        padding-left: 50px;
        padding-right: 50px;
        text-align: center;
    }
    
    
    .images {
        display: flex; /* Align images inline */
        gap: 10px; /* Space between the images */
    }
    
    .images img {
        max-width: 150px; /* Adjust the size of the images */
        height: auto;
    }
    
    .desktop-s2 {
        width: 100%; /* Ensure the text block takes full width */
        text-align: center; /* Center the text within the div */
    }

    .desktop-s2 {
        display: none;
    }

    .mobile-s2 {
        display: block;
        margin-bottom: 50px;
    }
}