:root {
    --bg-color: #192130;
    --base-color: rgb(159, 167, 175);
    --text-color: rgb(230, 233, 236);
    --link-color: rgb(0, 167, 182);
    --accent-color: rgb(255, 184, 102);
    --highlight-color: rgb(177, 117, 221);
    --title-font: "Roboto Mono";
    --header-font: "Trebuchet MS";
    --body-font: "Helvetica";
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--bg-color);
    padding-left: 0;
    margin: auto;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--header-font);
}

.list-st {
    color: var(--text-color);
    font-style: italic;
}

h1 {
    margin-bottom: 0;
}

article {
    padding: 0;
}

a:link,
a:visited {
    color: var(--link-color);
    background: none;
    text-shadow: none;
    text-decoration: underline;
}

p,
dl,
ol,
ul {
    font-size: 1.2rem;
}

#header {
    font-family: var(--title-font);
    text-align: center;
}

#header hr,
#footer hr {
    width: 100%;
}

#footer {
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
    color: var(--base-color);
}

.sidenote,
.marginnote {
    font-size: 1em;
}

.note,
.insight {
    width: 55%;
    padding: 15px;
    border-radius: 10px;
}

.insight {
    background-color: rgba(38, 139, 210, 0.7);
}

.note {
    background-color: rgba(42, 161, 152, 0.7);
}

.note-header,
.insight-header {
    font-size: 1.5em;
}

blockquote,
.multiline-quote {
    display: block;
    margin: 0;
    width: 55%;
    padding: 1px 3px 1px 7px;
    border-left: var(--accent-color) 5px solid;
    background-color: var(--text-color);
}

blockquote p {
    width: 100%;
    font-size: 0.9em;
    font-family: "Spectral", serif;
    font-style: italic;
    color: var(--bg-color);
}

.multiline-quote p,
.multiline-quote ul,
.multiline-quote ol {
    font-size: 1.3em;
    font-family: "Spectral", serif;
    font-style: italic;
    color: var(--bg-color);
}

#title {
    font-size: 4.5em;
    font-variant: small-caps;
    padding-bottom: 10px;
}

.subtitle {
    font-size: 1.5em;
    color: var(--base-color);
}

.archive-subtitle {
    color: var(--base-color);
    font-style: italic;
}

.poem {
    display: block;
    white-space: pre;
    width: 55%;
    padding-left: 7px;
    padding-right: 5px;
    border-left: var(--accent-color) 5px solid;
    background-color: var(--base-color);
}

.poem p {
    margin: 0;
    font-size: 1.4em;
    font-family: "Spectral", serif;
    font-style: italic;
    color: #000;
}

.meta-pair {
    display: inline-block;
}

.meta-pair::before {
    content: "| ";
}

.meta-pair:first-child::before {
    content: "";
}

kbd {
    padding: 0.1em 0.6em;
    border: 1px solid #ccc;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f7f7f7;
    color: #333;
    -moz-box-shadow:
        0 1px 0px rgba(0, 0, 0, 0.2),
        0 0 0 2px #ffffff inset;
    -webkit-box-shadow:
        0 1px 0px rgba(0, 0, 0, 0.2),
        0 0 0 2px #ffffff inset;
    box-shadow:
        0 1px 0px rgba(0, 0, 0, 0.2),
        0 0 0 2px #ffffff inset;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    display: inline-block;
    margin: 0 0.1em;
    text-shadow: 0 1px 0 #fff;
    line-height: 1.4;
    white-space: nowrap;
}

.pull {
    font-size: 2em;
    font-style: italic;
    font-weight: bold;
    padding: 10px;
    border-top: var(--base-color) 3px solid;
    border-bottom: var(--base-color) 3px solid;
    width: 55%;
}

.transclusion-title {
    font-family: var(--title-font);
    font-size: 1.5em;
}

.transclude-hr {
    border-top: 1px dotted var(--text-color);
}

pre > code {
    width: 100%;
    font-size: 0.95em;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
    display: block;
    width: max-content;
    max-width: 100%;
    overflow: auto;
}

td,
th {
    padding: 0;
}

table th {
    font-weight: 600;
}

table th,
table td {
    padding: 6px 13px;
    border: 1px solid #d0d7de;
}

table td > :last-child {
    margin-bottom: 0;
}

table tr {
    border-top: 1px solid hsla(210, 18%, 87%, 1);
}

table tr:nth-child(2n) {
    background-color: #191b30;
}

.quote-ref p {
    margin-top: 0px;
    margin-bottom: 1.4rem;
    color: var(--base-color);
    font-size: 1em;
}

.para-begin {
    font-variant: small-caps;
    font-size: 2em;
}

img.para-centered-image {
    width: 50%;
    margin-left: 25%;
}

@media (max-width: 760px) {
    .multiline-quote,
    .insight,
    .note,
    .pull,
    blockquote {
        width: 100%;
    }
    .meta-pair {
        display: block;
    }
    .meta-pair::before {
        content: "";
    }

    .margin-toggle:checked + .sidenote,
    .margin-toggle:checked + .marginnote {
        float: none;
    }

    img.para-centered-image {
        width: 100%;
        margin: auto;
    }
}
