@font-face {
    font-family: charter;
    font-style: normal;
    font-weight: normal;
    font-stretch: normal;
    src: url("fonts/charter_regular.woff2") format("woff2");
}

@font-face {
    font-family: charter;
    font-style: italic;
    font-weight: normal;
    font-stretch: normal;
    src: url("fonts/charter_italic.woff2") format("woff2");
}

@font-face {
    font-family: charter;
    font-style: normal;
    font-weight: bold;
    font-stretch: normal;
    src: url("fonts/charter_bold.woff2") format("woff2");
}

@font-face {
    font-family: charter;
    font-style: italic;
    font-weight: bold;
    font-stretch: normal;
    src: url("fonts/charter_bold_italic.woff2") format("woff2");
}

@font-face {
    font-family: areal;
    font-style: normal;
    font-weight: normal;
    font-stretch: normal;
    src: url("fonts/ABCAreal-Regular.woff2") format("woff2");
}

@font-face {
    font-family: areal;
    font-style: italic;
    font-weight: normal;
    font-stretch: normal;
    src: url("fonts/ABCAreal-RegularItalic.woff2") format("woff2");
}

@font-face {
    font-family: areal;
    font-style: normal;
    font-weight: 500;
    font-stretch: normal;
    src: url("fonts/ABCAreal-Medium.woff2") format("woff2");
}

@font-face {
    font-family: areal;
    font-style: italic;
    font-weight: 500;
    font-stretch: normal;
    src: url("fonts/ABCAreal-MediumItalic.woff2") format("woff2");
}

@font-face {
    font-family: areal;
    font-style: normal;
    font-weight: bold;
    font-stretch: normal;
    src: url("fonts/ABCAreal-Bold.woff2") format("woff2");
}

@font-face {
    font-family: areal;
    font-style: italic;
    font-weight: bold;
    font-stretch: normal;
    src: url("fonts/ABCAreal-BoldItalic.woff2") format("woff2");
}

@font-face {
    font-family: hack;
    font-style: normal;
    font-weight: normal;
    font-stretch: normal;
    src: url("fonts/hack-regular-subset.woff2") format("woff2");
}

@font-face {
    font-family: hack;
    font-style: normal;
    font-weight: bold;
    font-stretch: normal;
    src: url("fonts/hack-bold-subset.woff2") format("woff2");
}

@font-face {
    font-family: hack;
    font-style: italic;
    font-weight: normal;
    font-stretch: normal;
    src: url("fonts/hack-italic-subset.woff2") format("woff2");
}

@font-face {
    font-family: hack;
    font-style: italic;
    font-weight: bold;
    font-stretch: normal;
    src: url("fonts/hack-bolditalic-subset.woff2") format("woff2");
}

@font-face {
    font-family: linjalipamanka;
    font-style: normal;
    font-weight: normal;
    font-stretch: normal;
    src: url("fonts/linjalipamanka-normal.woff") format("woff");
}

* {
    font-size-adjust: ex-height 0.53;
    box-sizing: border-box;
}

html {
    font-family: charter, serif;
    font-size: 120%;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    background-color: floralwhite;
    color: black;
}

body {
    margin: 0;
    padding: 1rem 10%;
    max-width: 56em;
}

hr {
    border: none;
    border-top: 2px solid tan;
}

a {
    color: inherit;
    text-decoration-color: tan;
    text-decoration-thickness: 2px;
}

.pona {
    font-family: linjalipamanka, sans-serif;
    font-size: 112.5%;
}

p.subtitle {
    font-size: smaller;
    color: saddlebrown;
}

pre {
    border: 1px solid tan;
    background-color: papayawhip;
    padding: 1ch 2ch;
    margin-inline: -2ch;
}

code {
    font-family: hack, monospace, monospace;
    font-size: 90%;
}

footer > p {
    font-family: areal, sans-serif;
    font-size: smaller;
    margin-block: 0.5em;
}

footer > ul.button-list {
    margin-block: 0.5em;
}

img.pp {
    image-rendering: pixelated;
}

h1,
h2 {
    font-weight: 500;
    font-family: areal, sans-serif;
    line-height: 1;
}

ul.button-list,
ul.flex {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.333em;
}

ul.button-list img {
    image-rendering: pixelated;
}

#footnotes .footdef {
    margin-block-end: 1em;
}

#footnotes .footdef .footpara {
    display: inline-block;
    margin-block: 0;
}
