
:root{
    --a:0;
}

*{
    margin: 0;
    padding: 0;
    font-family:Roboto,sans-serif; 
}

.body{

    background-color: black;
    color: white;
}

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

}

.right{
    width: 75vw;
}

.home{
    padding: 10px;
}

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

.heading{
    width: 100%;
    display: flex;
    gap: 15px;
    padding-top: 14px;
    font-weight: bold;
    align-items: center;
    padding: 23px 14px;
    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;
    
}

.footer a{
    color:grey;
    
}

.right{
    margin: 16px 0;
    position: relative;
}

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

.header > *{
    padding: 42px;
}

.spotifyPlaylists{
    padding: 16px;
}

.spotifyPlaylists h1{
    padding: 16px;
}

.cardContainer{
    display: flex;
    gap:10px;
    flex-wrap: wrap;
    margin: 30px;
    max-height: 60vh;
    overflow-y: auto;
  

}

.card{
    width: 200px;
    padding:10px;
    border-radius: 5px;
    background-color: #252525;
    position: relative;
    transition: all 0.9s;
    
    
}

.card:hover{
background-color: rgb(105,103,103);
cursor: pointer;
--a:0.7;
}

.card > *{
    padding-top: 10px;
}

.card img{
    width: 100%;
    object-fit: contain;

    
}

.play{
    width: 28px;
    height: 28px;
    background-color: #1fdf64;
    border-radius: 50%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 88px;
    right: 17px;
    position: absolute;
    opacity: var(--a);
    transition: all 1s ease-out;
}

.signupbtn{
    background-color:rgb(34, 34, 34);
    color: rgb(217, 215, 215);
    font-weight: bold;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;

}

.signupbtn:hover{
    font-size: 17px;
    color: white;
}

.buttons > *{
    margin: 0 12px;

}

.loginbtn{
    background-color: white;
    border-radius: 21px;
    color: black;
    padding: 10px;
    width: 79px;
    cursor: pointer;
    font-size: 12px;
}

.loginbtn:hover{
    font-weight: bold;
    padding: 13px;
   
}



.playbar{
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 30px;
    background-color: #dad5d5;
    width: 90%;
    padding: 12px;
    width: 70vw;
    filter: invert(1);
    border-radius: 10px;
    min-height: 40px;
}

.songbuttons{
    display: flex;
    justify-content: center;
    gap: 16px;
}

.songList{
    height: 544px;
    overflow: auto;
    margin-bottom: 44px;
}

.songList ul{
    padding: 0px 12px;
}

.songList ul li{
    list-style-type: decimal;
    display: flex;
    gap: 12px;
    cursor: pointer;
    padding: 12px 0px;
    border: 1px solid white;
    margin: 12px 0px;
    padding: 13px;
    border-radius: 5px;
    justify-content: space-between;
}

.songList .info{
    font-size: 13px;
    width: 344px;

}

.info div{
    word-break: break-all;
}

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

.playnow span{
    font-size: 15px;
    width: 64px;
    padding: 12px;
}

.seekbar{
    height:4px;
    width: 98%;
    background: black;
    position: absolute;
    bottom: 8px;
    border-radius: 10px;
    margin: 6px;
    cursor: pointer;

}

.circle{
    border-radius: 13px;
    width: 13px;
    height: 13px;
    background-color: black;
   position: relative;
    bottom: 6px;
    left: 0%;
    transition: left 0.5s;
    
}

.songbuttons 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;
}



.volume{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.range input{
    cursor: pointer;
}

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

.hamburger{
    display: none;
    cursor: pointer;
}

.hamburgerCont{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.close{
    display: none;
}

@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;
    
}
.left .close{
    position:absolute;
    right: 31px;
    top: 25px;
    width: 29px;
}
.right{
    width:100vw;
}
.playbar{
    width: calc(100vw - 75px);
    
}

.seekbar{
    width: calc(100vw - 120px)
}
.hamburger{
display: block;
}
.card{
    width: 44vw;
}

.close{
    display: block;
}
.right{
    margin: 0;
}
.abovebar{
    flex-direction: column;
    gap: 23px;
    align-items: center;
}
.cardContainer{
    max-height: unset;
    overflow-y: unset;
    margin-bottom: 35vh;
}

.playbar{
    right: 25px;
   

}

.songinfo, .songtime{
    width: auto;
}
.timevol{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    gap: 13px;
}

}

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

    .header>* {
        padding: 2px;
    }
.buttons>*{
    margin:0 6px;
}

.header{
    padding: 7px;
}
.spotifyPlaylists h1{
    padding: 4px;
}
.library{
    height: 85vh;
}

.left{
     
    width: 100vw;
}

}
