


@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@200;300;400;600;700;800;900&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


: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;
    margin: 18px 0;/* change this value and see why it is behaving in a strage way like if you remove margin it expand whole right to more than 100vh
    but if you add it it resize itself to left ? i dont why it hapening  ** and also sometimes i i slsightly change left it will impact right
    maybe i need to make more project and learn more  */
    margin-right: 8px;
   
    
   
}


.home ul li{
    list-style: none;
    
    display: flex;
    width: 14px;
    gap: 15px;
    padding-top: 14px;
    font-weight: bold;
}
.close{
    display: none;
}

.heading{
    display: flex;
    align-items: center;   
    font-size: 8px;
    gap: 20px;
    padding-top: 14px;
    padding: 20px;
    font-weight: bold;
    
}

.heading img{
    width: 20px;
}
.libary{
    position: relative;
    min-height: 73vh;
    padding: 0 10px;
    
}

.footer{
    gap: 13px;
    display: flex;
    font-size: 8px;
    position: absolute;
    bottom: 0;
    padding: 10px 0;
    
    
}
.footer a{
     color: grey;
    }

.header{
    display: flex;
    justify-content: space-between;
    background-color: rgb(34,34,34);
    height: 100px;
}

.header > *{
    padding-top: 20px;
}
.hamburgerContainer{
    padding-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.hamburger{
    display: block
}

.spotifyPlaylist{
    padding: 0 16px;
    
}
.spotifyPlaylist h1{
    padding:  16px;
}

.cardContainer{
    display: flex;
   
    gap: 10px;
    flex-wrap: wrap;
    overflow-y:auto ;
   max-height:58vh 
    
}

.card{
    
    width: 200px;
    padding: 10px;
    border-radius: 5px;
    background-color: #252525;
    position: relative;
    transition: all .9s;
}

.card:hover{
    background-color: rgb(105, 103, 103);
    cursor: pointer;
    --a: 1;
}

.cards > *{
    padding-top: 10px;
    
   
}

.card img{
    width: 100%;
    object-fit: contain;
}

.playBtn{ 
    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 > *{
    padding-top: 20px;

    margin: 0 12px;
 }

 .signupbtn{
    background-color:rgb(34, 34, 34);
    color: rgb(152, 147, 147);
    font-weight:bold;
    border: none;
    outline: none;
    font-size: 16px;
 }

 .signupbtn:hover{

    font-size: 17px;
    color: white;
 }

    .loginbtn{
    background-color: white;
    border-radius: 20px;
    color: black;
    font-size: 16px;
    padding: 10px;
    width: 80px;
    cursor: pointer;
 }

 .loginbtn:hover{
    font-weight: bold;  
    
    font-size: 17px;
    
 }

.playbar {
    position: fixed;
    bottom: 25px;
    filter: invert(1);
    background: #dad5d5;
    border-radius: 20px;
    padding: 6px;
    width: 70vw;
    min-height: 50px;
    right: 29px;
}

.songbuttons{
    filter: invert(1);
    display: flex;
    justify-content: center;
    padding: 5px;
    gap: 15px
}

.songlist{
    /* due to increase in its height from 400 px to .. it has increase overall height of website */
    
    height:59vh;
    overflow: auto;
    margin-bottom: 20px;
    
}

.songlist ul{
    padding: 0 4px;
    
}

.songlist ul li{
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    border: solid 1px white;
    padding: 10px ;
    margin: 15px 0;
   
    overflow-wrap: break-word;
    
   

}

.info{
    font-size: 13px;
    width: 160px;
}

.playnow{
    display: flex;
    align-items: center;
}
.playnow span{
    font-size: 15px;
    width: 68px;
    
    
    
}

.seekbar{
    height: 5px;
    width: 98%;
    border: 1px solid black;
    background-color: black;
    position: absolute;
    bottom: 5px;
    border-radius: 10px;
    
    cursor: pointer;
    
}

.circle{
    width: 14px;
    height: 14px;
    border-radius: 13px;
    background-color: black;
    position: relative;
    bottom: 5px;
    left: 0%;
    cursor: pointer;
    transition: left .5s;                            
}

.songbuttons img{
    cursor: pointer;
}

.abovebar{
    display: flex;
    align-items: center;
    justify-content: space-between ;
    margin: 16px 0;
}

.songinfo{
    color: black;
    padding: 0px 2px;
}
.songtime{ 
    color: black;
    padding: 0 15px;
}
.volume{
   
   filter: invert(1);
    padding-right: 35px;
    cursor: pointer;
}
.range{
    cursor: pointer;
}

.voltime{
    
    align-items: center;
    display: flex;
    gap: 15px;
        align-items: center;
}
/* you forgit  tu use cal(100vh-75px) 3hr 30 min  */

 @media (max-width: 1500px) {  /* Making site responsive */
    .left{
   
        background-color: black;
        position: absolute;
        left: -195%;
        z-index: 1;
        transition: all .3s;
        width: 375px;
        padding: 0;
    }
    .songlist{
        height: 65vh;
    }

    .close{
        position: absolute;
        right: 31px;
        top: 25px;
        width: 30px;
        display: block;
    }
    .right{
        width: 100vw;
        margin: 0;
    }
    .playbar{
                
        width: calc(100vw - 70px);
    }
    .seekbar{
       width: calc(100vw - 90px);
    }
    .hamburger{
        display: block;
    }
    .card{
        width: 20vw;
    }
    .cardContainer{
        margin-bottom: 183px;
        justify-content: center;
        max-height:74vh
    }
    .abovebar{
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin: 15px 0;
    }
    
    
  }




  @media(max-width:712px){
    .card{
        width: 25vw;
    }

  }




  @media(max-width: 448px ){
    .cardContainer{
        max-width: 100vh;
        

    }
    .spotifyPlaylist{
        padding-bottom: 5px;
        
    }
    .songlist{
        height: 62vh;
    }
    .card{
        width: 38vw;
    }
    .volume2{
       width: 15vw;
    }
    .abovebar{
        margin: 16px 0;
    }
    
   
  }

/* specially for smaller screen phone */

    @media(max-width: 321px ){
        .card{
           width: 25vw; 
        }
        .abovebar{
        flex-direction: column;
        gap: 1px;
        align-items: center;
        margin: 2px 0;
    }
    .nav ,.buttons, .header{
        display: none;
    }
    .card{
        width: 35vh;
        
    }
    .cardContainer{
        margin: 10px;
    }
    .spotifyPlaylist{
        min-height: 60vh;
    }
    
    
    }


    /* for jio phone */
    @media(max-width: 241px ){
        .card{
           width: 25vw; 
        }
        .abovebar{
        flex-direction: column;
        gap: 1px;
        align-items: center;
        margin: 2px 0;
    }
    .nav ,.buttons, .header, .volume{
        display: none;
    }
    .card{
        width: 45vh;
        margin-bottom: 80px;
        
    }
    .cardContainer{
        margin: 10px;
       
    }
    .spotifyPlaylist{
        min-height: 100vh;
        
    }
    .songtime{
        display: none;
    }
    .spotifyPlaylist h1{
        padding: 4px;
        font-size: 20px;
        
    }
    .playbar{
        gap: 5px;
        padding: 4px;
        height: 90px;
        display: flex;
        margin-bottom: -23px;
        
        
    }
    .abovebar{
        gap: 0px;
    }
    .songbuttons{
        height: 25px;
        padding: 2px;
    }
    .volume2{
        display: flex;
        position: absolute;
        left: 148px;
        rotate: 270deg;
        bottom: 20px;
        
    }
    
    .volume2 {
        height: 15px;
    }
    
    }

