/* Global Styles */
/* Reset default margin & padding */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-image: url('../img/sand-background.jpeg'); /* Path to your background image */
    background-size: cover; /* Ensures the image covers the entire page */
    background-position: center center; /* Centers the background image */
    background-attachment: fixed; /* Keeps the background fixed when scrolling */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.full-content-container {
    flex: 1 0 auto;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

/* Overlay Menu */
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: #02316ed9;
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #ffffff;
    display: block;
    transition: 0.3s;
    font-family: 'Sugo Pro Display';
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

/* Show overlay when targeted */
#overlay-menu:target {
    width: 100%;
}

.burger-link{
    cursor: pointer;
}


/* Upload Fonts */
 @font-face {
    font-family: 'Gulfs Display';
    src: url('../font/gulfs-display-normal.woff2') format('woff2'),
         url('../font/gulfs-display-normal.woff') format('woff'),
         url('../font/gulfs-display-normal.eot') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}    
   
@font-face {
    font-family: 'Sugo Pro Display';
    src: url('../font/Sugo-Pro-Display-Bold-trial.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Sugo Pro Classic';
    src: url('../font/Sugo-Pro-Classic-Light-trial.ttf') format('truetype');
    font-weight: 300; /* Light */
    font-style: normal;
}    

.footer {
    flex-shrink: 0;
    background-color: #ffde59;
    color: #02306e;
    text-align: left;
    padding: 10px 0;
    width: 100%;
    font-size: 0.5rem;
    font-family: 'Sugo Pro Classic', sans-serif;
    position: relative;
    bottom: 0;
}

.footer p {
    margin-left: 20px;
    font-style: italic;
}

/* MOBILE DISPLAY */ 
@media  (max-width: 700px) {

    /* Navbar */
    .navbar {
        background-color: #ffde59; 
        display: flex;
        align-items: center; /* Center content vertically */
        height: 10%; /* Nav Bar takes up % of the screen */
        width: 100%;
        justify-content: space-between; /* adds space between logo and burger */
    }

    .logo {
        max-height: 110px; /* Adjust to fit within the navbar */
        width: auto;
        padding-left: 10px;
    }

    .burger {
        max-height: 40px; /* Adjust to fit within the navbar */
        width: auto;
        padding-right: 15px;
    }

    .menu-items{
        display: none;
    }

    /* Article */ 
    .article{
        color: #02306e;
        padding: 30px 50px 50px 30px; /* Reduce top padding */
    }

    /* Apply fonts */
    h1 {
        font-family: 'Gulfs Display', sans-serif;
        text-align: center; /* Center-align the headings */
        font-size: 8vw;
        margin-top: auto;
    }

    h2 {
        font-family: 'Sugo Pro Display', sans-serif;
        font-weight: bold; 
        text-align: left; 
        letter-spacing: 1px;
        font-size: 6vw;
    }
    

    p {
        font-family: 'Sugo Pro Classic', sans-serif;
        font-weight: 300; /* Light */
        text-align: left; /* Keep paragraphs left-aligned */
        margin: 0 0 20px 0; /* Add margin below paragraphs */
        font-size: 5vw;
    }

    /* Playlist */
    .playlist-container{
    margin: 10%;
    margin-bottom: 30%;
    }

    .playlist-container iframe {
        width: 100%;
        height: 400px;
        padding-top: 3%;
    }
}


/* Tablet Display */ 
    @media  (min-width: 701px) and (max-width: 1080px) {

    /* Navbar */
     .navbar {
        background-color: #ffde59; 
        display: flex;
        align-items: center; /* Center content vertically */
        height: 10%; /* Nav Bar takes up % of the screen */
        width: 100%;
        justify-content: space-between; /* adds space between logo and burger */
    }

    .logo {
        max-height: 100px; /* Adjust to fit within the navbar */
        width: auto;
        padding-left: 20px;
    }

    .burger {
        max-height: 40px; /* Adjust to fit within the navbar */
        width: auto;
        padding-right: 25px;
    }

    .menu-items{
        display: none;
    }

    /* Wrapper for article + playlist */
    .full-content-container {
        display: flex; /* Enables side-by-side layout */
        flex-direction: row; /* Ensures items are side by side */
        width: 100%;
        flex-wrap: nowrap; /* Prevents wrapping */
    }
    
    .article-container {
        width: 50%;
        display: flex;
        flex-direction: column;
    }

    .article{
        color: #02306e;
        padding: 30px 50px 50px 50px; /* Reduce top padding */
    }

    /* Apply fonts */
    h1 {
        font-family: 'Gulfs Display', sans-serif;
        text-align: left; /* Center-align the headings */
        font-size: 5.5vw;
        margin-top: auto;
        line-height: 5vw;
    }

    h2 {
        font-family: 'Sugo Pro Display', sans-serif;
        font-weight: bold; 
        text-align: left; 
        letter-spacing: 1px;
        font-size: 4vw;
    }

    p {
        font-family: 'Sugo Pro Classic', sans-serif;
        font-weight: 300; /* Light */
        text-align: left; /* Keep paragraphs left-aligned */
        margin: 0 0 20px 0; /* Add margin below paragraphs */
        font-size: 2vw;
    }

    /* Playlist */
    .playlist-container {
        width: 40%; /* Takes up right half */
        display: flex;
        justify-content: center;
        align-items: flex-start;
        margin-top: 10px;
        padding-right: 40px;
    }

    .playlist-container iframe {
        width: 100%;
        height: 900px;
    }

}

/* DESKTOP DISPLAY */
    @media  (min-width: 1081px) {
       
    /* Navbar styling */
    .navbar {
        background-color: #ffde59; /* Bold yellow */
        display: flex;
        justify-content: space-between;
        align-items: center; /* Center content vertically */
        height: 95px; /* Adjust the height as needed */
        width: 100%;
    }
    
    .logo {
        max-height: 120px; /* Adjust to fit within the navbar */
        width: auto;   
        padding-left: 10%;
    }
    
    .burger{
        display: none;
    }
    
    .menu-items{
        color: #02306e;
        display: flex;
        justify-content: space-between;
        padding-right: 5%;
        gap: 60px;
        font-size: xx-large;
        letter-spacing: 1px;
        font-family: 'Sugo Pro Display';
    }

    .menu-items a:hover {
        transform: scale(1.1); /* Slightly enlarges the text on hover */
        transition: transform 0.3s ease; /* Adds smooth transition for the scale effect */
    }
    
    .home, .listen, .find-your-song{
        text-decoration: none;
        color: #02306e;
    }
    
    /* Wrapper for article + playlist */
    .full-content-container {
        display: flex; /* Enables side-by-side layout */
        flex-direction: row; /* Ensures items are side by side */
        width: 100%;
        flex-wrap: nowrap; /* Prevents wrapping */
    }

    .article-container {
        width: 50%;
        display: flex;
        flex-direction: column;
    }

    .article{
        color: #02306e;
        padding: 30px 50px 50px 50px; /* Reduce top padding */
    }

    /* Apply fonts */
    h1 {
        font-family: 'Gulfs Display', sans-serif;
        text-align: left; /* Center-align the headings */
        font-size: 3vw;
        margin-top: auto;
        line-height: 5vw;
        letter-spacing: 2px;
    }

    h2 {
        font-family: 'Sugo Pro Display', sans-serif;
        font-weight: bold; 
        text-align: left; 
        letter-spacing: 1px;
        font-size: 2vw;
    }

    p {
        font-family: 'Sugo Pro Classic', sans-serif;
        font-weight: 300; /* Light */
        text-align: left; /* Keep paragraphs left-aligned */
        margin: 0 0 20px 0; /* Add margin below paragraphs */
        font-size: 1.5vw;
    }

    /* Playlist */
    .playlist-container {
        width: 50%; /* Takes up right half */
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding: 30px;
        margin-top: -5px;
        padding-right: 5%;
    }

    .playlist-container iframe {
        width: 100%;
        height: 700px;
    }

    html, body {
        height: 100%;
        margin: 0;
        padding: 0;
    }
    
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }
    
    .full-content-container {
        flex: 1 0 auto;
        padding: 20px;
    }
    
    .footer {
        flex-shrink: 0;
    }

}