
 
 :root{
    --a:0;
 }
 /* background-color: black; */
body{
    background-color: black;
    color: white;
    height:100px;
   
    
}
* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}


.left{
    width: 25vw;
    padding: 10px;
    
    
}
.right{
    width:75vw;
}

/* .home ul{
    padding-left: 0px;
    
} */

.home ul li{
    display: flex;
    width: 14px;
    gap: 15px;
    list-style: none;
    padding-top: 14px;
    font-weight: bold;

}
.heading{
    display: flex;
    width: 100%;
    gap: 15px;
   
    /* padding-top: 1px; */
    padding: 23px 14 px;
     font-weight: bold;
     align-items: center;
     font-size: 13px;

}
.heading img{
    width: 20px;
}
.librariry{
    min-height: 70vh;
    position: relative;
}

.footer{
    display: flex;
    font-size: 10px;
    color: gray;
    gap:13px;
    position: absolute;
    bottom:  0;
    padding: 5px 0px;
}

.footer a{
    color: gray;
    font-size: 8px;
}
.right{
    margin: 16px 0px;
   
        position: relative;
    
}
.header{
    display:flex ;
    justify-content: space-between;
    background-color: rgb(34 34 34);
    
}

.header > *{
    padding: 20px;
}

.spotify-playlist{
    padding: 16px;
}

.cardcontainer{
    margin: 20px;
    display: flex;
    
    gap: 10px;
    flex-wrap: wrap;
    overflow-y: scroll;
    max-height: 50vh; 

}

.card{
    width: 100px;
    padding: 10px;
    border-radius: 5px;
    background-color: #252525;
    position: relative;
    
}

.card:hover{
    cursor:  pointer;
    background-color: rgb(72, 71, 71);
    transition: all 0.9s;
    --a:1;

}
.card > *{
    padding-top: 1px;
    /* margin: 5%; */
    /* padding: 0 0 10px ; */
}

.card p{
    opacity: 50%;
    font-size: small;
}
.card img{
    width: 100%;
    object-fit: contain;
}
.play{
   position: absolute;
   top: 70px;
   right: 1px;
   opacity: var(--a);
   transition: all 1s ease-out;
}

.button > *{
    margin: 0 12 px ;
}

.signbtn{
    background-color: rgb(34, 34, 34);
    color: rgb(156, 148, 148);
    font-weight: bold;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;

}

.signbtn:hover{
    font-size: 17px;
    color: white;
}

.loginbtn {
    background-color: white;
    border-radius: 21px;
    color: rgb(112, 108, 108);;
    padding: 5px;
    width: 70px;
    cursor: pointer;
    font-size: 16px;
}

.loginbtn:hover {
    font-weight: bold;
    font-size: 16px;
}



.playbar{
     position: fixed;/*//fixed karna bad me */
    bottom: 0;
    filter: invert(1);
    min-height: 50px;
    background: #e2d9d9;
    border-radius: 10px;
    width: 70vw;
    padding: 10px;
    botttom:31px;
}

.songbutton {
    display: flex;
    left: 70vh;
    gap: 16px;
}

.songlist{
    height: 300px;
    overflow: auto;
    margin: 40px 0px;
}

.info div{
    word-break: break-all;
}

.songlist ul{
    padding: 20px 10px;
    padding-top: 10px;
}

.songlist ul li{
    list-style-type: none;
    display: flex;
    gap:10px;
    font-size: 8px;
    cursor: pointer;
    padding: 8px;
    border: 1px solid white;
    margin: 5px 0px;
    justify-content: space-between;
    border-radius: 5px;
}
.playnow{
    display: flex;
   
    
    align-items: center
}
.playnow span{
    font-size: 8px;
    width: 64px;
    padding: 5px;

}

h2{
    font-size: 1rem;
}
.seekbar{
    height: 2px;
    width: 98%;
    background: black;
    border-radius: 10px;
    position: absolute;
    bottom: 2px;
    margin: 6px;
    cursor: pointer;
}
.seekbar input{
    cursor: pointer;
}
.circle{
    width: 13px;
    height: 13px;
    border-radius: 13px;
    background-color: black;
    position: relative;
    bottom: 5px;
    left: 0%;
    transition: left 0.5s;
}

.songbutton img{
    cursor: pointer;
}
.abovebar{
    display: flex;
    justify-content: space-between;
}

.timevol{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.songinfo ,.songtime{
   font-size: small;
    color: black;
    padding: 0 10px;    
}
.songtime{
    width: 105px;
}
.volume{
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0 5px;
    cursor: pointer;

}

.range input{
    cursor: pointer;
}


.hamburger{
    display:none;

}
.hamburgercontainer{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.close{
    display: none;
}

@media (max-width: 1000px) {
    .left {
        position: absolute;
        left: -100%;
        transition: all .3s;
        z-index: 3;
        width: 300px;
        background-color: black;
        padding: 0;
        height: 100px;
        position: fixed;
        top: 0;
    }
    .right {
        width: 100vw;
    }

    .playbar {
        width: calc(100vw - 75px); 
    }
    .hamburger {
        display: block;
    }
    .left .close {
        position: absolute;
        right: 20px;
        top: 25px;
        width: 29px;
    }
    .seekbar {
        width: calc(100vw - 120px);
    }
    
    .right {
        margin: 0;
    }

    .card {
        width: 20vw;
    }
    .cardContainer {
        margin: 0;
        justify-content: center; 
    }
    .close {
        display: block;
    }
    .songlist{
        height: 400px;
    }

    .abovebar {
        flex-direction: column;
        gap: 23px;
        align-items: center;
    }

    .songinfo,
    .songtime {
        width: auto;
    }

    .timevol {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-direction: column;
        gap: 10px;
    }
    
    .cardContainer {
        max-height: unset;
        overflow-y: unset;
        margin-bottom: 35vh;
    }

    .playbar{
        right: 25px;
    }

/* 
   

    

   

    

   

   


  

   

   

} */
}

 @media (max-width: 500px) {
    .card {
        width: 30vw;
    }

    .header>* {
        padding: 2px;
    }

    .buttons>* {
        margin: 0 6px;
    }

    .header{
        padding: 7px;
    }

    .spotifyPlaylists h1 {
        padding: 4px;
    }

    .library{
        height: 85vh;
    }

    .left{ 
        width: 80vw;
    }

 

    
} 


