/* --- Global Styles --- */
html {
    padding: 0%;
    margin: 0%;
}

body {
    font-family: Arial, sans-serif;
    background: #ff8200;
    color: #333;
    margin: 0;
    padding: 90px 0 0 0;
    overflow-x: hidden; 
}

a{
    color: #ff8200;
}

.album-info-container {
    background-color: #ffffff;
    border-radius: 15px;
    border: 2px solid #000;
    width: 95%;
    margin: 20px auto;
    /* REMOVED padding here so the sidebar can touch the edges perfectly */
    box-sizing: border-box; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);

    /* Flexbox layout */
    display: flex;
    flex-direction: row;
    align-items: stretch; /* Ensures the sidebar stretches to the full height of the main content */
}

.album-info-container h1 {
    margin: 0;
    font-size: 2em;
    font-family: Arial;
    font-weight: bold;
    letter-spacing: -2px;
    color: #333;
}


#sidebar-items {
    display: flex;
    flex-direction: column; 
    gap: 1.5em; /* Switched to em */
    width: 60%; /* Increased from 60% so buttons fill up the sidebar nicely */
    opacity: 97%;
}

#sidebar-item {
    background: #f48b2b;
    width: 100%;
    color: black;
    padding: 12px 0px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
    border: #000 solid 3px;
    display: block;

}

#mainpage {
    flex: 1; /* Tells the main page to expand and fill the remaining 75% */
    padding: 2em; /* Moved the padding here so the text doesn't touch the edges */
}

#mainpage p {
    font-size: 1em;
    margin: 3px;
}

#mainpage .ftext {
    font-size: 0.7em;
    margin-top: 10px;

}

.modlink {
    display: inline-block;  /* Prevents padding from overlapping other elements */
    margin: 10px 5px;       /* Adds breathing room between the buttons */
    padding: 15px;
    background: #f48b2b;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    border: 2px solid black;
    box-sizing: border-box; /* Keeps padding inside the element's total width */
}
@media (max-width: 767px) { .modlink{ display: block; margin: 10px auto; width: 90%; max-width: 300px;}}

.subtext {
    font-size: 1em;
    margin-top: 0px;
}



@media (min-width: 768px) {  
    .album-info-container h1 {
        font-size: 6em;
        letter-spacing: -5px;
    }
    #mainpage .ftext {
        font-size: 1em;
    }
}



/* --- Base Mobile Styles --- */

/* Increase body padding on mobile to make room for the top bar + mobile nav */
body {
    padding-top: 130px; 
}


/* Hide the desktop sidebar on mobile */
#sidebar {
    display: none; 
}

/* --- Desktop Adjustments --- */
@media (min-width: 768px) {
    .subtext {
        font-size: 2em;
        margin-top: 0px;
    }

    #mainpage p {
        font-size: 1.4em;
        margin: 3px;
    }

    /* Bring back the sidebar on desktop */
    #sidebar {
        display: flex; /* Restores the flex layout we set up earlier */
        flex: 0 0 25%;
        border-radius: 13px 0px 0px 13px;
        border-right: 6px solid #f48b2b;
        padding: 2em 0;
        flex-direction: column;
        align-items: center; 
        justify-content: center;
        background-image: url('/files/sm.gif');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }
}