        html {
            position: relative;
            min-height: 100%;
        }
        
     body {
            /*background-color: #f4f4f4;*/
            background-image: url("ayce-web_backrgound.jpeg");
            padding: 0;
            color: #333;
            display: flex;
            flex-direction: column;
            align-items: center;
            overflow-y: scroll;
            margin: 0 0 100px;
            font-family: "Alumni Sans Pinstripe", sans-serif;
            font-size: 1.6em;

        }

        .alumni-sans-pinstripe-regular {
        font-family: "Alumni Sans Pinstripe", sans-serif;
        font-weight: 600;
        font-style: bold;
        }

        .alumni-sans-pinstripe-regular-italic {
        font-family: "Alumni Sans Pinstripe", sans-serif;
        font-weight: 400;
        font-style: italic;
        }


        header {
            background-color: #000;
            color: white;
            padding: 1em 0;
            width: 100%;
            text-align: center;
            font-family: Impact, Haettenschweiler;
            background-repeat: no-repeat;
            background-size: 175px 175px;
        }

        .container {
            padding: 20px;
            max-width: 1000px;
            margin: 0 auto;
        }

        h1 {
            margin: 0;
            font-size: 2em;
        }

        .accordion {
            /*background-color: #333 !important;*/
            background: rgba(56, 56, 56, .4);  
            color: white;
            cursor: pointer;
            padding: 15px;
            width: 100%;
            max-width: 1000px;
            text-align: left;
            border: none;
            outline: none;
            font-size: 1.2em;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: "Alumni Sans Pinstripe", sans-serif !important;
        }
        .accordion:hover {
            background-color: #555;
        }
        .panel {
            padding: 0 15px;
            display: none;
            width: 100%;
            max-width: 900px;
            background-color: #333;
            overflow: hidden;
        }
        .song-list {
            list-style: none;
            padding: 0;
        }
        .song-list li {
            margin-bottom: 10px;
        }
        audio {
            width: 100%;
            margin-top: 10px;
        }
        .arrow {
            transition: transform 0.3s;
        }
        .arrow.down {
            transform: rotate(0deg);
        }
        .arrow.up {
            transform: rotate(180deg);
        }
        .footer {
            text-align: center;
            padding: 10px;
            background-color: #000;
            color: white;
            width: 100%;
            box-sizing: border-box; /* Crucial: Include padding and border in width */
            bottom: 0;
            left: 0;
            position: absolute;
            height: auto;
            min-height: 30px; /* Ensure a minimum height */
            font-size: 0.9em; /* Slightly smaller font on mobile */
        }
        /* Style the buttons that are used to open and close the accordion panel */
        .accordion {
            background: rgba(0, 0, 0, 0.8);
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin: 10px 0;
            overflow: hidden;
            border: none;
            outline: none;
            transition: 0.4s;
        }

        /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
        .active, .accordion:hover {
        background-color: #ccc;
        }

        .accordion-header {
            padding: 15px;
            font-size: 1.2em;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            background-color: #333;
            color: #fff;
        }
        .accordion-content {
            padding: 15px;
            display: none;
            background-color: #f9f9f9;
        }
        .accordion-content audio {
            width: 100%;
            margin-top: 10px;
        }
        .arrow {
            transition: transform 0.3s;
        }
        .arrow.down {
            transform: rotate(0deg);
        }
        .arrow.up {
            transform: rotate(180deg);
        }
        .panel {
        padding: 0 18px;
        background-color: white;
        display: none;
        overflow: hidden;
        }
        .play-count {
            font-size: .7em;
            font-style: italic;
        }

/* Leaderboard Section */
/* style.css */

#leaderboard-panel {
    background-color: rgba(0, 0, 0, 0.7); /* Slightly transparent background */
    color: #fff; /* White text */
    border-radius: 8px; /* Rounded corners */
    padding: 1px; /* Reduced padding */
    margin: 1px auto; /* Add some margin and center it */
    width: 50%; /* Adjust width as needed */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

#leaderboard-panel button {
    background: none;
    color: #eee;
    border: none;
    padding: 10px 0; /* Reduced vertical padding */
    margin-bottom: 10px; /* Add some space below the title/button */
    font-size: 1.2em;
    cursor: pointer;
    width: 100%;
    text-align: left; /* Align text to the left */
    display: flex;
    justify-content: space-between; /* Space out text and arrow */
    align-items: center;
}

#leaderboard-panel button .arrow {
    font-size: 0.8em;
    transition: transform 0.3s ease-in-out;
}

#leaderboard-panel button .arrow.up {
    transform: rotate(180deg);
}

.leaderboard {
    background-color: rgba(34, 34, 34, 0.85);
    color: #f0f0f0;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    width: 70%;
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
    border: 1px solid #555;
     -webkit-box-sizing: border-box; /* Safari/older Chrome, but good practice */
    box-sizing: border-box; /* Standard */
}

.leaderboard h2 {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #ddd;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-align: center;
}

#leaderboard {
    list-style: none;
    padding: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS Safari */

}

#leaderboard li {
    background-color: rgba(51, 51, 51, 0.7);
    color: #eee;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 1em;
    border-left: 3px solid #00bcd4;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Keep on one line by default */
    display: -webkit-box; /* Older Safari/Chrome flexbox */
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-box-sizing: border-box; /* Ensure consistent box model */
    box-sizing: border-box;
}

#leaderboard li:nth-child(odd) {
    background-color: rgba(68, 68, 68, 0.7);
}

#leaderboard li:hover {
    background-color: rgba(85, 85, 85, 0.8);
    transform: translateX(2px);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

#leaderboard li strong {
    flex-grow: 1;
    margin-right: 10px;
}

#leaderboard li .play-count-container {
    display: flex;
    align-items: center;
}

#leaderboard li .play-count-label {
    margin-right: 5px;
    color: #aaa;
    font-size: 0.9em;
}

#leaderboard li .play-count {
    font-size: 0.9em;
    color: #aaa;
    font-style: normal;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 3px 6px;
    border-radius: 5px;
}

#songSearchInput {
    width: 70%;
    max-width: 600px;
    margin: 10px auto;
    display: block;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #777;
    background-color: #444;
    color: #eee;
    box-sizing: border-box;
}

#songSearchInput::placeholder {
    color: #999;
}

/* Mobile Styles  */
@media screen and (max-width: 768px) { /* Adjust the breakpoint as needed */
    .leaderboard {
        width: 80%; /* Take up more width on mobile */
        margin-top: 10px auto; /* Reduce vertical margins */
        margin-bottom: 10px auto; /* Reduce vertical margins */
        padding: 1px; /* Reduce padding */
    }

    .leaderboard h2 {
        font-size: 1.4em; /* Smaller heading on mobile */
        margin-bottom: 8px;
    }

    #leaderboard li {
        font-size: 0.9em; /* Smaller font on mobile */
        padding: 8px 10px; /* Reduced padding on list items */
        white-space: normal; /* Allow text to wrap on mobile */
        flex-direction: column; /* Stack title and play count vertically */
        align-items: flex-start; /* Align items to the start (left) */
    }

    #leaderboard li strong {
        margin-bottom: 5px; /* Add space below title */
    }

    #leaderboard li .play-count-container {
        display: block; /* Display as block to stack elements */
    }

    #songSearchInput {
        width: 95%; /* Wider search input on mobile */
        margin: 8px auto; /* Adjust margins */
    }
    .footer {
        padding: 5px; /* Further reduce padding on very small screens */
        font-size: 0.8em; /* Even smaller font on very small screens */
    }


/* Mobile Styles */
@media screen and (max-width: 768px) {
    .leaderboard {
        width: 95%;
        margin: 10px auto;
        padding: 10px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    #leaderboard li {
        -webkit-box-orient: vertical; /* Older Safari/Chrome flex direction */
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        white-space: normal;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    /* ... other mobile styles ... */
}

/* Style the search input to be narrower as well */
#songSearchInput {
    width: 70%;
    max-width: 600px;
    margin: 10px auto;
    display: block; /* Ensure it takes the full width of its container */
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #777;
    background-color: #444;
    color: #eee;
    box-sizing: border-box;
}
}