/***************/
/* MEYER RESET */
/***************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/**************/
/* BASE RULES */
/**************/
html {
  font-size: 100%;
}

body {
  background: #ffffff;
  font: 1.125rem/1.5 "Libre Baskerville", serif;
  color: #333;
  font-size-adjust: 0.5;
  margin-bottom: 4rem;
}

.container {
  margin: 0 auto;
  max-width: min(46.25rem, calc(100vw - 2rem));
  padding: 0 clamp(0.5rem, 2vw, 1rem);
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Outfit", sans-serif;
  color: #222;
  font-weight: bold;
  line-height: 1.7;
  margin: 0.75em 0 0.4em;
  padding: 0;
}
@media screen and (max-width: 640px) {
  h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
  }
}

h1 {
  font-size: 2rem;
}
h1 a {
  color: inherit;
}

.post-title {
  font-size: 2.5rem;
  line-height: 1.4;
  margin-top: 1.5rem;
}

h2 {
  font-size: 1.5rem;
}
h2 a {
  color: inherit;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.125rem;
  color: #666;
}

p {
  margin: 1rem 0;
  line-height: 1.5;
}

a {
  color: #e08000;
  text-decoration: none;
  cursor: pointer;
}
a:hover, a:active {
  color: #e08000;
}

ul, ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

ol ul, ul ol, ul ul, ol ol {
  margin: 0;
}

ul ul, ol ul {
  list-style-type: circle;
}

em, i {
  font-style: italic;
}

strong, b {
  font-weight: bold;
}

sup {
  vertical-align: text-top;
  position: relative;
  top: -0.4em;
  font-size: 0.85em;
}

img {
  max-width: 100%;
}

table {
  margin: 1rem 0;
  border-collapse: collapse;
  font-size: inherit;
}

th, td {
  padding: 0.75rem;
  text-align: left;
  border: 1px solid #ccc;
  vertical-align: top;
  line-height: 1.3;
}

th {
  font-family: "Outfit", sans-serif;
  font-weight: bold;
  color: #222;
}

@media screen and (max-width: 640px) {
  table {
    font-size: 0.875rem;
  }

  th, td {
    padding: 0.5rem;
  }
}
.gmnoprint img {
  max-width: none;
}

.date {
  font-style: italic;
  color: #666;
}

::-moz-selection {
  color: #111;
  background: #eee;
}

::selection {
  color: #111;
  background: #eee;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

/*********************/
/* LAYOUT / SECTIONS */
/*********************/
.masthead {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}
@media screen and (max-width: 640px) {
  .masthead {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

.site-avatar {
  flex-shrink: 0;
  width: clamp(3.5rem, 8vw, 4.375rem);
  height: clamp(3.5rem, 8vw, 4.375rem);
}
.site-avatar img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-info {
  flex-grow: 1;
  min-width: 0;
}

.site-name {
  margin: 0;
  color: #333;
  cursor: pointer;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.2;
}

.site-description {
  font-family: "Outfit", sans-serif;
  margin: 0.25rem 0 0 0;
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
}
@media screen and (max-width: 640px) {
  .site-description {
    margin: 0.1875rem 0;
  }
}

nav {
  flex-shrink: 0;
  display: flex;
  gap: 1.25rem;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
}
@media screen and (max-width: 640px) {
  nav {
    gap: 0.625rem;
    font-size: 1rem;
  }
}
nav a {
  color: #333;
  font-weight: 400;
  letter-spacing: 0.0625rem;
  transition: color 0.2s ease;
}
nav a:hover {
  color: #e08000;
}
@media screen and (max-width: 640px) {
  nav a {
    color: #e08000;
  }
}

.posts > .post {
  padding-bottom: 2em;
  border-bottom: 1px solid #eee;
}

.posts > .post:last-child {
  padding-bottom: 1em;
  border-bottom: none;
}

.post {
  text-wrap-style: pretty;
}
.post blockquote {
  margin: 1em .8em;
  border-left: 2px solid #666;
  padding: 0 1em;
}
.post .comments {
  margin-top: 0.625rem;
}
.post .read-more {
  font-family: "Outfit", sans-serif;
  font-weight: 400;
}
.post .entry a {
  color: inherit;
  text-decoration: underline;
}

.wrapper-footer {
  margin-top: 2rem;
  background-color: #eee;
}

footer {
  padding: 1.25rem 0;
  text-align: center;
}

footer i {
  color: #333;
  font-size: 1.5rem;
  margin: 0 0.625rem;
}

nav i {
  color: #333;
  font-size: 1.5rem;
}

.home-masthead {
  margin-top: 2rem;
}
@media screen and (max-width: 640px) {
  .home-masthead {
    margin-top: 1rem;
  }
}

.home-content {
  border-bottom: 1px solid #eee;
  padding-block: 0.5rem;
  margin-bottom: 3rem;
}
.home-content a.special-link {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
}
.home-content a:not(.special-link) {
  font-family: "Libre Baskerville", serif;
  color: #333;
}
.home-content a:not(.special-link):hover {
  color: #e08000;
}
.home-content td {
  border: none;
  padding: 0.5rem 0.75rem;
  line-height: 1.4;
  text-wrap-style: pretty;
}
.home-content td:first-child {
  text-align: right;
  white-space: nowrap;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.posts {
  animation: fade-in linear;
  animation-timeline: view();
  animation-range-start: entry 0%;
  animation-range-end: entry 50%;
}

a.footnote {
  color: inherit;
  text-decoration: none !important;
}
a.footnote:hover {
  color: #e08000;
}

sup[role="doc-noteref"] + sup[role="doc-noteref"]::before {
  content: ",";
}

img + em {
  display: block;
  font-size: 0.8em;
  color: #666;
  text-align: center;
}

@media print {
  .wrapper-masthead {
    display: none;
  }
}
.highlight {
  border-radius: 0.3rem;
}

.highlight pre {
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  overflow-x: auto;
  line-height: 1.4;
}

code {
  font-family: "Google Sans Code", monospace;
  font-weight: 400;
  font-size: 1rem;
}

*:not(pre) > code {
  background-color: #f0f0f0;
  padding: 0.1rem 0.3rem;
  border-radius: 0.3rem;
}

/* Solarized Light Pygments Theme */
/* Based on Ethan Schoonover's Solarized Light colorscheme */
/* https://ethanschoonover.com/solarized/ */
.highlight .c {
  color: #93a1a1;
  font-style: italic;
}

/* Comment */
.highlight .err {
  color: #dc322f;
  font-weight: bold;
}

/* Error */
.highlight .g {
  color: #657b83;
}

/* Generic */
.highlight .k {
  color: #859900;
}

/* Keyword */
.highlight .l {
  color: #657b83;
}

/* Literal */
.highlight .n {
  color: #657b83;
}

/* Name */
.highlight .o {
  color: #657b83;
}

/* Operator */
.highlight .x {
  color: #657b83;
}

/* Other */
.highlight .p {
  color: #657b83;
}

/* Punctuation */
.highlight .cm {
  color: #93a1a1;
  font-style: italic;
}

/* Comment.Multiline */
.highlight .cp {
  color: #cb4b16;
}

/* Comment.Preproc */
.highlight .c1 {
  color: #93a1a1;
  font-style: italic;
}

/* Comment.Single */
.highlight .cs {
  color: #93a1a1;
  font-style: italic;
  font-weight: bold;
}

/* Comment.Special */
.highlight .gd {
  color: #dc322f;
}

/* Generic.Deleted */
.highlight .ge {
  color: #657b83;
  font-style: italic;
}

/* Generic.Emph */
.highlight .gr {
  color: #dc322f;
  font-weight: bold;
}

/* Generic.Error */
.highlight .gh {
  color: #cb4b16;
  font-weight: bold;
}

/* Generic.Heading */
.highlight .gi {
  color: #859900;
}

/* Generic.Inserted */
.highlight .go {
  color: #93a1a1;
}

/* Generic.Output */
.highlight .gp {
  color: #93a1a1;
}

/* Generic.Prompt */
.highlight .gs {
  color: #657b83;
  font-weight: bold;
}

/* Generic.Strong */
.highlight .gu {
  color: #6c71c4;
  font-weight: bold;
}

/* Generic.Subheading */
.highlight .gt {
  color: #dc322f;
  font-weight: bold;
}

/* Generic.Traceback */
.highlight .kc {
  color: #2aa198;
}

/* Keyword.Constant */
.highlight .kd {
  color: #859900;
}

/* Keyword.Declaration */
.highlight .kn {
  color: #cb4b16;
}

/* Keyword.Namespace */
.highlight .kp {
  color: #859900;
}

/* Keyword.Pseudo */
.highlight .kr {
  color: #859900;
}

/* Keyword.Reserved */
.highlight .kt {
  color: #b58900;
}

/* Keyword.Type */
.highlight .ld {
  color: #657b83;
}

/* Literal.Date */
.highlight .m {
  color: #2aa198;
}

/* Literal.Number */
.highlight .s {
  color: #2aa198;
}

/* Literal.String */
.highlight .na {
  color: #657b83;
}

/* Name.Attribute */
.highlight .nb {
  color: #268bd2;
}

/* Name.Builtin */
.highlight .nc {
  color: #b58900;
}

/* Name.Class */
.highlight .no {
  color: #2aa198;
}

/* Name.Constant */
.highlight .nd {
  color: #cb4b16;
}

/* Name.Decorator */
.highlight .ni {
  color: #657b83;
}

/* Name.Entity */
.highlight .ne {
  color: #dc322f;
  font-weight: bold;
}

/* Name.Exception */
.highlight .nf {
  color: #268bd2;
}

/* Name.Function */
.highlight .nl {
  color: #657b83;
}

/* Name.Label */
.highlight .nn {
  color: #b58900;
}

/* Name.Namespace */
.highlight .nx {
  color: #657b83;
}

/* Name.Other */
.highlight .py {
  color: #657b83;
}

/* Name.Property */
.highlight .nt {
  color: #268bd2;
}

/* Name.Tag */
.highlight .nv {
  color: #268bd2;
}

/* Name.Variable */
.highlight .ow {
  color: #859900;
}

/* Operator.Word */
.highlight .w {
  color: #fdf6e3;
}

/* Text.Whitespace */
.highlight .mf {
  color: #2aa198;
}

/* Literal.Number.Float */
.highlight .mh {
  color: #2aa198;
}

/* Literal.Number.Hex */
.highlight .mi {
  color: #2aa198;
}

/* Literal.Number.Integer */
.highlight .mo {
  color: #2aa198;
}

/* Literal.Number.Oct */
.highlight .sb {
  color: #2aa198;
}

/* Literal.String.Backtick */
.highlight .sc {
  color: #2aa198;
}

/* Literal.String.Char */
.highlight .sd {
  color: #93a1a1;
  font-style: italic;
}

/* Literal.String.Doc */
.highlight .s2 {
  color: #2aa198;
}

/* Literal.String.Double */
.highlight .se {
  color: #dc322f;
}

/* Literal.String.Escape */
.highlight .sh {
  color: #2aa198;
}

/* Literal.String.Heredoc */
.highlight .si {
  color: #cb4b16;
}

/* Literal.String.Interpol */
.highlight .sx {
  color: #2aa198;
}

/* Literal.String.Other */
.highlight .sr {
  color: #2aa198;
}

/* Literal.String.Regex */
.highlight .s1 {
  color: #2aa198;
}

/* Literal.String.Single */
.highlight .ss {
  color: #2aa198;
}

/* Literal.String.Symbol */
.highlight .bp {
  color: #268bd2;
}

/* Name.Builtin.Pseudo */
.highlight .vc {
  color: #268bd2;
}

/* Name.Variable.Class */
.highlight .vg {
  color: #268bd2;
}

/* Name.Variable.Global */
.highlight .vi {
  color: #268bd2;
}

/* Name.Variable.Instance */
.highlight .il {
  color: #2aa198;
}

/* Literal.Number.Integer.Long */
/* Background for highlighted code blocks */
.highlight {
  background-color: #f0f0f0;
  /* base3 - light background */
  color: #657b83;
  /* base00 - main text colour */
}

/* Line numbers */
.highlight .lineno {
  color: #93a1a1;
  /* base1 - subtle for line numbers */
  background-color: #eeeeee;
  /* base2 - slightly darker background */
  padding-right: 1em;
  text-align: right;
  user-select: none;
}
