
/* =========================================
   MUSIC PLAYER
========================================= */

.music-player {
    position: absolute;
    top: 20px;
    left: 37%;
    z-index: 100;

    width: 155px;
    padding: 10px;

    display: flex;
    flex-direction: column;
    gap: 8px;

    background: var(--red);
    border: 1px solid var(--yellow);
    border-radius: 9px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* ALBUM ART */

.music-artwork {
    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;
    border-radius: 5px;
    background: #35332d;
}

.music-artwork img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* SONG INFORMATION */

.music-info {
    min-width: 0;
    text-align: center;
}

.music-label {
    display: block;
    margin-bottom: 4px;

    color: var(--yellow);
    font-family: "Cinzel", serif;
    font-size: 8px;
    letter-spacing: 1.5px;
}

.music-info h4 {
    margin: 0;
    overflow: hidden;

    color: var(--white);
    font-family: "Cinzel", serif;
    font-size: 11px;
    font-weight: 600;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.music-info p {
    margin: 3px 0 0;

    color: rgba(241, 242, 237, 0.6);
    font-family: "Poppins", sans-serif;
    font-size: 9px;
}

/* CONTROLS */

.music-controls {
    display: flex;
    align-items: center;
    gap: 9px;
}

#music-toggle {
    width: 27px;
    height: 27px;
    flex-shrink: 0;

    display: grid;
    place-items: center;

    background: var(--red);
    color: var(--white);

    border: 1px solid var(--yellow);
    border-radius: 50%;

    cursor: pointer;
    transition: background 0.2s ease;
}

#music-toggle:hover {
    background: #8f281a;
}

#music-toggle i {
    font-size: 10px;
}

/* PROGRESS BAR */

.music-progress-container {
    height: 3px;
    flex: 1;

    overflow: hidden;
    background: rgba(241, 242, 237, 0.2);
    border-radius: 5px;
}

.music-progress {
    width: 0%;
    height: 100%;

    background: var(--yellow);
    transition: width 0.1s linear;
}


