:root {
    --color-custom-1: hsla(0, 0%, 100%, 0.07);
}

::-webkit-scrollbar {
    width: 4px;
}

img {
    pointer-events: none;
}

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

a .mylink {
    border: solid 1px hsla(0, 0%, 100%, 0.1);
    border-radius: 8px;
    color: var(--color-tx);
    /* font-family: "JetBrains Mono", monospace; */
    padding: 0.7rem 0.9rem;
    display: flex;
    justify-content: space-between;
    gap: 6px;
    align-items: center;
    transition: all ease 0.3s;
    background: hsla(0, 0%, 100%, 0.04);
    font-size: 0.9rem;
}

a .mylink:hover {
    background: hsla(0, 0%, 100%, 0.15);
}

a .mylink img {
    width: 18px;
    filter: invert(1.0);
    opacity: 0.5;
}

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

@keyframes spinning {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#music-player #spinDiscAndPlayBtn {
    position: relative;
    width: 100px;
    height: 100px;
}

#music-player #spinDiscAndPlayBtn .spinning-disc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: spinning 5s linear infinite;
    animation-play-state: paused;
}

#music-player #spinDiscAndPlayBtn #playPauseButton {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 36px;
    cursor: pointer;
}

#music-player #spinDiscAndPlayBtn #playPauseButton .btn-icon {
    height: 100%;
    filter: invert(1.0);
    opacity: 0.7;
    transition: all ease 0.3s;
}

#music-player #spinDiscAndPlayBtn #playPauseButton:hover .btn-icon {
    opacity: 1.0;
}

#music-player .music-playlist {
    background: rgba(255, 255, 255, 0.04);
    padding: 0.1rem 0;
    border-radius: 8px;
    /* height: 300px; */
    overflow-y: scroll;
}

#music-player .music-playlist .pl-song {
    color: hsl(0, 0%, 75%);
    border: solid 1px hsla(0, 0%, 100%, 0.1);
    margin: 0.4rem;
    padding: 0.4rem 0.6rem 0.5rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: "JetBrains Mono", monospace;
    font-style: italic;
    cursor: pointer;
    transition: all ease 0.3s;
}

#music-player .music-playlist .pl-song:hover {
    background: rgba(255, 255, 255, 0.1);
}

#music-player .music-playlist .pl-song::before {
    content: "♫";
    font-size: 0.9rem;
    color: gray;
}

#music-player .progress-bar {
    width: 100%;
    background-color: hsla(0, 0%, 100%, 0.2);
    border-radius: 9999px;
}

#music-player .progress-bar-fill {
    height: 4px;
    width: 0;
    background-color: hsla(0, 0%, 100%, 0.5);
    border-radius: 9999px;
    transition: all ease 0.05s;
}

#music-player #currentSongName .cursong_author {
    /* font-family: "JetBrains Mono", monospace; */
    font-size: 0.8rem;
    line-height: 1;
    color: gray;
}

#music-player #currentSongName .cursong_title {
    /* font-family: "JetBrains Mono", monospace; */
    font-size: 1.20rem;
    /* letter-spacing: 0.2px; */
    font-weight: 600;
    line-height: 1;
    margin-top: 0.3rem;
}

/* ---------- ---------- ---------- ---------- ---------- */
fieldset {
    padding: 0.6rem 1.2rem 1.4rem 1.2rem;
    margin: 1rem 1rem 0 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    background: var(--color-custom-1);
}

fieldset legend {
    color: hsl(0, 0%, 45%);
    font-family: "JetBrains Mono", monospace;
    font-weight: 600;
    background: var(--color-bg);
    border: solid 2px var(--color-custom-1);
    font-size: 0.75rem;
}

fieldset p {
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.two-btns-wrap {
    margin: 1.5rem 1rem 0 1rem;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    flex-wrap: nowrap;
    gap: 1rem;
}

.two-btns-wrap a {
    width: 50%;
}

.two-btns-wrap a .btn {
    font-size: 0.9rem;
    color: var(--color-tx);
    background: var(--color-custom-1);
    border-radius: 8px;
    padding: 1rem 1rem 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all ease 0.3s;
}

.two-btns-wrap a .btn:hover {
    background: hsla(0, 0%, 100%, 0.2);
}

.two-btns-wrap a .btn img {
    filter: invert(1.0);
    opacity: 0.5;
    width: 18px;
}

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

.two-fieldsets-wrap {
    margin: 1.5rem 1rem 0 1rem;
    display: flex;
    gap: 1rem;
}

.two-fieldsets-wrap fieldset {
    padding-top: 1.4rem;
    width: 50%;
    margin: 0;
}

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

.icon {
    width: 24px;
    filter: invert(1.0);
    opacity: 0.5;
    pointer-events: initial;
    transition: all ease 0.3s;
}

.icon:hover {
    opacity: 0.8;
}