/* Secondary Black: #121313 */

@font-face {
    font-family: 'Gotham Bold';
    src: url('/static/fonts/Gotham-Bold.otf') format('opentype');
}

html, body {
    font-family: 'Gotham Bold', sans-serif;
    height: 100%;
    background: linear-gradient(to bottom, #1DB954, #100000);
    color: white;
    margin: 0;
    text-align: center;
    overflow: auto;
}


/* WebKit-based browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    border: 3px solid transparent;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

::-webkit-scrollbar-button {
    display: none; /* Remove the arrows */
}

/* Firefox */
* {
    scrollbar-width: thin;
    background-color: transparent;
    scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
}

#navbar {
    background-color: black;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#navbar #navButtons {
    display: flex;
    margin-left: auto;
}


button {
    background-color: #14833b;
    color: white;
    border: none;
    font: inherit;
    padding: 10px 20px;
    margin: 5px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 15px;
    cursor: pointer;
    display: inline-block;
    align-items: center;
    justify-content: center;
}

button:hover {
    background-color: #0f5d2a;
    transform: scale(1.01);
    transition: 0.1s;
    box-shadow: 0 0 10px rgba(20, 131, 59, 0.1);
    border: 0.1px solid #14833b;
}


#navbar #homeButton {
    background: none;
    padding: 1px;
    margin: 0;
    max-width: 140px;
    max-height: 70px;
    border-radius: 20px;
    border: 0.1px solid white;
}

#navbar #homeButton img {
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: block;
}

#navbar #navButtons {
    display: flex;
    align-items: center;
}

#navbar #navButtons button {
    margin-left: 10px;
}


#navbar #profileButtonContainer {
    position: relative;
    display: inline-block;
}

#navbar #profileButton {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

#navbar #profileImage {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}



#profileImage {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #221e86;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 10px;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #575757;
}

.show {
    display: block;
}

.spotifyButton {
    background: black;
    background-image: url('/spotify_logo');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0;
    border: none;
    margin: 0;
    width: 70px;
    height: 25px;
    border-radius: 10px;
}

.spotifyButton:hover {
    background-color: black;
}
    
/* Footer styles */
#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #111;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
}

@media (max-width: 600px) {
    html, body {
        font-size: 14px;
        overflow: auto; /* Allow scrolling on mobile */
    }

    #navbar {
        flex-direction: column;
        align-items: flex-start; /* Left-align content */
    }

    #navbar #homeButton {
        align-self: center;
        height: 100px;
        width: 140px;
    }


    #navbar #navButtons {
        margin-left: 0;
        margin-top: 10px;
        width: 100%; /* Ensure full width on small screens */
        justify-content: space-between;
    }

    button {
        padding: 8px 16px;
        margin: 5px 0;
        width: 100%;
        box-sizing: border-box;
    }

    #navbar #homeButton {
        max-width: 100px;
        max-height: 40px;
    }

    #navbar #profileButton {
        margin-top: 10px;
    }   

    .card {
        width: 90%;
        margin: 10px auto;
        padding: 15px;
    }

    .cardRow {
        flex-direction: column;
        align-items: stretch;
    }

    #footer {
        font-size: 12px;
        padding: 8px 0;
    }
}
