/** style taken from wickstrom.tech */
/* uses these two fonts */
/* Inter and Inter Var -- https://rsms.me/inter/inter.css */
/* IBM Plex Mono -- view-source:https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap */
/*
http://www.btbytes.com/pandoc-semantic-css/wickstorm.html headers
for additional css includes for this to work.
*/
/* reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}
ul[role="list"],
ol[role="list"] {
    list-style: none;
}
html:focus-within {
    scroll-behavior: smooth;
}
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}
a:not([class]) {
    text-decoration-skip-ink: auto;
}
img,
picture {
    max-width: 100%;
    display: block;
}
input,
button,
textarea,
select {
    font: inherit;
}
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* index.css */
:root {
    font-family: "Inter", sans-serif;
}

@supports (font-variation-settings: normal) {
    :root {
        font-family: "Inter var", sans-serif;
    }
}

html {
    background: #fff;
    color: #000;
}

html,
body {
    line-height: 1.5;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-weight: 800;
    font-size: 2.5rem;
}

h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1.5rem;
}

h3 {
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
}

a:link {
    color: #000;
    text-decoration: underline;
}

a:visited {
    color: #888;
}

ul,
ol,
p {
    margin: 1rem 0;
}

li > ul,
li > ol {
    margin: 0.75rem 0;
}

li {
    margin: 0.25rem 0;
}

figure {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

figcaption {
    margin-top: 0.5rem;
    text-align: center;
    font-style: italic;
}

th,
td {
    padding: 0.5rem;
    border-bottom: 1px solid #ddd;
}

tr.divider td {
    text-align: center;
    font-style: italic;
}
sup {
    font-size: 0.75em;
    line-height: 1;
}

dl {
    margin: 2rem 0;
}

dt {
    font-weight: 600;
    margin-top: 0.5rem;
}

dd {
    margin-left: 1rem;
}

pre,
code {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 400;
}

pre {
    padding: 1rem;
}

body {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

body > .sourceCode,
body > pre {
    margin: 1rem 0;
    overflow-x: auto;
}

body > .sourceCode,
body > pre {
    margin: 1rem -1rem;
}

/*
 * Post
 */

#title-block-header {
    display: flex;
    margin: 2rem 0 3rem 0;
    flex-wrap: wrap;
}

#title-block-header h1 {
    flex: 1 1 100%;
    margin: 0 0 0.5rem;
}

#title-block-header .author,
#title-block-header .date {
    margin: 0;
    color: #666;
}

#title-block-header .date:before {
    content: "\2014";
    margin: 0 0.25em;
}

.post-nav {
    color: #666;
}

.post-nav.before {
    margin: 0;
}

.post-nav.after {
    margin: 2rem 0 0;
}

.post-nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.post-nav a {
    color: inherit;
}

/*
 * Index
 */
.index-page header {
    padding: 4rem 0 2rem 0;
}

.index-page h1 {
    font-size: 3rem;
}

.index-page p {
    font-size: 1.25rem;
}

.index {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.index li {
    display: flex;
    flex-direction: column;
    margin: 1.5rem 0;
}

@media screen and (max-width: 800px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.375rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}

@media (prefers-color-scheme: dark) {
    html {
        background: #111;
        color: #fff;
    }

    a:link {
        color: #fff;
    }

    a:visited {
        color: #ccc;
    }

    #title-block-header .author,
    #title-block-header .date {
        color: #aaa;
    }
}
.footnote-ref {
    text-decoration: none !important;
}
.footnote-ref sup:before {
    content: "[";
}
.footnote-ref sup:after {
    content: "]";
}

/* Syntax highlighting overrides */

code span.im {
    font-weight: bold;
}

code span.at,
code span.dt {
    text-decoration: none;
    font-style: italic;
}

code span.co {
    color: #999;
}

code span.st,
code span.ss {
    color: #444;
}

@media (prefers-color-scheme: dark) {
    code span.st,
    code span.ss {
        color: #ccc;
    }
}
