body{
     font-family: "Montserrat", sans-serif;
     margin:0;
     background-color: #000;
     color:white;
     overflow: hidden;
}

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

.sidebar{
    background-color: black;
    width: 350px;
    border-radius: 1rem;
    margin-right: 0.5rem;
}

.main-content{
    background-color: #121212;
    flex:1;
    border-radius: 1rem;
    overflow: auto;
    padding: 0 1.5rem 7rem 1.5rem;
}

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

a{
    text-decoration: none;
    color: #fff;
}

.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.8;
    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;
}

.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.3rem;
     
    display: flex;
}
.icons i{
    margin-right: 1rem;
    opacity: 0.7;
}

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

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

.badge{
    background-color: #fff;
    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;
    /* border: 1px solid #fff; */
    color:#fff;
}


.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-icons {
   margin-left: 0.75rem;
}

.sticky-nav-options{
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-item{
    margin-right: 1rem;
}
@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: 700;
}

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


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

.line{
    height: 50%;
    width: 90%;
    border-top:1px solid #fff;
    opacity: 0.4;
}

.music-player{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px
}
.album{
    width:25%;
    
}
.player{
    width:50%;
    
}

.controls{
    width:25%;
   
}


.player-control{
    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:80%;
    appearance: none;
    background-color: transparent;
    cursor: pointer;
}

.progress-bar::-webkit-slider-runnable-track {
    height: 4px;
    background: #b3b3b3;
    border-radius: 2px;
}
.progress-bar::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    background: #1bd760;
    border-radius: 50%;
    margin-top: -4px;
    cursor: pointer;
}

/* left-side */

.album {
    width: 25%;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    min-width: 0; /* ⭐ REQUIRED */
}

.song-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0; /* ⭐ REQUIRED */
    
}

.song-title {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 6px;
    
}

.song-artist {
    font-size: 0.75rem;
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.album-img {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    object-fit: cover;
}



/* right-side */


.control {
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding-right: 25px;
}

.control i {
    font-size: 1rem;
    opacity: 0.7;
    cursor: pointer;
    transition: 0.2s;
}

.control i:hover {
    opacity: 1;
}

.volume-bar {
    width: 90px;
    height: 4px;
    appearance: none;
    background: #4d4d4d;
    border-radius: 10px;
}

.volume-bar::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
}

