:root {

--light-accent: #dc99a8;

--h1: 'AMORIA';
--h2: 'Zodiak-VariableItalic';
--h3: 'Zodiak-VariableItalic';
--p: 'Zodiak-Variable';

}

@font-face {
    font-family: 'Zodiak-Variable';
    src: url('Zodiak-Variable.woff2') format('woff2'),
        url('Zodiak-Variable.woff') format('woff');
    font-weight: 100 900;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Zodiak-VariableItalic';
    src: url('Zodiak-VariableItalic.woff2') format('woff2'),
        url('Zodiak-VariableItalic.woff') format('woff');
    font-weight: 200;
    font-display: swap;
    font-style: italic;
}

@font-face {
    font-family: 'AMORIA';
    src: url('AMORIARegular.woff2') format('woff2'),
        url('AMORIARegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

article:not(:target) {display: none}

article {
    position: relative;
}

html {
    scrollbar-color: #280606 #E5E7E6;
}

body {
    background: repeat url(/image-files/backgrounds/bg.png) #280606;
    color: #E5E7E6;
    image-rendering: optimizeSpeed;
}

#welcome h1 {
    font-family: var(--h1);
    font-size: 3em;
    color: #fdd1a3;
    margin: 2rem 0px 0px 0px;
    filter: drop-shadow(0px 0px 3px #b77897);
}

#warning {
    font-size: 0.9em;
    margin: 0 auto;
    max-width: 45vw;
    text-align: center;
    margin-bottom: 1rem;
}

#warning a:visited, #warning a {
    text-decoration: underline solid rgba(255, 255, 255, 0);
}

#welcome-nav {
    font-size: 0.8em;
    text-align: center;
}

#jiyu h1, #seung h1 {
    font-family: var(--h1);
    font-size: 2.7em;
    margin: 1rem 0px 0px 0px;
    filter: drop-shadow(0px 0px 3px #b77897);
}

h2 {
    font-family: var(--h2);
    font-size: 1.2em;
    margin: 0.5rem 0px 0px 0px;
}

#jiyu h2, #seung h2 {
    background: linear-gradient(90deg,rgba(145, 96, 78, 1) 0%, rgba(40, 6, 6, 1) 55%, rgba(40, 6, 6, 0) 81%);
    padding: 2px;
}

h3 {
    font-family: var(--h3);
    font-size: 0.8em;
    color: #e3e1e1;
}

h4 {
    font-family: var(--p);
    font-size: 0.9em;
    color: #f5d4dd;
    margin-left: 1.4rem;
}

p {
    font-family: var(--p);
    color: #E5E7E6;
}

a {
    color: #e5d8de;
    text-decoration: underline dashed #e5d8de;
}

a:hover {
    color: #e5d8de;
    text-decoration: underline dashed #e5d8de;
}

a:visited {
    color: #e5d8de;
    text-decoration: underline dashed #e5d8de;
}

a:visited:hover {
    color: #e5d8de;
    text-decoration: underline dashed #e5d8de;
}

hr {
    height: 1px;
    font-size: 0;
    border: 0;
    width: 90%;
    background: linear-gradient(90deg,rgba(74, 15, 15, 1) 0%, rgba(173, 114, 104, 1) 50%, rgba(74, 15, 15, 1) 100%);
    margin-bottom: 1rem;
}

::selection {
    color: black;
    background-color: white;
}

.outer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;

    margin: 20px;
    min-height: 94vh;
}

.introduction {
    width: 100%;
    border: 6px double #e5d8de;
    background: url(rusted/gradient.png) #e5d8de1c;
    background-clip: padding-box;
    padding: 15px;
    max-height: 89vh;
    overflow-y: scroll;
    overflow-x: hidden;
}

#welcome {
    text-align: right;
    font-size: 1.2em;
}

.return {
    padding: 5px;
    background-color: #3a1613;
    border: 1px solid #e5d8de;
}

.introduction > article > a, .introduction > article > a:visited {
    color: #E5E7E6;
}

.character {
    display: flex;
    align-items: flex-start; 
    flex-direction: column;  

    height: 100%;
    width: fit-content;
    border: 2px solid #e5d8de;
    background: url(rusted/gradient.png) #e5d8de36;
    padding: 15px;
    gap: 10px;
}

.jiyu, .seung {
    display: flex;
    flex-direction: column;

    height: 100%;
    width: fit-content;
    padding: 15px;
    gap: 5px;

    border: 2px solid #E3AAB9;
    background-color: #e3e1e115;
}

.jiyu img, .seung img {
    border: 4px double #e5d8de;
}

.jiyu-info, .seung-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.detailed-info {
    overflow-x: hidden;
    overflow-y: scroll;
    width: 100%
}

.detailed-info details img {
    height: 15rem;
    width: auto;
}

.quick-wrapper {
    order: 2;
    text-align: center;
    margin-left: 1rem;
}

table {
    border-collapse: collapse;
    border: 2px solid #e5d8de;
    font-family: var(--p);
    font-size: 0.8rem;
    letter-spacing: 1px;
    width: min-content;
    margin-bottom: 1rem;
}

th,
td {
    border: 1px solid #e5d8de;
    padding: 8px 10px;
}

th {
    font-weight: 600;
    background-color: #280606;
    text-decoration: underline dashed #b77897;
}

td {
    background-color: #3a1613;
}

td:last-of-type {
    text-align: center;
}

summary::marker {
    content: '✦' ' ' ' ';
    margin-right: 10rem;
}

summary {
    color: #f5d4dd;
    font-family: var(--h2);
    font-weight: bold;
}

details p {
    margin-left: 1.4rem;
}

details {
    padding: 0.3rem;
    margin-bottom: 1rem;
    background-color: #280606;
    border: 1px solid #E3AAB9;
}

@counter-style lists {
    system: cyclic;
    symbols: '✧';
    suffix: " ";
    speak-as: numbers;
}

ul, li {
    list-style: lists;
    list-style-position: inside;
    font-family: var(--p);
}

@media (prefers-color-scheme: light) {

    html {
        scrollbar-color: #E5E7E6 #280606;
    }

    body {
        background: repeat url(/image-files/backgrounds/bg.png) #ddbac2;
        color: #280606;
    }

    #welcome h1 {
        color: #361411;
        filter: drop-shadow(0px 0px 3px #ffd2d2);
    }

    #jiyu h1, #seung h1 {
        color: #2e0f0f;
        filter: drop-shadow(0px 0px 3px #52293d);
    }

    #jiyu h2, #seung h2 {
        background: linear-gradient(90deg,rgba(72, 39, 40, 1) 0%, rgba(170, 126, 122, 1) 55%, rgba(170, 126, 122, 0) 100%);
    }

    #warning a {
        line-height: 1.8;
    }

    .detailed-info h2 {
        color: #E5E7E6;
    }

    h3 span {
        color: #2c0505;
        background-color: #fdd4d43b;
        padding: 0.2em;
    }

    h4 {
        color: #612233;
    }

    p {
        color: #3a1d21;
    }

    .introduction a {
        background-color: #fdd4d43b;
        padding: 0.3em;
    }

    a {
        color: #280606;
        text-decoration: underline dashed #280606;
    }

    a:hover {
        color: #4d211d;
        text-decoration: underline dashed #4d211d;
    }

    a:visited {
        color: #290f0d;
        text-decoration: underline dashed #4d211d;
    }

    a:visited:hover {
        color: #471f1d;
        text-decoration: underline dashed #4d211d;
    }

    hr {
        background: linear-gradient(90deg,rgba(196, 138, 128) 0%, rgba(74, 15, 15) 50%, rgb(196, 138, 128) 100%);
    }

    ::selection {
        color: white;
        background-color: black;
    }

    .introduction {
        border: 6px double #e5d8de;
        background: url(rusted/gradient-export.png) #e5d8de;
        background-clip: padding-box;
    }

    .return {
        background-color: #3a1613;
        border: 1px solid #280606;
    }

    .introduction > article > a, .introduction > article > a:visited {
        color: #E5E7E6;
    }

    .character {
        border: 2px solid #532c28;
        background: url(rusted/gradient-export.png) #e5d8de;
    }

    .jiyu p, .seung p {
        color: #311210;
    }

    .jiyu, .seung {
        border: 2px solid #774642;
        background-color: #e3e1e115;
    }

    .jiyu img, .seung img {
        border: 4px double #4d211d;
    }

    table {
        border: 2px solid #280606;
    }

    th,
    td {
        border: 1px solid #280606;
    }

    th {
        background-color: #ddbac2;
        text-decoration: underline dashed #471f1d;
    }

    td {
        background-color: #e6c7ce;
    }

    summary {
        color: #5f1f1f;
    }

    details {
        background-color: #cca7a9;
        border: 1px solid #33121c;
    }

}

@media only screen and (max-width: 920px) {

    .outer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .jiyu img, .seung img {
        width: max-content;
    }

    .jiyu, .seung {
        width: min-content;
    }

    .jiyu-info, .seung-info {
        display: flex;
        flex-direction: column;
    }

    .quick-wrapper {
        margin: 0 auto;
    }

}