* {
    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);
}

.free-btn{
    background-color: rgb(10, 200, 124);
    padding: 12px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
}
.free-btn:hover{
    background-color: rgb(5, 160, 93);
}

.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 */
}

.art1{
    width: 100%;
}
.heading{
    width: 100%;
}
.artrap1{
    width: 95%;
    margin: auto;
    display: grid !important;
    grid-template-columns: auto auto auto auto !important;
    grid-column-gap: 20px !important;
    grid-row-gap: 30px !important;
}

@media only screen and (max-width:760px){
    .artrap1{
        display: grid !important;
        grid-template-columns: auto auto !important;
    }
}
.art-box{
    width: 100%;
    height: auto;
    text-align: justify;
}
.art-box img{
    width: 230px;
    height: 230px;
    border-radius: 50%;
    cursor: pointer;
}

.more{
    background-color: rgb(50, 50, 50);
    padding: 10px;
    border-radius: 10px;
}
.more:hover{
    background-color: rgb(20, 20, 20);
    border: 1px solid white;
}

.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%;
}