/* body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}
.music-player {
    background: #fff;
    width: 400px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.controls {
    margin-top: 10px;
}
.controls button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
}
.controls button:hover {
    background: #0056b3;
}
.seeker {
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
} */

/* Reset */
html {
    box-sizing: border-box;
    font-size: 100%;
}
*,
*:before,
*:after {
    box-sizing: inherit;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
}
ol,
ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
}

/* Main Styling */
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #444444;
    gap: 0.8em;
    overflow: auto;
    padding: 0.8em;
    min-height: 100svh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    backdrop-filter: blur(0.4em);
    -webkit-backdrop-filter: blur(0.4em);
    transition: all 0.2s ease-in-out;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1em;
    gap: 1em;
    border-radius: 2em;
    background-color: rgb(51, 51, 51, 0.6);
    backdrop-filter: blur(0.8em);
    -webkit-backdrop-filter: blur(0.8em);
    color: #ffffff;
    transition: all 0.4s ease-in-out;
    @media (min-width: 768px) {
        width: 28em;
    }
    @media (max-width: 767px) {
        width: calc(100vw - 1.2em);
    }
}

.music-cover-art {
    aspect-ratio: 1/1;
    width: 18em;
    border-radius: 1em;
    overflow: hidden;
    > img {
        aspect-ratio: 1/1;
        width: 100%;
        height: 100%;
    }
}

.music-player {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    gap: 1em;
    width: 100%;
}

.progress-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    > .timer {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    > #progress {
        width: 100%;
        height: 0.5em;
        cursor: pointer;
        /* background-color: #e0e0e0; */
        /* position: relative; */
    }
}

.controls {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 70%;
    gap: 0.6em;
    > div {
        display: flex;
        padding: 0.25em;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        background-color: #222222;
        border-radius: 0.6em;
        transition: all 0.4s ease-in-out;
        > svg {
            aspect-ratio: 1/1;
            width: 1.8em;
            color: #ffffff;
        }
    }
    > #play-pause {
        > svg {
            width: 2.4em;
        }
    }
}

.progress-bar {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.music-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* flex-grow: 1; */
    border-radius: 1em;
    overflow: hidden;
    > ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        flex-grow: 1;
        gap: 0.2em;
        justify-content: center;
        > li {
            display: flex;
            /* flex-grow: 1; */
            align-items: center;
            padding: 0.6em;
            gap: 1em;
            background: rgb(34, 34, 34, 0.6);
            border-radius: 0.4em;
            cursor: pointer;
            transition: all 0.4s ease-in-out;
            /* @media (min-width: 768px) {
                &:hover {
                    background: light-dark(var(--hover-light-color), var(--hover-dark-color));
                }
            } */
            > .music-cover-art-list {
                aspect-ratio: 1/1;
                width: 2.4em;
                border-radius: 0.4em;
                overflow: hidden;
                > img {
                    aspect-ratio: 1/1;
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }
}
