@font-face {
    font-family: 'InstrumentSerif';
    src: url("/static/fonts/InstrumentSerif-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'InstrumentSerif';
    src: url("/static/fonts/InstrumentSerif-Italic.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
}



:root {
    --color-emeral: #01ff70;
    --color-emeral-dim: #85ffba;
    --color-cyber-green: #80ff00;
    --color-lime-yellow: #bf0;
    --color-gold: #ffef00;
    --color-white: #fafafa;
    --color-white-dim: #ececec;

    --font-content: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, "Cascadia Code", "IBM Plex Mono", "Roboto Mono", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Source Code Pro", monospace;
    --font-ui: var(--font-content);
}


/* Base */
html,
body {
    background-color: black;     /* #222 */
    min-height: 100%;
    line-height: 2rem;
}

body {
    color: var(--color-white-dim);
    font-family: var(--font-content);
    font-size: 1.1rem;
    min-width: 79dvw;
}

::selection {
    color: black;
    background-color: var(--color-emeral);
}

/* /\* Responsive content positioning *\/ */
/* @media only screen and (min-width: 1020px) */
/* /\* Large screens *\/ */
/* { */
/*     body { */
/*         padding: 10vh 25vw; */
/*     } */
/* } */

/* @media only screen and (max-width: 1020px) and (min-width: 750px) */
/* /\* Small screens *\/ */
/* { */
/*     body { */
/*         padding: 5vh 10vw; */
/*     } */
/* } */

/* @media only screen and (max-width: 750px) */
/* /\* Small screens *\/ */
/* { */
/*     body { */
/*         padding: 2vh 5vw; */
/*     } */
/* } */

/* Headers */
.title {
    margin-bottom: 2.5rem;
    margin-right: 2rem;
    margin-left: 2rem;
}


h1 {margin-top: 2rem;
    line-height: 3.7rem;

    font-family: 'InstrumentSerif', serif;
    font-size: 3rem;
    text-transform: uppercase;
}

h2 {margin-top: 2rem;
    line-height: 3.7rem;

    font-family: 'InstrumentSerif', serif;
    /* font-style: italic; */
    font-weight: 300; /* light font weight */
    font-size: 1.7rem;
    border-left: dotted;
    padding-left: 0.7rem;
}


h3 {
    font-size: 1.3rem;

    margin-top: 1rem;
}

h4 {
    font-size: 1.0rem;

    margin-top: 1rem;
}

h5 {
    font-size: 0.7rem;
}

h6 {
    font-size: 0.7rem;
}

h1>.subtitle {
    font-size: 0.7rem;
}

hr {
    margin-top: 2.3rem;
    margin-bottom: 2.3rem;
}

/* Padding & Margin */
div#content {
    max-width: 100%;            /* 60em */
    margin-top: auto;
    margin-bottom: auto;
    margin-right: auto;
    margin-left: auto;
}

div#content section {
    margin-right: 10%;
    margin-left: 5%;
}

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

/* Links  */
a,
a:visited {
    color: var(--color-emeral);
    text-decoration: underline;
}

a:visited {
    color: var(--color-gold);
}

a:hover,
a:focus,
a:active {
    color: var(--color-emeral-dim);
}

/* Bold, italic */

b {
    color: #ffbab2;
    font-weight: bolder;
}

/* Code */
code {
    font-family: var(--font-mono);
    font-size: 1rem;
    background: #ffffff26;
    border: solid #FFFFFF78 0.1rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
}

pre {
    padding: 0.5rem;
    overflow-x: auto;
    border-radius: 0;           /* 0.2rem */
    border-top: hidden;
    border-bottom: hidden;
    border-right: hidden;
    border-left-width: 20px;
    border-left-style: double;
    border-left-color: var(--color-cyber-green);
    background-color: inherit;
    color: #EEE;
}

pre.src {
    font-size: 0.9rem;
}

pre.src:before {
    display: block !important;
    margin: auto !important;
    position: static;
    font-size: 0.75rem;
    font-weight: 600;
    /* text-transform: uppercase; */
    background-color: inherit;
    color: #EEE;
    border-bottom: 0.1rem solid;
}

.org-keyword {
    color: var(--color-gold);
}

.org-rainbow-delimiters-depth-1 {
    color: var(--color-emeral);
}

.org-rainbow-delimiters-depth-2 {
    color: var(--color-gold);
}

/* Blockquotes */
blockquote,
.verse {
    border-left: 3px solid var(--color-gold);
    padding-left: 1rem;
}

.verse img {
    /* width: 100%; */
    /* height: auto; */
    /* display: block; */

    width: 150%;
    height: auto;
    overflow: visible;
}

/* Tags */
.tag {
    margin-top: 0.5rem;
    display: block;
    color: var(--color-white);
    font-size: var(--font-size-xsmall);
    background-color: transparent;
}

.tag>span {
    font-weight: 400;
    font-size: 0.8rem;
    background-color: #444;
    text-transform: uppercase;
    border-radius: 2px;
    width: fit-content;
    height: auto;
    padding: 1px 5px;
}

/* Org elements: keywords */
.todo {
    color: var(--color-emeral-dim);
}

.done {
    color: #444;
}

span.timestamp {
    color: var(--color-lime-yellow);
}

/* Overflows */
.outline-text-2,
.outline-text-3,
.outline-text-4 {
    overflow-x: auto;
    padding-left: 10%;
}

/* Table */
table {
    /* border-top: 1px solid; */
    /* border-right: 1px solid; */
    border-left: 1px solid;
    border-bottom: 1px solid;
}

tr:nth-child(even) {
    background-color: #333;
}

th,
td {
    padding: 0.5rem;
    text-align: center;
}

.underline {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* Drawer */
button.drawer {
    background-color: transparent;
    color: var(--color-white);
    cursor: pointer;
    padding: 10px;
    width: auto;
    text-align: left;
    outline: none;
    font-size: 15px;
    border-radius: 0;
    border-top: hidden;
    border-bottom: hidden;
    border-right: hidden;
    border-left-width: 20px;
    border-left-style: dotted;
    border-left-color: var(--color-cyber-green);
}

button.drawer:hover {
    background-color: #555;
}

button.drawer .content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
}

.drawer-content {
    border-left: 1px solid;
}

/* misc */
img.home-button {
    max-width: 2rem;
    max-height: 2rem;
    /* max-width: 100%; */
    /* min-height: 10vh; */
}

/* div#preamble #home { */
/*     /\* display: fixed; *\/ */
/*     /\* left: 0; *\/ */
/*     /\* /\\* padding-left: .5rem; *\\/ *\/ */

/*     display: flex; */
/*     flex-grow: 1; */
/*     justify-content: start; */
/*     column-gap: 0.5em; */
/* } */

/* div#home a { */
/*     text-decoration: none; */
/* } */

div#preamble #social {
    /* position: fixed; */
    /* right: 0; */
    /* padding-right: .5rem; */

    display: flex;
    flex-grow: 1;
    justify-content: end;
    column-gap: 0.5em;
}

div#social a {
    text-decoration: none;
}

/* div#preamble #social { */
/*     display: flex; */
/*     flex-grow: 1; */
/*     justify-content: end; */
/*     column-gap: 0.5em; */
/* } */

/* div#social a { */
/*     text-decoration: none; */
/* } */

div.bio {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    gap: 23px;
    /* min-height: 100dvh; */

    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

img.avatar {
    max-width: 100%;
    min-height: 100dvh;
}


sub.boardsign {
    font-size: x-large;
    font-family: Arial;
    line-height: 3.4rem;
    letter-spacing: 0.7rem;
    margin-bottom: 19rem;
}

div#postamble {
    margin-top: 2rem;
    font-size: 4px;
    color: #666;
    text-align: center;
    /* border-top-width: 3px; */
    /* border-top-style: dotted; */
}

@import url('syntax-highlight.css');
