@font-face {
    font-family: "Alegreya";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("/static/fonts/alegreya-latin-variable-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Alegreya";
    font-style: italic;
    font-weight: 400 900;
    font-display: swap;
    src: url("/static/fonts/alegreya-latin-variable-italic.woff2") format("woff2");
}

@font-face {
    font-family: "Alegreya SC";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/static/fonts/alegreya-sc-regular.woff2") format("woff2");
}

@font-face {
    font-family: "Alegreya SC";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("/static/fonts/alegreya-sc-italic.woff2") format("woff2");
}

@font-face {
    font-family: "Alegreya SC";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/static/fonts/alegreya-sc-500.woff2") format("woff2");
}

@font-face {
    font-family: "Alegreya SC";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("/static/fonts/alegreya-sc-500italic.woff2") format("woff2");
}

@font-face {
    font-family: "Alegreya SC";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("/static/fonts/alegreya-sc-700italic.woff2") format("woff2");
}

@font-face {
    font-family: "Alegreya SC";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/static/fonts/alegreya-sc-800.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/static/fonts/ibm-plex-mono-regular.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("/static/fonts/ibm-plex-mono-italic.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/static/fonts/ibm-plex-mono-600.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url("/static/fonts/ibm-plex-mono-600italic.woff2") format("woff2");
}

:root {
    --font-family-code: "IBM Plex Mono", monospace;
}

code {
    font-size: 0.875em;
}

:not(pre) > code {
    background: #f2f0ea;
    padding: 0.1em 0.25em;
    box-decoration-break: clone;
}

pre {
    background: #f2f0ea;
    padding: var(--line-height) 1ch;
}

pre code {
    background: none;
    padding: 0;
}

figure img {
    display: block;
    height: auto;
    object-fit: contain;
    width: 100%;
}

.post-update {
    font-size: 0.875rem;
}

.draft-todo {
    background: #ffe66d;
    border: 0.15em solid #9d1c1c;
    color: #641313;
    display: inline-block;
    font-family: var(--font-family-code);
    font-size: 0.875em;
    font-weight: 600;
    padding: 0.35em 0.55em;
}
