:root {
    --bg: #948c9b;
    --main: black;
    --border: whitesmoke;
    --lighttext: whitesmoke;
    --link: #ad86cf;
    --accent: #ee82ee;
}
@font-face {
     font-family: "xerrabytesCustomFont";
     src: url("/undertale.ttf");
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 88%;
    /* 2 */
    z-index: 2;
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
    margin: 0;
    z-index: 2;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
    display: block;
    z-index: 2;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
    font-size: 2em;
    margin: 0;
    z-index: 2;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
    background-color: transparent;
    z-index: 2;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
    font-weight: bolder;
    z-index: 2;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
    z-index: 2;
}

sub {
    bottom: -0.25em;
    z-index: 2;
}

sup {
    top: -0.5em;
    z-index: 2;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
    border-style: none;
    z-index: 2;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
    z-index: 2;
}


/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
    display: block;
    z-index: 2;
}

/*
 * Add the correct display in all browsers.
 */

summary {
    display: list-item;
    z-index: 2;
}


img {
    max-width: 100%;
    height: auto;
    z-index: 2;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 768px;
    margin: auto;
    margin-top: 2vh;
    background: var(--main);
    border: 1px solid var(--border);
    width: 95%;
    font-family: "xerrabytesCustomFont";
     src: url("/undertale.ttf");
     color: white;
     z-index: 2;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: 2;
}



article {

    padding: .5em;
    border: 1px dotted var(--border);
    margin: .5em;
    z-index: 2;
}

footer {
    display: flex;
    flex-direction: row;
    gap: 1em;
    justify-content: center;
    align-items: center;
    padding: .2em;
    z-index: 2;
}

footer span,
footer span a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

svg {
    margin: auto;
    z-index: 2;
}

footer span img {
    height: 50px;
    max-width: 100px;
    object-fit: contain;
    z-index: 2;
}

h1,
h2,
h3 {
    font-family: "xerrabytesCustomFont";
    src: url("/undertale.ttf");
    color: var(--black)
    z-index: 2;
}

.title-bar {
    align-items: center;
    background: linear-gradient(#fff 50%, transparent 0);
    background-size: auto;
    background-clip: border-box;
    background-clip: content-box;
    background-size: 6.6666666667% 13.3333333333%;
    display: flex;
    flex: none;
    height: 1.5rem;
    margin: .1rem 0;
    padding: .2rem .1rem;
    z-index: 2;
}

.title-bar .title {
    background: var(--main);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 auto;
    padding: 0 .5em;
    text-align: center;
    z-index: 2;
}

body {
    font-family: 'Inconsolata', monospace;
    font-size: 1em;
    line-height: 1.5em;
    background: var(--bg);
    z-index: 2;
}

a:link,
a:visited {
    color: var(--link);
    z-index: 2;
}



.slider {

    text-align: center;
    overflow: hidden;
    padding: .5em;
    z-index: 2;
}

.slides {
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    aspect-ratio: 1/1;
    z-index: 2;
    /*
  scroll-snap-points-x: repeat(300px);
  scroll-snap-type: mandatory;
  */
}

.slides>div {
    scroll-snap-align: start;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    border-radius: 10px;
    background: transparent;
    transform-origin: center center;
    transform: scale(1);
    transition: transform 0.5s;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100px;
    z-index: 2;
}

.slides img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.slides>div:target {
    /*   transform: scale(0.8); */
    z-index: 2;
}

.slider>a,
.slider>a:visited {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--bg);
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: .5rem 0 0.5rem 0;
    position: relative;
    color: var(--lighttext);
    z-index: 2;
}

.slider>a:hover {
    background: var(--link);
    z-index: 2;
}

.slider>a:active {
    top: 1px;
    z-index: 2;
}

.slider>a:focus {
    background: #000;
    z-index: 2;
}

/*playlist*/
ul.playlist {
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 2;
}

ol.playlist li:nth-child(odd) {
    background-color: var(--accent);
    z-index: 2;
}

details {
    padding: 0 .5em 0 .5em;
    z-index: 2;
}

.playlist a:link,
.playlist a:visited {
    color: #3a243b;
    text-decoration: none;
    z-index: 2;
}

details a:link:hover {
    color: black;
    text-decoration: underline;
    z-index: 2;
}

details[open]>summary {
    border-bottom: 1px solid var(--bg);
    z-index: 2;
}



details summary span {
    float: right;
    z-index: 2;
}

ol.playlist summary::marker {
    content: "";
    z-index: 2;
}

ol details>summary::before {
    background-color: #b2ffff;
    border: 1px solid grey;
    content: "+";
    display: inline-block;
    float: left;
    height: 10px;
    line-height: 10px;
    margin-right: 5px;
    padding: 1px;
    text-align: center;
    width: 10px;
    position: relative;
    top: 5px;
    z-index: 2;
}

ol details[open]>summary::before {
    content: "-";
    z-index: 2;
}

aside.album {
    border: inset;
    z-index: 2;
}

article.songlist {
    border: inset;
    padding: 0;
    z-index: 2;
}

details p {
    text-indent: 30px;
    z-index: 2;
}

blockquote {
    border: 1px dashed var(--border);
    border-left: 5px solid var(--border);
    padding: 10px;
    z-index: 2;
}

/*sorting*/

.filterDiv {

    display: none;
    z-index: 2;
}

.show {
    display: list-item;
    z-index: 2;
}

.container {
    margin-top: 20px;
    overflow: hidden;
    z-index: 2;
}

/* Style the buttons */
.btn {
    border: none;
    outline: none;
    padding: 12px 16px;
    background-color: #f1f1f1;
    cursor: pointer;
    z-index: 2;
}

.btn:hover {
    background-color: #ddd;
    z-index: 2;
}

.btn.active {
    background-color: var(--link);
    color: white;
    z-index: 2;
}

@media (min-width: 600px) {

    main {
        height: 95vh;
        z-index: 2;
    }

    article {
        height: 70vh;
        overflow-y: scroll;
        z-index: 2;
    }

    aside.left {
        width: 30%;
        aspect-ratio: 1/1;
        z-index: 2;
    }

    aside.right {
        width: 70%;
        padding: .5em;
        margin-right: .5em;
        height: 230px;
        overflow-y: scroll;
        z-index: 2;
    }

}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        justify-content: center;
        z-index: 2;
    }

    main {
        margin-bottom: 5vh;
        z-index: 2;
    }

    aside.left,
    aside.right {
        width: 100%;
        margin: auto;
        text-align: center;
        z-index: 2;
    }

    aside.album {
        width: 95%;
        z-index: 2;
    }

    article {
        height: auto;
        background: white;
        z-index: 2;
    }

    .playlist a:link {
        display: inline-block;
        max-width: 80%;

        overflow-x: hidden;
        overflow-y: hidden;
        z-index: 2;
      

