body{
    font-family: "Montserrat", sans-serif; 
    /* margin is set so the content so extreme left */
    margin: 0;
    background-color: black;
    color: #fff;
    /*Due to this The content which is out of the page is not visible as we see it in sidebar and in music-player but in main-content there is scroll bar,but for now we set it for all the overflow hidden afterwards we make changes
    There are different values of overflow such as auto-in which we cn scroll, on scroll-also we can scroll,visible -in this we can see content but out on the box,clip also works similar to hidden */
    overflow: hidden;
}
/* .header{
    background-color: black;
    position: fixed;
    /* top:0; */
    /* width: 100%;
    height: 64px;
} */ 
.main{
    display: flex;
    /* get whole viewport height means whole page height due to this child divs also get whole viewport height*/
    height: 100vh;
    padding: 0.5rem;
}
.sidebar{
    /* we see the exact color through color-picker */
    background-color: black;
    /* this width is given based on inspected spotify website */
    width: 340px;
    border-radius: 1rem; /*1rem=16px*/
    margin-right: 0.5rem;
}
.main-content{
    background-color: #121212 ;
    /* means the main-content take the whole remaining width as flex-grow:1 */
    flex: 1;
    border-radius: 1rem; /*1rem=16px*/
    /* means the scroll bar is seen when it is required */
    overflow: auto;
    padding: 0 1.5rem;
}
.music-player{
    background-color: black;
    position: fixed;
    bottom: 0;
    width: 100%;
    /* this height is given based on inspected spotify website */
    height: 72px;
}
a{
    text-decoration: none;
    color: #fff;
}
.nav{
    background-color: #121212;
    border-radius: 1rem;
    /* due to this 2 of them come on same line i.e home and search */
    display: flex;
    flex-direction: column;
    /* as we made flex-direction:column so justify-content works vertically,whereas in general case it works horizontally */
    justify-content: center;
    /* this height is given based on inspected spotify website */
    height: 100px;
    /* we are trying to give padding in the form of rem as to make website responsive as padding is 8 px to top and bottom and 12 px to left and right*/
    padding: 0.5rem 0.75rem;
}
.nav-option{
    line-height: 2.5rem; /*on spotify website it is 40px which is approximately 2.5 rem as 2 rem=32px */
    /* before the options are light and after hovering it becomes dark for that effect we make opacity:0.7 */
    /* but if we observe more so we see the home opacity is by-default 1,and only search opacity changes through hover so we declare opacity of home as inline style */
    opacity: 0.7;
    padding: 0.5rem 0.75rem;
}
.nav-option:hover{
    opacity: 1;
}
.nav-option i{
    font-size: 1.25rem;/*it is basically 20px on website which is approximately equals=1.25rem*/
}
.nav-option a{
    font-size: 1rem;/*it is basically 16px on website which is approximately equals=1rem*/
    /* we want to give margin between icon and text so we do this below */
    margin-left: 1rem;
}
.library{
    background-color: #121212;
    border-radius: 1rem;
    height: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
}
.options{
    display: flex;
    /* Due to which the library comes on left and icons come on right */
    justify-content: space-between;
    align-items: center;
}
.lib-option img{
    height: 1.25rem;
    width: 1.25rem;
}
.icons{
    font-size: 1.25rem;
    display: flex;
}
.icons i{
    opacity: 0.7;
    margin-right: 1rem;
}
.icons i:hover{
    opacity: 1;
}
.box{
    background-color: #232323;
    /* height of box on spotify website is 133.6 and 16*8=128 so some what similar */
    height: 8rem;
    border-radius: 0.75rem;
    margin: 0.75rem 0 1.75rem 0;
    padding: 0.75rem 1rem;
}
.box-p1{
    font-size: 1rem;
    font-weight: 700;
}
.box-p2{
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}
.badge{
    background-color: #fff;
    border: none;
    border-radius: 100px;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.5rem;
    height: 2rem;
    /* Due to this the content get fit in badge */
    width: fit-content;
}
.sticky-nav{
    position: sticky;
    /* if this is not written then it does not become sticky to top it also get scroll instead of giving position sticky */
    top: 0;
    background-color: #121212;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    /* as never any element z-index is greater than this,so no any element overlaps with sticky-nav*/
    z-index:10;
}
.sticky-nav-icons img{
    /* in image case we don't give font-size we give height and width */
    margin-left: 0.75rem;
}
.sticky-nav-options{
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-item{
    margin-right: 1rem;
}
.dark-badge{
    background-color: black;
    color: #fff;
}
@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;
}
.card-img{
    width:100%;
    border-radius: 0.5rem;
}
.card-title{
    font-weight: 600;
}
.card-info{
    font-size: 0.85rem;
    opacity: 0.8;
}
.footer{
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.line{
    width: 90%;
    height: 50%;
    border-top: 1px solid white;
    opacity: 0.3;
}
.music-player{
    display:flex;
    justify-content: space-between;
    align-items: center;
}
.album{
    width: 25%;
    height: 100%;
    display:flex;
    align-items: center;
}
.player{
    width: 50%;
}
.controls{
    width: 25%;
    height: 100%;
    display:flex;
    align-items: center;
}
.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%;
    /* as every element such as radio button,button,range have some appearance set to remove that all appearance we set appearance to none*/
    appearance: none;
    background-color: transparent;
    /* hand like symbol come */
    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;
}
.album-img{
    display: flex;
    height: 3.5rem;
    width: 3.5rem;
    border-radius: 0.5rem;
    margin: 10px;
}
.album-title{
    display: flex;
    flex-direction: column;
    margin-right: 10px;
}
.alb-title{
    font-size: 0.85rem;
    font-weight: 400;
}
.alb-title:hover{
    text-decoration: underline;
}
.alb-info{
    font-size: 0.75rem;
    opacity: 0.8;
    color: #b3b3b3;
}
.alb-info:hover{
    text-decoration: underline;
    opacity: 1;
}
.album-add{
    display: flex;
    justify-content: center;
    align-items: center;
}
.album-add img{
    color: grey;
    height: 1.25rem;
    width: 1.25rem;
    opacity: 0.8;
    padding: 10px;
    margin: 5px;
}
.album-add img:hover{
    height: 1.5rem;
    width: 1.5rem;
    color: #232323;
    opacity: 1;
    cursor: pointer;
}

.icon{
    height: 2rem;
    width: 2rem;
    margin: 5px;
    opacity: 0.8;
}
.icon:hover{
    height: 2.25rem;
    width: 2.25rem;
    opacity: 1;
}
.a{
    height: 1.25rem;
    width: 1.25rem;
}
.a:hover{
    height: 1.5rem;
    width: 1.5rem;
    opacity: 1;
}
.music-bar::-webkit-slider-runnable-track{
    background-color: #ddd;
    border-radius: 100px;
    height: 0.2rem;
}
.music-bar::-webkit-slider-thumb{
    appearance: none;
    height: 1rem;
    width: 1rem;
    background-color: #1bd760;
    border-radius: 50%;
    margin-top: -6px;
}