* {
    font-family: "Montserrat", sans-serif;
    margin: 0;

}

body{
    background-color: black;
    overflow: hidden;
    color: white;

}

.main{
    display: flex;
    height: 100vh;
    padding: 0.5rem;
}

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

.main_content{
    background-color: #121212;
    flex: 1;
    border-radius: 1rem; /*16px*/
    overflow: auto;
    padding: 0 1.5rem 0 1.5rem;
}

.music-player{
    background-color: black;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 72px;
}

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

.nav{
    background-color: #121212;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100px;
    padding: 0.5rem 0.75rem;
}

.nav-option{
    line-height: 2.5rem;
    opacity: 0.7;
    padding: 0.5rem 0.75rem;
}
.nav-option:hover{
   
    opacity: 1;
}

.nav-option i{
    font-size: 1.25rem;
}

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

.sticky-nav-icon i{
    font-size: 2.25rem;
}

.sticky-nav-icon i:hover{
    font-size: 2.5rem;
}

.library{
    background-color: #121212;
    border-radius: 1rem;
    height: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;

}

.options{
    display: flex;
    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: 8rem; */
    border-radius: 0.75rem;
    margin: 0.75rem 0 1.5rem 0;
    padding: 1rem 1.25rem;
}

.box-p1{
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.box-p2{
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 1rem;

}


.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;
    border: none;
}

.badge:hover{
    /* height: 2.25rem;
    width: fit-content; */
    font-size: small;
    
}

.dark-badge{
    background-color: black;
    color: white;
}

.sticky-nav{
    position: sticky;
    top: 0;
    background-color: #121212;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 1rem 0;
    z-index: 10;
}

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

.sticky-nav-option{
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-item{
    margin-right: 1.25rem;
    font-weight: 600;
}

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

.card{
    background-color: #121212 ;
    width: 180px;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-right: 0.5rem;
    margin-left: 1rem;
    margin-bottom: 1.5rem;

}

.card:hover{
    background-color: #232323;
}

.class-container{
    display: flex;
    flex-wrap: wrap;

}

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

.card-title{
    font-weight: 600;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.card-info{
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

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

.line{
    width: 90%;
    height: 50%;
    border-top: 1px solid white;
    opacity: 0.5;

}

.music-player{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.album{
    width: 25%;
    display: flex;
    
}
.album-img{
    margin-right: 1rem;
    justify-content: center;
    align-items: center;
    /* object-fit: cover; */
    /* height: 30px;
    width: 30px; */
    border-radius: 4px;
    
}
.album-info{
    margin-top: 1rem;
    margin-right: 1rem;
}
.p1{
    font-weight: 500;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}
.p2{
    font-size: 0.7rem;
    opacity: 0.8;
}

.album-icon{
    height: 1rem;
    margin-top: 1rem;
    margin-right: 1.25rem;
    opacity: 0.7;
}
.album-icon:hover{
    opacity: 1;
}

.player{
    width: 50%;
}

.control{
    width: 25%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.controls{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
}

.audio-range{
    /* width: 40%; */
    appearance: none;
    background-color: transparent;
    cursor: pointer;
    width: 100px;   /* control slider length */
    cursor: pointer;
}
.volume-control{
    display: flex;
    align-items: center;
}

.controls img,
.control-icon{
    vertical-align: middle;
    display: inline-block;
}

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

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

}

.audio-range:hover{
    background-color:#1bd760
}

.control-icon{
    height: 1.25rem;   /* increase visibility */
    width: 1.25rem;
    opacity: 0.85;
    cursor: pointer;
    object-fit: contain;
}

.speaker-icon{
    
}

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

.player-control-icon{
    height: 1rem;
    margin-right: 1.25rem;
    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;
    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;

}

