:root {
    --black: #000000;
    --dark-grey: #121212;
    --light-grey: #232323;
    --grey: #a7a7a7;
    --white: #ffffff;
    --green: #1bd760;
}

body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    background-color: var(--black);
    color: var(--white);
    overflow: hidden;
}

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

.side-bar {
    background-color: var(--black);
    width: 340px;
    border-radius: 1rem;
    margin-right: 0.5rem;
}

.main-content {
    background-color: var(--dark-grey);
    flex: 1;
    border-radius: 1rem;
    overflow: auto;
    padding: 0 1.5rem;
}

a {
    text-decoration: none;
    color: var(--white);
}

.nav {
    background-color: var(--dark-grey);
    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.7;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
}

.nav-option:hover, .nav-option.active {
    opacity: 1;
}

.nav-option i {
    font-size: 1.25rem;
}

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

.library {
    background-color: var(--dark-grey);
    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.25rem;
    display: flex;
    gap: 1rem;
    opacity: 0.7;
}

.icons i:hover {
    opacity: 1;
}

.box {
    background-color: var(--light-grey);
    border-radius: 0.75rem;
    margin: 0.75rem 0 1.75rem 0;
    padding: 0.75rem 1rem;
}

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

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

.badge {
    background-color: var(--white);
    color: var(--black);
    border: none;
    border-radius: 100px;
    padding: 0.25rem 1rem;
    font-weight: 700;
    height: 2rem;
    cursor: pointer;
}

.dark-badge {
    background-color: var(--black);
    color: var(--white);
}

.dark-badge i {
    margin-right: 0.5rem;
}

.sticky-nav {
    position: sticky;
    top: 0;
    background-color: var(--dark-grey);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    z-index: 10;
}

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

.sticky-nav-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

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

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

.card {
    background-color: #181818;
    width: 150px;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-left: 1.5rem;
    margin-top: 1rem;
    transition: background-color 0.2s ease-in-out;
}

.card:hover {
    background-color: var(--light-grey);
}

.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.85rem;
    opacity: 0.8;
}

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

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

.music-player {
    background-color: var(--black);
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.album {
    width: 25%;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.album-art {
    height: 56px;
    width: 56px;
}
.album-info p {
    margin: 0;
    line-height: 1.4;
}
.album-title {
    font-size: 0.9rem;
    font-weight: 500;
}
.album-artist {
    font-size: 0.7rem;
    opacity: 0.7;
}
.album .fa-heart {
    cursor: pointer;
}


.player {
    width: 50%;
    max-width: 722px;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.player-control-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.7;
}
.player-control-btn:hover {
    opacity: 1;
}
.player-control-btn img {
    height: 1rem;
}
.play-btn {
    opacity: 1;
}
.play-btn img {
    height: 2rem;
}

.playback-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.progress-bar {
    width: 70%;
    appearance: none;
    background-color: transparent;
    cursor: pointer;
}
.progress-bar::-webkit-slider-runnable-track {
    background-color: var(--light-grey);
    border-radius: 100px;
    height: 0.25rem;
}
.progress-bar::-webkit-slider-thumb {
    appearance: none;
    height: 1rem;
    width: 1rem;
    background-color: var(--green);
    border-radius: 50%;
    margin-top: -6px;
}

.controls {
    width: 25%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
}
.controls i:hover {
    opacity: 1;
    cursor: pointer;
}
.volume-slider {
    width: 5rem;
    cursor: pointer;
}