@charset "UTF-8";
:root {
  /* PALETTE 
     Colors inspired by books and drawings.
  */
  --paper-white: #fffdf9;
  --broken-white: #eeebe3;
  --canvas-white: #ddd1b9;
  --cardboard-brown: #ad8762;
  --ink-black: #0a0510;
  --charcoal-black: #36454f;
  --pencil-black: #5c6274;
  --sepia-brown: #704214;
  --blood-red: #880808;
  --tasteful-yellow: #ffee7f;
  /* SEMANTIC COLORS */
  --bg-shade: var(--broken-white);
  --box-shade: var(--canvas-white);
  --primary-text: var(--ink-black);
  --secondary-text: var(--sepia-brown);
  --accent-color: #da0000;
  --norm: 1rem;
  --tiny: 0.5rem;
  --mini: 0.67rem;
  --small: 0.83rem;
  --big: 1.2rem;
  --huge: 1.5rem;
  --scale: 1.33;
  --measure: 66ch;
  font-size: calc(1rem + 0.3vw);
  line-height: 1.25;
  background-color: var(--paper-white);
  color: var(--primary-text);
}

* {
  max-inline-size: var(--measure);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body,
div,
header,
nav,
main,
footer {
  max-inline-size: none;
}

p {
  margin-top: 0.6125rem;
  margin-bottom: 0.6125rem;
}

/* LINKS
   ===== 

  Originally I planned to keep links in standard for accesibility, but it sure 
  looks ugly. Here's a different version.
*/
/*
a {
  position: relative; // Why is this needed?
  text-decoration: none;
  color: var(--blood-red);
}

a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px; // Underline thickness
  background-color: var(--sepia-brown); // Underline color
  bottom: 0;
  left: 0;
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

a:visited {
  color: var(--sepia-brown);
  background-color: inherit;
}

a:hover {
  color: var(--accent-color);
}

a:active {
  color: var();
}

*/
/* >>> 

Snippet taken from https://gist.github.com/unruthless/413930, not sure if this is still needed in 2023. 
*/
sub, sup {
  /* Specified in % so that the sup/sup is the
     right size relative to the surrounding text */
  font-size: 75%;
  /* Zero out the line-height so that it doesn't
     interfere with the positioning that follows */
  line-height: 0;
  /* Where the magic happens: makes all browsers position
     the sup/sup properly, relative to the surrounding text */
  position: relative;
  /* Note that if you're using Eric Meyer's reset.css, this
     is already set and you can remove this rule */
  vertical-align: baseline;
}

sup {
  /* Move the superscripted text up */
  top: -0.5em;
}

sub {
  /* Move the subscripted text down, but only
     half as far down as the superscript moved up */
  bottom: -0.25em;
}

/* End of snippet

<<< */
h1 {
  font-size: var(--huge);
  line-height: 1.25;
  margin-top: 0rem;
  margin-bottom: 0rem;
}

h2 {
  font-size: var(--big);
  line-height: 2.5;
  margin-top: 1.25rem;
  margin-bottom: 0rem;
}

h3 {
  font-size: var(--norm);
  line-height: 1.25;
  margin-top: 0.9375rem;
  margin-bottom: 0.3125rem;
}

img {
  max-inline-size: 100%;
}

pre {
  max-width: 100%; /* gets rid of strange underflow error at some sizes, probably related to the max-inline-size in the all elements selector. */
  font-size: var(--small);
  background: var(--canvas-white);
  color: var(--charcoal-black);
  overflow: auto;
  padding: var(--tiny);
  margin-bottom: var(--norm);
}

iframe {
  width: 100%;
  aspect-ratio: 16/9;
}

.note {
  background: #FEF8F3;
  color: #0000ff;
  padding: var(--small);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.3); /* Add a subtle box-shadow for depth */
  border-radius: 2px; /* Apply rounded corners to create the note shape */
}

blockquote {
  font-size: var(--small);
  border-left: 2px solid var(--accent-color);
  padding-left: var(--small);
}

code {
  font-size: var(--small);
}

ul, ol {
  margin-bottom: var(--norm);
}

li {
  list-style-position: inside;
  list-style-type: "–  ";
}

.footnotes {
  border-top: 1px solid var(--secondary-text);
  font-size: var(--small);
}

.footnotes > ol > li > p {
  color: var(--secondary-text);
  margin: 0px;
}

table {
  margin-bottom: var(--norm);
}

th, td {
  padding-left: var(--small);
  padding-right: var(--small);
}

svg {
  background: var(--bg-shade);
  margin-bottom: var(--norm);
  width: 100%;
}

.jump-nav {
  max-width: 100%;
  background: var(--box-shade);
  margin-top: var(--norm);
  padding: var(--tiny);
  list-style-type: none;
  font-size: var(--small);
}

.site-header {
  background: var(--bg-shade);
}

.site-footer {
  background: var(--bg-shade);
  font-size: var(--small);
}

.u-email {
  color: inherit;
}

.site-title {
  font-family: sans-serif;
  font-size: var(--huge);
  font-weight: bold;
  letter-spacing: -1px;
  text-decoration: none;
  color: var(--cardboard-brown);
}

.post-list > li {
  list-style-type: none;
}

.post-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.post-list > * {
  margin-block: 0;
}

.post-list > * + * {
  margin-block-start: var(--norm, 1.5rem);
}

.post-list > li > p {
  margin: 0;
}

.post-meta {
  font-size: var(--small);
  color: var(--secondary-text);
  margin-bottom: 0;
}

.post-content > h1 {
  margin-top: 0;
}

.rss-subscribe {
  color: var(--secondary-text);
  font-size: var(--small);
}

/*
 * LAYOUT
 */
.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space, var(--norm));
  justify-content: center;
  align-items: center;
  padding: var(--space, var(--norm));
}

.cluster > * {
  margin: 0;
}

.center {
  box-sizing: content-box;
  max-inline-size: var(--measure);
  margin-inline: auto;
  padding-inline-start: var(--norm);
  padding-inline-end: var(--norm);
}

/*
@import
  "minima/base",
  "minima/layout",
  "minima/syntax-highlighting"
;
*/

/*# sourceMappingURL=main.css.map */