@import url('https://fonts.googleapis.com/css2?family=Lato:wght@700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
:root{
    --a:0;
}
*{
    margin: 0;
    padding: 0;

}
   body{
    background-color: black;
    color: white;
   }
.border{
    border:2px solid red;
}
.close{
    display: none;
}

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

.right{
    width: 75vw;
}

.home{
    padding: 10px;
}
.home ul li{
    display: flex;
    width: 14px;
    list-style: none;
    gap: 15px;
    padding-top: 14px;
    font-weight: bold;
}
.heading {
    display: flex;
    gap: 15px;
    width: 100%;
    padding-top: 14px;
    padding: 23px 14px;
    font-weight: bold;
    align-items: center;
    font-size: 13px;
}


.heading img {
    width: 30px;
}
.library{
    min-height: 80vh;
    position: relative;
}

.footer{
    display: flex;
    font-size: 10px;
    color: grey;
    gap: 13px;
    position: absolute;
    bottom: 0;
    padding: 10px 0;
}
.footer a{
    color: gray;
   
}
.right{
    margin: 16px 0;
    position: relative;
}
.header{
    display: flex;
    justify-content: space-between;
    background-color: rgb(34,34,34);
}
.header > *{
    padding: 10px;
}
.spotifyplaylist{
    padding: 16px;
}
.spotifyplaylist h1{
    padding: 16px;
}
.card{
    width: 150px;
    padding: 10px;
    border-radius: 5px;
    background-color:#252525;
    position: relative;
    transition: all .9s;
}
.card > *{
    padding-top: 10px;
}
.card img{
    width: 100%;
    object-fit: contain;
}
.card-container{
    margin: 30px;
    display: flex;
        justify-content: center;
    /* align-items: center; */
    gap: 10px;
    flex-wrap: wrap;
    overflow-y: auto;
    max-height: 60vh;
    
}
.card:hover{
    background-color: #333;
    cursor: pointer;
    --a: 1;
}
 .play{
    width: 28px;
    height: 28px;
    background-color: #1fdf64;
    border-radius: 50%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 88px;
    right: 17px;
    opacity: var(--a);
    transition: all 1s ease-out;
}
.buttons > *{
    margin: 0 12px;
}
.signupbtn{
    background-color: rgb(34,34,34);
    color: grey;
    font-weight: bold;
    border: none;
    outline: none;
    font-size: 15px;
    cursor: pointer;

}
/* .buttons{
   display: flex;
   gap:30px;
   
} */
.signupbtn:hover{
    font-size: 17px;
    color: white;

}
.loginbtn{
    background-color: white;
    border-radius: 21px;
    color: black;
    padding:10px ;
    width: 70px;
    cursor: pointer;
    font-size: 16px;
}
.loginbtn:hover{
    font-weight: bold;
    font-size: 17px;
}
.playbar{
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 25px;
    filter: invert(1);
    background:#e2d9d9;
    border-radius: 10px;
    width: 90%;
    padding: 12px;
    width: 70vw;
    min-height: 40px;
    
    
}
.songbtn{
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 20px;
    
}
.song-list{
    height: 544px;
    overflow: auto;
    margin-bottom: 44px;
}
.hamburger{
    display: none;
    cursor: pointer;
}
.hamburgercontainer{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;

}


.song-list ul{
    padding: 0 12px;
}
.song-list ul li{
    list-style-type: decimal;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    padding: 12px 0;
    border: 1px solid rgba(146, 143, 143, 0.491);
    margin: 12px 0;
    padding: 13px;
    border-radius: 5px;
}
.song-list .info{
    font-size: 15px;
    width: 334px;
}
.song-list ul li img{
    width: 20px;
    
}
.info div {
    word-break: break-all;
}
.playnow{
    display: flex;
    justify-content: center;
    align-items: center;
}

.playnow span{
    font-size: 16px;
    width: 64px;
    padding: 12px;
}
.seekbar{
    height: 2px;
    width: 98%;
    background: black;
    position: absolute;
    bottom: 8px;
    border-radius: 10px;
    margin: 6px;
    cursor: pointer;

}
.circle{
    width: 13px;
    height: 13px;
    border-radius: 13px;
    background: black;
    position: relative;
    bottom: 5px;
    left: 0%;
    transition: left 0.5s;
   
}
.songbtn img{
    cursor: pointer;
}
.timevol{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.songinfo{
    color: black;
    padding: 0 12px;
    width: 250px;
}
.songtime{
    color: black;
    padding: 0 12px;
    width: 125px;
}

.abovebar{
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    width: 100%;
}

.volume{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    cursor: pointer;


}

.range input{
    cursor: pointer;
}
@media (max-width: 1200px) {
    .left{
        position: absolute;
        left: -130%;
        transition: all .3s;
        z-index: 1;
        width: 373px;
        background-color: black;
        padding: 0;
        height: 100vh;
        position: fixed;
        top: 0;
       
    }
    .songinfo,.songtime{
        width: auto;
    }
    .left .close {
        position: absolute;
        right: 31px;
        top: 25px;
        width: 29px;

    }
    .right{
        width: 100vw;

    }
    .right{
        margin: 0;
    }
    .playbar{
        width: calc(100vw -75px);
        width: 85vw;
    
    }
    .seekbar{
        width: calc(100vw -110px);
        
        
        
    }
    .hamburger{
        cursor: pointer;
        display: block;
    }
    .card{
        width: 55vw;
    }
    .card-container{
        margin: 0;
        justify-content: center;
        
    }
    .close{
    display: block;
    }
   .abovebar{
        flex-direction: column;
        gap: 23px;
        align-items: center;
    }
    .timevol{
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-direction: column;
        gap: 13px;

    }
    .playbar{
        right: 20px;
    }


}
@media (max-width: 500px){
    .card{
        width: 100%;
    }
}

   


