*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;;
}
body{
    background-color: black;
    color: white;    
}

.left{
    width:25vw;
    padding: 10px;
}

.right{
    width:75vw;
    margin: 15px 0px;
    position: relative;
}

.home ul li {
    display: flex;
    gap: 15px;
    width: 15px;
    list-style: none;
    padding-top: 14px;
    font-weight: bold;
}

.heading{
    display: flex;
    gap: 15px;
    /* width: 100%; */
    padding: 14px 0 14px 0;
    font-weight: bold;
    align-items: center;
    font-size: 10px;
}

.library{
    min-height: 80vh;
    position: relative;
}

.songlist{
    height: 60vh;
    overflow: auto;
    margin-bottom: 20px;
}
.songlist ul{
    padding: 0 42px;
    /* width: 20vw; */
}
.songlist ul li {
    list-style: none;
    list-style-type: decimal;
    display: flex;
    gap: 34px;
    cursor: pointer;
    padding: 13px;
    margin: 12px -40px;
    border: 1px solid white;
    border-radius: 5px;
}
.songlist ul li:hover{
    background-color: #252525;
    transition: ease-in-out 0.2s all;
    text-decoration: underline;
}
.songlist .info{
    white-space: nowrap;
    display: inline-block;
    overflow: hidden;
    word-break: break-all;
}

.playglo{
    /* box-shadow: #1DB954 0px 0px 10px; */
    filter: invert(1);   
}

.footer{
    display: flex;
    gap: 15px;
    color: grey;
    font-size: 10px;
    width: 75%;
    flex-wrap: wrap;
    position: absolute;
    bottom: 0;
    padding: 10px;
}
.footer a{
    color: grey;
    text-decoration: none;
}

.header {
    display: flex;
    justify-content: space-between;
    background-color: rgb(34, 34, 34)
}

.header > *{
    padding:20px;
}

.hamburger{
    display: none;
}
.close{
    display: none;
}

.spotify-playlists{
    padding: 15px;
}

.card-container{
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin: 10px;
    overflow-y: auto;
    max-height: 60vh;
}
.card{
    font-size: smaller;
    width: 150px;
    padding: 10px;
    border-radius: 5px;
    /* background-color: #252525; */
    position: relative;
}
.card p{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}
.card img {
    width: 100%;
    object-fit: contain;
}
.card > *{
    padding-top: 10px;
}

.card:hover{
    background-color: #252525;
    transition: ease-in-out 0.2s all;
    cursor: pointer;
}

.play{
    position: absolute;
    top: 95px;
    right: 25px;
    opacity: 0;
}
.card:hover{
    .play{
        opacity: 1;
        transition: ease-in-out 0.2s all;
    }
}
.play:hover{
    transform: scale(1.1);
    
}

.buttons{
    margin: 0 12px;
}

.signupbtn{
    background-color: rgb(34, 34, 34);
    color: #ababab;
    font-weight: bold;
    border: none;
    outline: none;
    cursor: pointer;
}
.signupbtn:hover{
    color: white;
    font-size: 0.87em;
}

.loginbtn{
    background-color: white;
    color: black;
    font-weight: bold;
    border-radius: 20px;
    padding: 10px;
    width: 80px;
    margin: 0 10px;
    cursor: pointer;
}
.loginbtn:hover{
    font-weight: bolder;
    /* width: 85px; */
    scale: 1.05;
}

.playbar{
    /* display: flex; */
    /* justify-content: center; */
    align-items: center;
    flex-direction: column;
    border-radius: 25px;
    position: fixed;
    bottom: 0;
    background-color: #1db954;
    width: 70%;
    padding: 10px;
    margin: 20px 0;
}

.songbuttons{
    display: flex;
    justify-content: center;
    gap: 15px;
    position:static

}
.songbuttons img{
    cursor: pointer;
    /* position: fixed; */
}

.seekbarContainer{
    display: flex;
    justify-content: center;
    align-items: center;
}

.seekbar{
    width: 90%;
    margin: 8px;
    height: 3px;
    /* margin-bottom: 10px; */
    background-color: #121212;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
}

.circle{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    position: absolute;
    top: -3px; 
    left: 0;
    transition: left 0.5s;
}

.abovebar{
    display: flex;
    justify-content: space-between;
}

.songinfo{
    width: 15vw;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
    position: relative;
}
.volume{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
}
#volbar{
    width: 100px;
    height: 5px;
    background-color: #121212;
    border-radius: 5px;
    cursor: pointer;
}
#volbar:hover::after{
    display: block;
}

@media (max-width: 1024px){
    .left{
        display:none;
        background-color: black;
        position: absolute;
        left: -100%;
        transition: all 0.3s;
        z-index: 1;
        width: 95vw;
    }

    .right{
        width: 100%;
        margin: 0;
    }
    .playbar{
        width: 90%;
        position: fixed;
        bottom: 0;
        min-height: 20px;
    }
    .hamburger{
        display: block;
    }
    .hamburgerContainer{
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .close{
        display: block;
        position: absolute;
        top: 25px;
        right: 25px;
        cursor: pointer;
    }
    .card{
        width: 45vw;
    }
    .card-container{
        width: 100%;
        overflow-x: auto;
        margin: 0;
    }
    .volume{
        display: none;
    }
}
@media (max-width: 600px){
    .card{
        width: 90vw;
    }
    .play{
        top: 250px;
    }
}