@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap');

@font-face {
    font-family: softsoul;
    src: url(https://dl.dropboxusercontent.com/scl/fi/kblkfvl9q8xel2momfdyu/Softsoul-Bold.ttf?rlkey=v20lzf77rckw41g1u6sp4k5sd&st=149coewm&dl=0);
}

::selection {
    background: transparent;
    text-shadow: -1px 0 #22CCCC, 0 1px #22CCCC, 1px 0 #22CCCC, 0 -1px #22CCCC;
    color: #8250D2;
}

::-moz-selection {
    background: transparent;
    text-shadow: -1px 0 #22CCCC, 0 1px #22CCCC, 1px 0 #22CCCC, 0 -1px #22CCCC;
    color: #8250D2;
}

h1 {
    font-family: softsoul;
    background: linear-gradient(to top, #22CCCC 2%, #8250D2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #000;
    font-style: italic;
    margin: 0;
}

h2 {
    font-family: softsoul;
    background: linear-gradient(to top, #22CCCC 2%, #8250D2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #000;
    font-style: italic;
    margin: 0;
}

p {
    margin: .5em 0;
}

b {
    color: #22CCCC;
}

a {
    cursor: url('https://cdn.cursors-4u.net/css-previews/cute-sky-blue-music-note-d0432b0f-css.webp') 5 0, auto !important;
}

hr {
    background: linear-gradient(to right, #22CCCC, #8250D2);
    height: 3px;
    width: 50%;
    border: 0;
}

body {
    background: #000;
    padding: 5em 0;
    font-family: "Play", sans-serif;
    display: flex;
    flex-direction: row;
    gap: 2em;
    margin: 0 auto;
    width: 70%;
    cursor: url('https://cdn.cursors-4u.net/css-previews/cute-light-purple-music-note-0ad4bcb5-css.webp') 5 0, auto !important;
}

aside {
    flex-grow: 1;
    background: #fff;
    border: 3px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(#22CCCC, #8250D2);
    -webkit-box-shadow: 0px 0px 12px 10px #FFFFFF;
    box-shadow: 0px 0px 10px 5px #8250D2;
    padding: .5em;
}

#sidebar {
    width: 15rem;
}

nav {
    margin-top: 1.5em;
    text-align: center;
}

nav>a {
    background: #8250D2;
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
    padding: .5em;
    color: #fff;
    text-decoration: underline wavy 1px;
    transition: .5s
}

nav>a:hover {
    background: #22CCCC;
}

main {
    flex-grow: 2;
    background: #fff;
    border: 3px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(#22CCCC, #8250D2);
    box-shadow: 0px 0px 10px 5px #22CCCC;
}

#cards {
    width: 120%;
}

#cards>img {
    width: 25%;
}

article {
    padding: .5em;
    height: 24.5rem;
    overflow-y: scroll;
    overflow-x: hidden;
}

header {
    overflow-x: hidden;
    border-bottom: 4px double #8250D2;
    height: 8.6em;
    margin-top: .5em;
}

#header {
    height: 100%;
    animation: marquee 10s linear;
    display: inline-block;
    white-space: nowrap;
    animation-iteration-count: infinite;
}

#header>img {
    width: 20%;
}

#header:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    from {
        transform: translate(56.25rem, -1px);
    }

    to {
        transform: translate(-175rem, -1px);
    }
}

#musicplayer {
    font-family: "Play", sans-serif;
    /* default font */
    background: white;
    /* background color of player */
    border: 4px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(#8250D2, #22CCCC);
    /* border around player */
    width: 88.5%;
    /* width of the player - make it 100% if you want it to fill your container */
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.songtitle,
.track-info,
.now-playing {
    padding: 5px;
    color: #fff;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.buttons {
    display: flex;
    justify-content: center;
    font-size: 17px !important;
    /* size of controls */
    width: 100%;
}

.buttons div {
    width: 33.3%;
}

.playpause-track,
.prev-track,
.next-track {
    color: #8250D2;
    /* color of buttons */
    font-size: 35px !important;
    /* size of buttons */
}

.volume-icon {
    font-size: 22px !important;
    /* size of volume icon */
}

.seeking,
.volume {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.now-playing,
.track-info {
    background-color: #000;
    /* background color of top two boxes */
}

.now-playing {
    font-weight: bold;
}

input[type=range] {
    -webkit-appearance: none;
    /* removes default appearance of the tracks */
    width: 100%;
}

input[type=range]:focus {
    outline: none;
    /* removes outline around tracks when focusing */
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    /* thickness of seeking track */
    background: #8250D2;
    /* color of seeking track */
}

input[type=range]::-webkit-slider-thumb {
    height: 10px;
    /* height of seeking square */
    width: 10px;
    /* width of seeking square */
    border-radius: 0px;
    /* change to 5px if you want a circle seeker */
    background: #8250D2;
    /* color of seeker square */
    -webkit-appearance: none;
    margin-top: -3px;
    /* fixes the weird margin around the seeker square in chrome */
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 4px;
    /* thickness of seeking track */
    background: #8250D2;
    /* color of seeking track */
}

input[type=range]::-moz-range-thumb {
    height: 10px;
    /* height of seeking square */
    width: 10px;
    /* width of seeking square */
    border-radius: 0px;
    /* change to 5px if you want a circle seeker */
    background: #8250D2;
    /* color of seeker square */
    border: none;
    /* removes weird border around seeker square in firefox */
}