/* <uniquifier>: Use a unique and descriptive class name
 <weight>: Use a value from 100 to 900 */

body{
  font-family: "Montserrat", sans-serif;
  margin: 0;
  background-color: black;
  color: white;/*text color white*/
  overflow: hidden;/*learn from mdn we cant scroll due to this.*/
}

.main{/*parent for three divs we create 1st,2nd,3rd*/
    display: flex;
    height: 100vh;/*take full window or screen 100% height*/
    padding: 0.5rem;
}

.sidebar{ /*1st div*/
    background-color: black;
    width:340px;
    border-radius:1rem;/*1 rem=16px*/
    margin-right: 0.5rem;
}

.main_content{/*2nd div*/
    background-color:#0b0b0b;
    flex:1;/*means the remaining space given to main_content ,no matter what space given to sidebar.*/
    border-radius:1rem;/*1 rem=16px*/
    overflow: auto;/*we want a scroll in main content.*/
    padding:0 1.5rem 0 1.5rem ;
}

.music_player{/*3rd div*/
    background-color: black;
    position: fixed;
    bottom: 0px;/*to send it to bottom with fixed position.*/
    width: 100%;
    height:72px ;

}

a{
    text-decoration: none;
    color: white;
}

.nav{
    background-color: #121212;
    display: flex;
    flex-direction: column;/*this help to set nav divs in vertical direction*/
    justify-content: center;
    height:100px;
    padding: 0.5rem 0.75rem;/*8px for top,bottom 0.12px for left,right*/
}

.nav_option{
    line-height: 2.8rem;/*40px*/
    opacity:0.7;
    padding:0.1rem 0.75rem;

}

.nav_option:hover{
    opacity: 1;
}

.nav_option i{
    font-size: 1.25rem;
}

.nav_option a{
    font-size: 1rem;
    margin-left: 1rem;
}

.library{
    background-color: #121212;
    border-radius:1rem;/*1 rem=16px*/
    height:100%;/*rest of the height given to boxes*/
    margin-top: 0.5rem;
    padding:0.1rem 0.75rem;
    

}

.options{
    display: flex;
    justify-content: space-between;/*space between library and icons*/
    align-items: center;
}

.lib_option img{
    height: 1.25rem;

}

.icons{
    font-size: 1.12rem;
    display: flex;

}
.icons i{
    opacity:0.7;
    margin-right:1rem ;

}
.icons i:hover{
    opacity:1;
}

.box{
    background-color:#232323 ;
    height:8rem;
    border-radius: 0.75rem;
    margin:0.75rem 0 1.75rem 0 ;
    padding:0.75rem 1rem ;
}

.box-p1{
    font-size:1rem ;
    font-weight:500 ;

}

.box-p2{
    font-size:0.85rem ;
    opacity: 0.9;

}

.badge{
    background-color: white;
    border: none;
    border-radius: 100px;
    padding: 0.25rem 1rem;
    font-weight: 700;
    margin-top:0.5rem ;
    height:2rem ;
    width: fit-content;
}

.dark-badge{
    background-color: #000;
    color:white;
}

.sticky-nav{
    position: sticky;
    background-color: #121212;
    top:0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 1rem 0;
    z-index: 10;/*use this so that when we scroll main content our words are not overlap on navbar they should invisible behind navbar.*/

}

.sticky-nav-icons {
    margin-left: 0.75rem;
}

.sticky-nav-options{
    display:flex;
    justify-content: center;
    align-items: center;
    /* margin-right:12px; */

    
}

.nav-item{
    margin-right: 1.5rem;
}


@media (max-width:1000px){
    .hide{
        display:none;
    }
}

.card{
    background-color: #232323;
    width: 150px;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-left: 1.5rem;
    margin-top:1rem;
}

.cards-container{
    display:flex;
    flex-wrap: wrap;/*it help to adjust card in their given width and wrap up extra card in next line basically help in responisve ness of website cards.*/


}

.card-img{
    width:100%;
   
    border-radius: 0.5rem;

}

.card-title{
    font-weight:600 ;
}

.card-info{
    font-size: 0.85rem;
    opacity:0.5;

}
.footer{
    height:400px;
    display:flex;
    align-items: center;
    justify-content: center;
    
}

.line{
    width:93%;
    height:50%;
    border-top:1px solid white ;
    opacity:0.4;
}

.music-player{
    display: flex;
    justify-content: space-between;
    align-items: center;
    bottom:0; 
    z-index: 10;
    position:sticky;
    height:80px;
    background-color:black ;
    

}





.album{
    width: 25%;
    display:flex;
    
    
    
    
}
.album img{
    border-radius: 4px;
    height:55px;
    width:55px;
    margin-top: 10px;
    padding-left :-50rem;


}
.name1{
    line-height: 0.5rem;
    margin-left:0.75rem;

}

.name2{
    opacity:0.7;
    font-size: 13px;
}





.player{
    width: 50%;
    
    

}

.controls{
    width:25% ;
    display:flex;
    width:2rem;
    height:3rem;
    margin:4rem;
    justify-content: space-between;   
}



.player-controls{
    display: flex;
    justify-content: center;
    align-items: center;

}

.player-control-icon{
    height:1rem;
    margin-right: 1.75rem;
    opacity: 0.7;
}
.player-control-icon:hover{
    opacity: 1;
}

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

.progress-bar{
    width: 70%;
    appearance: none;/*mdn*/
    background-color: transparent;
    cursor:pointer;
}

.progress-bar::-webkit-slider-runnable-track{
    background-color:#ddd ;
    border-radius: 100px;
    height:0.2rem;

}
.progress-bar::-webkit-slider-thumb{
    appearance:none;
    height:1rem;
    width: 1rem;
    background-color: #1bd760;
    border-radius: 50%;
    margin-top:-6px ;

}
