body{
    font-family: "Montserrat", sans-serif;
    margin: 0;
    background-color: black;
    color: white;
    overflow: hidden;
}
.main{
    display: flex;
    height: 100vh;
    padding: 0.5rem;
}

/* 3 major section */
.sidebar{
    background-color: black;;
    width: 340px;
    border-radius: 1rem; /*16px*/
    margin-right: 0.5rem;
}
.main-content{
    background-color: #121212;
    flex: 1;    /* It means all the available extra space will be allocated to it */
    border-radius: 1rem;
    overflow: auto;
    padding: 0 1.5rem 0 1.5rem;
}
.music-player{
    background-color: black;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
}

/*navbar*/
a{
    text-decoration: none;
    color: #fff;
}
.navbar{
    background-color: #121212;
    border-radius: 1rem;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem 0.7rem;
}
.nav-items{
    line-height: 2rem;
    opacity: 0.7;
    padding: 0.5rem 0.75rem;
}
.nav-items i{
    font-size: 1.2rem;
}
.nav-items a{
    font-size: 1rem;
    padding-left: 1rem;
}
.nav-items:hover{
    opacity: 1;
}

/* Library Section */
.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;
}
.library img{
    height: 1.5rem;
    width: 1.5rem;
}
.icons{
    font-size: 1.2rem;
    display: flex;
}
.icons i{
    opacity: 0.7;
    margin-right: 1rem;
}
.icons i:hover{
    opacity: 1;
}

/* Box Section */
.box{
    height: 8rem;
    border-radius: 0.75rem;
    background-color: #232323;
    margin: 0.5rem 0 0.5rem 0;
    padding: 0.5rem 1rem;
}
.box-p1{
    font-size: 1rem;
    font-weight: 500;
}
.box-p2{
    font-size: 0.8rem;
    opacity: 0.9;
}
.badge{
    background-color: white;
    font-weight: 700;
    border: none;
    border-radius: 100px;
    padding: 0.25rem 1rem;
    margin-top: 0.5rem;
    height: 2rem;
    width: fit-content; /*It fits the width as per content*/
}

/* Sticky navbar */
.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; /*When cards are scrolled their text clash with sticky navbar*/
}
.sticky-nav-icons{
    margin-left: 0.6rem;
}
.sticky-nav-options{
    display: flex;
    justify-content: center;
    align-items: center;
}
.sticky-nav-items{
    margin-right: 1rem;
}
@media(max-width:1000px){
    .hide{
        display: none;
    }
}

/* Cards */
.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-img{
    width: 100%;
    border-radius: 0.5rem;
}
.card-title{
    font-weight: 600;
}
.card-info{
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Footer */
.nav-footer{
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.line{
    height: 50%;
    width: 90%;
    border-top: white 1px solid;
    opacity: 0.4
}

/* Music Player */
.music-player{
    display: flex;
    justify-content: center;
    align-items: center;
}
.album{
    width: 25%;
}
.player{
    width: 50%
}
.controls{
    width: 25%;
}

/* Player */
.player-controls-icon{
    height: 1rem;
    margin-right: 1.75rem;
    opacity: 0.7;
}
.player-controls-icon:hover{
    opacity: 1;
}
.player-controls{
    display: flex;
    justify-content: center;
    align-items: center;
}

.playback-bar{
    display: flex;
    justify-content: center;
    align-items: center;
}
.progress-bar{
    width: 70%;
    appearance: none; /*It removes every default styling*/
    background-color: transparent;
    cursor: pointer;
}
.progress-bar::-webkit-slider-runnable-track{
    background-color: #ddd;
    height: 0.2rem;
    border-radius: 100px;
}
.progress-bar::-webkit-slider-thumb{
    appearance: none;
    background-color: green;
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    margin-top: -6px;
}

/* Album */
.album{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.album img{
    height: 3rem;
    width: 3rem;
    border-radius: 0.5rem;
}
.album-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0.7;
}

.album-items {
    cursor: pointer;
}