body{
    font-family: 'montserrat' ,sans-serif;
    margin: 0;
    background-color: black;
    color: white;
    overflow: hidden;
}
.main{
    display: flex;
    height: 100vh;
    padding: 0.5rem;
}
.sidebar{
    background-color:black;
    width: 340px;
    border-radius: 1rem; 
    margin: 0.5rem;
}
.main-content{
    background-color: #121212;
    flex: 1;
    border-radius: 1rem; 
    overflow: auto;
    padding: 0 1.5rem 0 1.5rem;
   
}
.music-player{
    background-color: black;
    position: fixed;
    bottom: 0px;
    width: 100%;
    height: 4.5rem;
}
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.2rem 0.75rem;
}
.nav-option i{
    font-size: 1.25rem;

}
.nav-option a{
    font-size: 1rem;
    margin-left: 1rem;
}
.nav-option:hover{
    opacity: 1;
}
.library{
    background-color: #121212;
    border-radius: 1rem;
    height: 100%;
    margin-top: 0.5rem;
    padding: 0.2rem 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;
    border-radius: 0.75rem;
    height: 8.75rem;
    margin: 0.75rem 0 1.75rem 0;
    padding: 0.5rem 1.25rem;
}
.box-p1{
    font-size: 1rem;
    font-weight: 500;
}
.box-p2{
    font-size: 0.8rem;
    opacity: 0.9;
}
.badge{
    background-color: white;
    border: none;
    border-radius: 100px;
    padding: 0.25rem 1rem;
    font-weight: 700;
    margin: 0.5rem;
    height: 2rem;
    width: fit-content;
}
.dark-badge{
    background-color: black;
    color: white;
    border: 1.5px solid white;
}
.sticky-nav{
    background-color: #121212;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0.8rem 1rem 0.2rem;
    z-index: 10;
}
.sticky-nav-icons{
    font-size: 2rem;
    margin-left: 0.5rem;
}
.sticky-nav-options button{
    margin-right: 1.5rem;
}
@media (max-width:1000px){
    .hide{
        display: none;
    }
    .sidebar{
        display: none;
    }
    .artist-name{
        display: none;
    }
    .icons{
        display:none;
    }
    #smallicon{
        display: none;
    }
    .main-content{
        padding: 0;
    }
    .controls{
        display: none;
    }
    .card-container{
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        overflow-x: auto;
        
        
    }
    .card{
        background-color: #232323;
        width: 8rem;
        border-radius: 0.5rem;
        margin-left: 1.5rem;
        margin-bottom: 1.5rem;
        flex-shrink: 0;
    }
    .albums{
        display: none;
        margin: 0;
        padding: 0;
    }
    #immovable{
        display: none;
        margin: 0;
        padding: 0;

    }
    #movable{
        display: none;
        margin: 0;
        padding: 0;

    }
  
    .player {
       
        flex-grow: 1;
    }
    .player-controls{
        justify-content: center;
    }
}
/* main content */
.card{
    background-color: #232323;
    width: 12.5rem;
    border-radius: 0.5rem;
    padding: 0.8rem;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.card:hover{
    box-shadow: 3px 3px 8px #232323;
    transform: scale(1.1);
}
.card-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.5;
    
}
.footer{
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.line{
    width: 90%;
    height: 30%;
    border-top: 1px solid white;
    opacity: 0.4;
}
.music-player{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.album{
    width: 25%;
}
.player{
    width: 50%;
}
.controls{
    width: 25%;
}
.player-control-icon{
    height: 1rem;
    margin-right: 2rem;
    opacity: 0.7;
   
}
.player-control-icon:hover{
    opacity: 1;
}
.player-controls{
    display: flex;
    justify-content: center;
    align-items: center;
   
}

.playbutton{
    height: 2rem;
}
.playbutton:hover{
    height: 2.5rem;
}
.playback-bar{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 1rem;
    padding-right: 1rem;
    
}
.progress-bar {
    width: 100%;
    appearance: none;
    height: 4px; /* Thinner track height */
    background-color: #ddd; /* Unplayed part */
    border-radius: 50px; /* Rounded ends */
    outline: none;
    cursor: pointer;
}

.progress-bar::-webkit-slider-thumb {
    appearance: none;
    height: 10px;  /* Adjusted thumb height */
    width: 10px;   /* Adjusted thumb width */
    background-color: #1bd760; /* Green thumb */
    border-radius: 50%; /* Rounded thumb */
    cursor: pointer;
    border: none;
}

.progress-bar::-moz-range-thumb {
    appearance: none;
    height: 10px;  /* Adjusted thumb height */
    width: 10px;   /* Adjusted thumb width */
    background-color: #1bd760; /* Green thumb */
    border-radius: 50%; /* Rounded thumb */
    cursor: pointer;
    border: none;
}

.progress-bar::-moz-range-track {
    background-color: #ddd; /* Track color */
    border-radius: 50px; /* Rounded ends for Firefox */
}
.album{
    display: flex;
    justify-content: center;
    justify-content: space-around;
    align-items: center;
    margin-top: 1rem 1rem 0 0;
   
}
.image-play{
    height: 1rem;
    width: 2rem;
}


/* control in playbar */
.controls{
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-around;
    padding: 2.7rem;
}
 #volumeSeekbar{
    width: 70%;
    appearance: none;
    background-color: transparent;
    cursor: pointer;
   
    
 }
#volumeSeekbar::-webkit-slider-runnable-track{
    background-color: #ddd;
    border-radius: 6.25rem;
    height: 0.2rem;
    margin-bottom: 0.25rem;
}
#volumeSeekbar::-webkit-slider-thumb{
    appearance: none;
    height: 1rem;
    width: 1rem;
    background-color: #1bd760;
    border-radius: 6.25rem;
    margin-top: -0.43rem;
    
   
}