*{
    font-family: 'Montserrat',sans-serif;
    margin:0;
    padding:0;
}

html,body{
    height:100%;
    background-color: black;
    display: flex;
    flex-direction: column;
}

::-webkit-scrollbar{
    height:8px;
    width:8px;
}
::-webkit-scrollbar-track{
    border-radius: .5rem;
    cursor: pointer;
    background: transparent;
}
::-webkit-scrollbar-thumb{
    cursor: pointer;
    background: #36363670;
    border-radius: .5rem;
}

.main{
    display: flex;
    height: calc(100% - 90px);
    padding:.5rem;
    gap:.5rem;
    flex: 1;
}

.sidebar{
    background-color:black;
    width:25%;
    border-radius: .5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap:.5rem;
}
.main-content{
    background-color: #121212;
    flex:1;
    border-radius: .5rem;
    overflow: auto;
}
.music-player{
    background-color:black;
    height:90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin:0 1rem;
}

a{
    text-decoration: none;
    color:white;
}
/* --------------------------------------------------------------SIDEBAR--------------------------------------------------------------- */
.nav,.library{
    background-color: #121212;
    border-radius: .5rem;
}

.nav{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height:17%;
    padding: .5rem .75rem;
}

.nav-option{
    line-height: 2.5rem;
    opacity:.7;
    padding:0.5rem 0.75rem; 
    display: flex;
    align-items: center;
}

.nav-option:hover{
    opacity:1;
}

.nav-option i{
    font-size: 1.25rem;
    color:white;
    cursor: pointer;
}
.nav-option a{
    font-size: 1rem;
    margin-left: .85rem;
}

.library{
    flex:1;
    padding:.5rem .75rem;
}

.library img{
    height:1.25rem;
    cursor: pointer;
}

.options{
    display:flex;
    justify-content: space-between;
    align-items: center;
}

.icons{
    font-size: 1.25rem;
    display: flex;
}

.icons i{
    opacity:.7;
    margin-right:1rem;
    color:white;
    cursor: pointer;
}

.icons i:hover{
    opacity:1;
}

.lib-box{
    margin-top:.5rem;
    display: flex;
    flex-direction: column;
    gap:1rem;
}

.box{
    background-color: #232323;
    height:9rem;
    border-radius: .5rem;
    padding:.75rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap:1rem;
}

.box-p1{
    font-size: 1rem;
    font-weight: 600;
    color:white;
}
.box-p2{
    font-size: .80rem;
    opacity: .9;
    color:white;
}

.badge{
    background-color: white;
    border:none;
    border-radius: 100px;
    color:black;
    padding:.25rem 1rem;
    font-weight: 650;
    height: 2rem;
    width: fit-content;
    cursor: pointer;
    font-size: .9rem;
}
/* ---------------------------------------------------------MAIN-CONTENT--------------------------------------------------------------- */
.dark-badge{
    background-color: black;
    color:white;
}

.sticky-nav{
    position: sticky;
    top:0;
    left:0;
    background-color: #131313;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:1rem 1.4rem;
    z-index: 5;
}

.sticky-nav-icons{
    width:5.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sticky-nav-icons img{
    background-color: #2f2f2f49;
    border-radius: 50px;
    padding:.4rem;
    cursor: pointer;
}

.sticky-nav-options{
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-nav-options .fa-user{
    background-color: black;
    border-radius: 50%;
    padding:.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-item{
    margin-right:1rem;
}

.fa-user{color:white;}

.cards{
    color:white;
    margin-top: 1.2rem;
    margin-bottom: 2rem;
    padding:0 .2rem 0 1.5rem;
}

.cards h2{
    margin-bottom: 1rem;
}

.cards-container{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap:1.2rem;
}

.card{
    background-color: #2323238a;
    width:150px;
    height: 235px;
    border-radius: .5rem;
    padding:1rem;
    display: flex;
    flex-direction: column;
    gap:.8rem;
}

.card img{
    border-radius: .3rem;
    width:100%;
}

.card-title{
    font-weight: 600;
    font-size: .95rem;
}
.card-info{
    overflow: hidden;
    font-size: .73rem;
    opacity: .8;
    width:149px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.footer{
    height:200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.line{
    width:95%;
    height:25%;
    border-top:1px solid white ;
    opacity:.4;
}
/* ----------------------------------------------------------MUSIC-PLAYER-------------------------------------------------------------- */
.album{
    width:25%;
    color:white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap:1.2rem;
}

.album img{
    height:3.2rem;
    border-radius: .3rem;
}

.song-details{
    display: flex;
    flex-direction: column;
    gap:.2rem;
}
.song-details p:nth-child(1){
    font-weight: 700;
    font-size: .9rem;
}
.song-details p:nth-child(2){
    opacity: .7;
    font-size: .7rem;
}

.album i{cursor: pointer;}

.player{
    width:50%;
    color:white;
    display: flex;
    flex-direction: column;
    gap:.5rem;
}

.player-controls{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:1.7rem;
}

.player-control-icons{
    height:.9rem;
    opacity: .7;

}
.player-control-icons:hover{
    opacity: 1;
    cursor: pointer;
}
.player-control-icons:nth-child(3){
    height: 1.8rem;
    opacity: 1;
}
.player-control-icons:nth-child(3):hover{
    height:2.1rem;
}

.playback-bar{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:1rem;
}

.progress-bar{
    width:50%;
    appearance: none;
    background-color: transparent;
    position: relative;
    cursor: pointer;
}

.playback-bar span{
    font-size: .9rem;
}

.progress-bar::-webkit-slider-runnable-track{
    background-color: #ddd;
    border-radius: 100px;
    height:.2rem;
}

.progress-bar::-webkit-slider-thumb{
    appearance: none;
    height: .8rem;
    width:.8rem;
    background-color: #1bd760;
    border-radius: 50%;
    margin-top: -4px;
    display: none;
    cursor: pointer;
}

.progress-bar:hover::-webkit-slider-thumb{display: block;}

.player-options{
    width:25%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap:.5rem;
    color:white;
}

.player-options i{cursor: pointer;}

.other-options{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:.5rem;
}

.player-options > i:last-child{display: none;}

.volume-control{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:.5rem;
}

.volume{
    appearance: none;
    background-color: transparent;
    cursor: pointer;
    width:60%;
}
.volume::-webkit-slider-runnable-track{
    background-color: #ddd;
    border-radius: 100px;
    height:.2rem;
}
.volume::-webkit-slider-thumb{
    appearance: none;
}
/* ----------------------------------------------------------MEDIA-QUERIES-------------------------------------------------------------- */
@media (max-width:1174px){
    html{font-size: 14.5px;}
}
@media (max-width:1000px){
    .hide{display: none;}
}
@media (max-width:960px){
    html{font-size: 13.5px;}
}
@media (max-width:885px){
    .sidebar img{height:1.1rem;}
    .sidebar i{font-size: 1rem;}
    .icons i:last-child{display:none;}
}
@media (max-width:820px){
    .lib-box{display: none;}
    .icons{display: none;}
    .sidebar a{display: none;}
    .sidebar{width:5%;}
    .library{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }
    .nav{
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }
    .card{
        width:120px;
        height: 205px;
    }
    .card-info{
        width:119px;
    }
    .song-details{display: none;}
    .other-options{display: none;}
    .volume-control{display: none;}
    .player-options > i:last-child{
        display: flex;
        font-size: 1.3rem;
    }
}
@media (max-width:595px){
    .sidebar img{height:.9rem;}
    .sidebar i{font-size: .8rem;}
}
@media (max-width:530px){
    .album > i:last-child{display: none;}
    .nav{height:10%;}
    .sidebar img{height:.8rem;}
    .sidebar i{font-size: .8rem;}
}
@media (max-width:400px){
    .card{
        width:100px;
        height: 185px;
    }
    .card-info{
        width:99px;
    }
    .album i{display: none;}
    .sidebar{width:10%;}
}
@media (max-width:365px){
    html{font-size: 12px;}  
    .cards h2{font-size: 1.1rem;}
    .sticky-nav-icons{display: none;}
    .sticky-nav-options{
        width: 100%;
        justify-content: space-between;
    }
}