* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

/* navbar */
header {
    position: sticky;
    left: 0;
    top: 0;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: black;
    color: #fff;
}

main {
    padding: 10px !important;
}

@media only screen and (max-width:680px) {
    nav ul {
        display: grid !important;
        grid-template-columns: auto auto !important;
        grid-column-gap: 15px !important;
    }

    .log {
        border: none !important;
        padding: 0px !important;
    }
}

.song-item {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.song-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.playing {
    background-color: rgba(255, 255, 255, 0.2);
}

.song-img {
    width: 60px;
    /* Increased size for better visibility */
    height: 60px;
    border-radius: 8px;
    /* Slightly more rounded corners */
    margin-right: 16px;
    /* Increased margin */
    object-fit: cover;
    /* Ensure image covers the area, maintain aspect ratio */
}

.audio-controls {
    width: 100%;
    margin-top: 1rem;
    padding-left: 30px;
    padding-right: 20px;
}

@media only screen and (max-width:350px){
    .audio-controls{
        display: none;
    }
}

#seek-bar {
    -webkit-appearance: none;
    appearance: none;
    background: #4a5568;
    border-radius: 0.5rem;
    height: 0.5rem;
    outline: none;
    width: 100%;
    margin-bottom: 0.5rem;
}

#seek-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: #0dc694;
    border-radius: 9999px;
    cursor: pointer;
    height: 1.25rem;
    width: 1.25rem;
}

#seek-bar::-moz-range-thumb {
    background: #0dc694;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    height: 1.25rem;
    width: 1.25rem;
}

#seek-bar::-webkit-slider-thumb:hover,
#seek-bar::-moz-range-thumb:hover {
    transform: scale(1.1);
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #a0aec0;
}

/* footer */
footer {
    position: sticky;
    left: 0;
    bottom: 0;
    width: 100%;
}