body {
    font-family: 'Montserrat';
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    overflow: hidden;
}

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

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

.nav {
    height: 112px;
    background-color: #121212;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    margin: 0.75rem;
}

.nav-option {
    line-height: 3rem;
    opacity: 0.75;
    transition: opacity 0.2s linear;
}

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

.nav-option i {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    cursor: pointer;
}

.nav-option a {
    text-decoration: none;
    color: white;
    font-size: 1.25rem;
}

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

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

.lib-option {
    display: flex;
}

.lib-option img {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 1rem;
    opacity: 0.75;
}

.lib-option a {
    color: white;
    text-decoration: none;
    opacity: 0.75;
}

.lib-option:hover img,
.lib-option:hover a {
    opacity: 1;
}

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

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

.icons i:hover {
    cursor: pointer;
    opacity: 1;
}

.lib-box {
    padding: 0 1rem;
}

.box1,
.box2 {
    background-color: #232323;
    border-radius: 0.75rem;
    margin: 0 0 1.25rem 0;
    padding: 1rem 1.25rem;
}

.box-p1 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.box-p2 {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.lib-box-button {
    height: 2rem;
    background-color: white;
    border: none;
    border-radius: 100px;
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
}

.lib-box-button:hover {
    background-color: rgb(230, 230, 230);
}

/* -------------------------------------------------------------------- */

.main-content {
    background-color: #121212;
    flex: 1;
    border-radius: 1rem;
    overflow: auto;
    margin: 0.75rem 0.75rem 0 0;
    padding: 0 1rem 0 1rem;
    /* padding: 1em; */
}

.main-content::-webkit-scrollbar {
    display: none;
}

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

.sticky-nav-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.sticky-nav-icons img {
    height: 1rem;
    width: 1rem;
    padding: 0.5rem;
    /* margin-right: 0.5rem; */
}

.sticky-nav-icons img:hover {
    border-radius: 50%;
    background-color: #232323;
}

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

.nav-button1 {
    height: 2rem;
    background-color: white;
    color: black;
    border: none;
    border-radius: 100px;
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;

    text-align: center;
}

.nav-button2 {
    height: 2rem;
    background-color: black;
    color: white;
    border: none;
    border-radius: 100px;
    padding: 0.25rem 1rem 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
}

.nav-button1:hover {
    background-color: rgb(230, 230, 230);
}

.nav-button2:hover {
    background-color: #232323;
}

.nav-item {
    display: flex;
    align-items: center;
}

.download-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.user-icon {
    display: flex;
    justify-content: center;
    background-color: black;
    border-radius: 50%;
    padding: 0.5rem;
}

.user-icon:hover {
    background-color: #232323;
}
/* 
@media (max-width: 827px) {
    .hide {
        display: none;
    }
    .nav-button1 {
        margin-right: 1rem;
    }
} */

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

    .nav-button1 {
        width: 100px; /* force shrink */
        text-align: center;
        line-height: 1.1;
        padding: 0.25rem 1rem;
    }

    .nav-button2 {
        width: 100px; /* force shrink */
        text-align: center;
        line-height: 1.1;
        padding: 0.25rem 1rem 0.25rem 0.75rem;
    }
}

.heading {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

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

.card {
    width: 170px;
    background-color: #232323;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    margin-right: 1rem;
}

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

.card-title {
    font-weight: 700;
    margin: 1rem 0;
}

.card-info {
    font-size: 0.8rem;
    line-height: 1.3rem;
    opacity: 0.8;
}

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

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

/* -------------------------------------------------------------------- */

.music-player {
    height: 10%;
    width: 100%;

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    background-color: black;

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1em 0;
}

.album {
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1.5em;
    margin-left: 1em;
}

.playing-song-img {
    width: 4rem;
    height: 4rem;
    border-radius: 6px;
}

.song-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.song-name {
    font-size: 1rem;
    margin: 0;
}

.song-by {
    font-size: 0.75rem;
    margin: 0;
    opacity: 0.75;
}

.music-player-control {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.music-player-control .add-icon {
    font-size: 1.25rem;
}

.music-player-control .heart-icon,
.music-player-control .add-icon {
    opacity: 0.75;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.music-player-control i:hover,
.music-player-control .add-icon:hover {
    opacity: 1;
    transform: scale(1.125);
}

.player {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-bottom: 0.5rem; */
}

.player-control-icon {
    height: 1rem;
    margin-right: 1.75rem;
    opacity: 0.75;
}

.player-control-icon:hover {
    opacity: 1;
}

.play-pause-button {
    opacity: 1;
    height: 2em;
    transition: transform 0.5s ease;
}

.play-pause-button:hover {
    transform: scale(1.1);
}

.playback-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    cursor: pointer;
}

.progress-bar {
    width: 70%;
    appearance: none;
}

.progress-bar::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    height: 4px;
    background-color: rgb(221, 221, 221);
    border-radius: 4px;
}

.progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 1rem;
    height: 1rem;

    background-color: #1bd760;

    border-radius: 50%;
    margin-top: -6px;
}

.controls {
    width: 25%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.controls {
    width: 25%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;

    cursor: pointer;
}

.controls-options {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.control-icon {
    width: 1.5rem;
    opacity: 0.75;
    cursor: pointer;
}

.sound-control {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    gap: 7px;
}

.volume-bar {
    width: 6.5em;
}

.volume-bar::-webkit-slider-thumb {
    visibility: hidden;
}

.volume-bar::-webkit-slider-runnable-track {
    height: 4px;
    background: white;
    border-radius: 4px;
}
