@import "/dialog.css";

@font-face {
    font-family: "Atlyss-Title";
    src: url("/atlyss2.ttf") format("truetype");
}

@font-face {
    font-family: "Atlyss-Text";
    src: url("/atlyss1.ttf") format("truetype");
}

:root {
    font-family: "Atlyss-Text";
    background: url("/atlyss/images/background.jpg");

    --global: #ffeb04;
    --zone: #e17a7f;
    --info: #00ffff;
    --party: #b2ec5d;

    color: var(--global);
    text-shadow: black 0 0 2px, black 0 0 2px, black 0 0 2px;
    font-size: 14pt;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: "Atlyss-Title";
    font-weight: bold;
    color: var(--info);

    text-align: center;
}

h1 { font-size: 300%; }
h2 { font-size: 200%; }
h3 { font-size: 150%; }

b, em { color: var(--zone); }
a { color: var(--party);; }
ul { list-style-position: inside; }

aside {
    display: flex;
    align-items: center;
    overflow: scroll;
}

section, details, nav {
    width: 90vw;
    margin: 2em auto;
    padding: 1em 3em;
    text-align: justify;

    background-image: url("/atlyss/images/chat.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    image-rendering: crisp-edges;

    div.subsection { overflow: auto; }
}

summary::marker { content: none; }

p {
    text-indent: 2em;
    margin: 1em 0;
}

.stats {
    margin: 2em auto;
    text-align: center;
}

.image-container {
    background-image: url("/atlyss/images/frame.png");
    background-size: contain;
    background-repeat: no-repeat;
    image-rendering: crisp-edges;

    display: inline-flex;
    height: 20lh;
    width: 20lh;
    margin: 1em;

    img {
        object-fit: contain;
        max-width: 80%;
        max-height: 80%;
        margin: auto;
    }
}

#diary .image-container {
    float: right;
    width: 7em;
    height: 7em;
}

.break {
    width: 100%;
    height: .1em;
    margin: 1em 0;
    background-color: var(--global);
}
