body{
    font-family: 'Montserrat', sans-serif;
    margin:0;
    background-color: black;
    color: white;
}

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

.side-bar{
    background-color: black;
    width:335px;
    border-radius: 1rem;
    margin-right: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: #000;
    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{
    height: 2.5rem;
    opacity:0.65;
    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: 0.9rem;
}

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

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

.icons{
    display: flex;
    font-size: 1.25rem;
}

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

.icons i:hover{
    opacity:1;
}

.library-options img{
    height:1.25rem;
    width:1.25rem;
}

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

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

.box-2{
    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;
    color:#fff;
}

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

.bar-icons img{
    margin-left:0.75rem;
}

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

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

.card-container{
    display:flex;
    flex-wrap: wrap;
}

.card-image{
    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;
    align-items:center;
}

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

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

.album{
    width:25%;
}

.player{
    width:50%;
}

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

.controls{
    width:25%;
}

.player-icons{
    height:1rem;
    margin-right:1.75rem;
    opacity:0.7;
}

.player-icons:hover{
    opacity:1;
}

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

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

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

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

.album{
    display:flex;
    align-items:center;
    gap:1rem;
    width:25%;              
    min-width:180px;
}

.album-image{
    width:3.5rem;
    height:3.5rem;
    border-radius:4px;
}

.album-name{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.p1{
    font-size:0.9rem;
    font-weight:500;
    margin:0;
}

.p2{
    font-size:0.75rem;
    color:#b3b3b3;
    margin:0;
}

.album-icons{
    display:flex;
    align-items:center;
    gap:0.75rem;
    margin-left:auto;     
}

.heart,
.icon2{
    width:1.25rem;
    height:1.25rem;
    opacity:0.7;
    cursor:pointer;
    transition:0.2s ease;
}

.heart:hover,
.icon2:hover{
    opacity:1;
    transform:scale(1.1);
}

.icon2{
    height:2rem;
}

.controls{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:1.5rem;
    width:25%;          /* right side of player */
}

.controls-icons{
    display:flex;
    align-items:center;
    gap:1rem;
}

.controls-icons img{
    width:1rem;          /* ~16px */
    height:1rem;
    opacity:0.7;
    cursor:pointer;
}

.controls-icons img:hover{
    opacity:1;
}

.controls-volume{
    display:flex;
    align-items:center;
    gap:0.5rem;
}

.controls-volume img{
    width:1.5rem;
    height:1.5rem;
    opacity:0.7;
}

.controls-volume input::-webkit-slider-runnable-track{
    height:3px;
    background:#4d4d4d;
}

.controls-volume input::-webkit-slider-thumb{
    appearance:none;
    width:10px;
    height:10px;
    background:#fff;
    border-radius:50%;
    margin-top:-3px;
}
