body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;

    margin: 0;
    background-color: black;
    color: white;
    overflow: hidden;
}

.main {
    display: flex;
    height: 100vh;
}

.sidebar {
    background-color: black;
    width: 340px;
    border-radius: 1rem;        /* 16px */
}

.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: 0;
    width: 100%;
    height: 5rem;
}

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

.nav {
    background-color: #121212;
    border-radius: 0.7rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100px;
    padding: 0.4rem 0.7rem;
    margin: 0.6rem 0.5rem;
}

.nav-option {
    line-height: 2.5rem;
    opacity: 0.7;
    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;
}

#home {
    font-weight: 650;
    position: relative;
    bottom: 0.1rem;
}

#search {
    font-weight: 450;
    position: relative;
    bottom: 0.1rem;
}

#yourLibrary {
    font-weight: 550;
}

.library {
    background-color: #121212;
    border-radius: 0.7rem;
    margin: 0.6rem 0.5rem;
    padding: 0.5rem 0.75rem;
    height: 72vh;
}

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

.lib-option {
    line-height: 2.5rem;
    opacity: 0.6;
}

.lib-option a {
    font-size: 1rem;
    margin-left: 1rem;
}

.lib-option:hover {
    opacity: 1;
}

.lib-option img {
    height: 1.25rem;
    width: 1.25rem;
}

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

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

.icons i:hover {
    opacity: 1;
}

.box {
    display: flex;
    flex-direction: column;
    background-color: #232323;
    border-radius: 0.7rem;
    margin: 0.5rem 0 1.75rem 0;
    padding: 0.5rem 1rem;
}

.box-p1 {
    font-size: 1rem;
    font-weight: 650;
    position: relative;
    top: -0.3rem;
}

.box-p2 {
    font-size: 0.75rem;
    opacity: 0.9;
    position: relative;
    top: -0.8rem;
}

.badge {
    background-color: #fff;
    border: none;
    border-radius: 100px;
    padding: 0.25rem 1rem;
    font-weight: 700;
    height: 2rem;
    width: fit-content;
    cursor: pointer;
    position: relative;
    bottom: 0.2rem;
    transition: transform 0.2s ease;
}

.badge:hover {
    transform: scale(1.05);
}

.sticky-nav {
    background-color: #121212;
    position: sticky;
    top: 0;
    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;
}

.sticky-nav-options i {
    margin-right: 0.3rem;
}

.nav-item {
    margin-right: 1rem;
}

.backward {
    opacity: 0.5;
    margin-right: 1.5rem;
}

.dark-badge {
    background-color: #000;
    color: #fff;
}

@media (max-width: 1000px){
    .hide {
        display: none;
    }
}

.card {
    background-color: #232323;
    width: 10rem;
    border-radius: 0.5rem;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.1);
}

.side-card {
    margin: 0.5rem 2rem 1.5rem 0;
}

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

.card-img {
    width: 100%;
    border-radius: 0.5rem;
}

.card-title {
    font-weight: 650;
}

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

.footer {
    height: 18rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.line {
    height: 30%;
    width: 90%;
    border-top: 1px solid white;
    opacity: 0.5;
}

.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;
    position: relative;
    bottom: 0.5rem;
}

.controls {
    width: 25%;
}

.player-control-icon {
    height: 0.96rem;
    margin-right: 1.75rem;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.player-control-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.playback-bar {
    display: flex;
    justify-content: center;
    position: relative;
    right: 1.8rem;
}

.progress-bar {
    width: 55%;
    height: 0.2rem;
    position: relative;
    top: 0.4rem;
    cursor: pointer;
}

span {
    font-size: 0.8rem;
    opacity: 0.7;
    position: relative;
    top: 0.1rem;
}

/* .progress-bar::-webkit-slider-runnable-track {
    background-color: #ddd;
    height: 0.2rem;
    border-radius: 1rem;
}   */

.progress-bar {
    height: 0.3rem;
    width: 50%;
    background-color: #ddd;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 1;
    accent-color: rgb(245, 242, 242);
}

.progress-bar:hover {
    accent-color: rgb(12, 154, 12);
}


.progress-bar::-webkit-slider-thumb {
    appearance: none;
    height: 0.1rem;
    width: 0.1rem;
    background-color: #1bd768;
    border-radius: 50%;
    transition: background-color 0.3s ease;
} 

.progress-bar:hover::-webkit-slider-thumb {
    background-color: white;
} 


.album {
    display: flex;
}

.picture {
    margin: 1rem;
    border-radius: 10rem;
}

.picture img {
    border-radius: 0.3rem;
    height: 3.5rem;
}

.title {
    font-weight: 550;
    font-size: 0.8rem;
    margin: 1.7rem 0 0 0.3rem;
}

.info {
    opacity: 0.7;
    font-size: 0.7rem;
    margin: 0 0 2rem 0.3rem;
}

.album-icons {
    display: flex;
    height: 1.3rem;
    justify-content: space-between;
    position: relative;
    top: 1rem;
    margin-left: 1.5rem;
}

.album-icons img {
    height: 100%;
    margin-right: 0.5rem;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.album-icons img:hover {
    opacity: 1;
    transform: scale(1.1);
}


.control-icons {
    display: flex;
    justify-content: flex-end;
    position: relative;
    right: 1rem;
}

.bottom-icons {
    height: 1.6rem;
    width: 1.4rem;
    margin: 0.4rem;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.control-icons img {
    height: 100%;
}


.volume-bar::-webkit-slider-runnable-track {
    background-color: #ddd; 
    height: 0.2rem;
    border-radius: 1rem;
}

.volume-bar {
    appearance: none;
    background-color: black;
    width: 20%;
}

.volume-bar::-webkit-slider-thumb {
    appearance: none;
    height: 0.65rem;
    width: 0.65rem;
    background-color: #1bd768;
    border-radius: 50%;
    position: relative;
    bottom: 0.2rem;
}

.volume-bar:hover::-webkit-slider-thumb {
    background-color: white;
}

.bottom-icons:hover {
    opacity: 1;
    transform: scale(1.1);
}