::-moz-selection {
  color: #fff;
  background: #8b8125;
}
::selection {
  color: #fff;
  background: #8b8125;
}
[id] {
  scroll-margin-top: 10svh;
}
:target {
  animation: highlight 2.5s;
}
@keyframes highlight {
  0% { background: #8b8125 }
  100% { background: 0 }
}
img,iframe {
  max-width: 100%;
}
html {
  background: #FFF5EE;
  color: #333;
}
body {
  font: 500 1.3em/1.7em Inter, Helvetica, sans-serif;
  padding: 0 10vw;
  content-visibility: auto;
}
body>*,.padding {
  margin-top: 10svh;
}
.grid-container {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 2svh 5vw;
}
.full-width {
  grid-column: 1 / span 2;
}
.columns {
  display: grid;
  grid-gap: 2svh 5vw;
  grid-template-columns: repeat(auto-fit, minmax(300px, 500px));
}
a {
  color: inherit;
  display: inline-block;
  text-underline-offset: 5px;
  text-decoration-thickness: .5px;
  padding: 5px;
  margin: -5px;
}
a:not(article a):not(:hover),.current {
  text-decoration: none;
}
a:hover:not(.current) {
  color: #8b8125;
  transform: skew(0deg, 1deg);
  opacity: 1;
  text-decoration-thickness: 1px;
}
.current {
  cursor: default;
}
/*a:not([href*="http://alexnotes.org"]):after {
  content: "\21F1";
  transform: scale(-1, 1);
  display: inline-block;
  padding-right: .1em;
  white-space: nowrap;
}*/
.sc,h2,summary,footer nav {
  text-transform: uppercase;
  letter-spacing: .1em;
}
h1 {
  font-size: 3em;
  line-height: 1.2em;
  margin-bottom: .25em;
}
h1,h3 {
  font-weight: 600;
}
h2,strong,nav a {
  font-weight: 700;
}
h2 {
  font-size: 1.125em;
  line-height: 1.7em;
  margin: 2em 0 .5em;
}
summary {
  font-size: 1.125em;
  font-weight: 700;
  cursor: pointer;
}
blockquote {
  font-size: 1.125em;
  line-height: 1.7em;
  margin: 2em 0;
  padding-left: 1.5em;
  border-left: solid 5px #8b8125;
  hanging-punctuation: first last;
}
ul {
  padding-left: 1em;
}
ul li {
  margin: 1em 0;
  padding-left: 1em;
}
ol {
  padding-left: 1.5em;
}
ol li {
  margin: 1em 0;
  padding-left: .5em;
}
pre,code {
  font-family: .85em/1em 'Fira Code', 'Fira Mono', monospace;
  white-space: pre-wrap;
  margin: 1em 0;
}
pre {
  padding: 1.5em;
}
hr,sub,sup {
  line-height: 0;
}
hr {
  border: 0;
  font-size: 2em;
  margin: 1.6em 0 1em;
}
hr:before {
  content: "* * *";
  position: absolute;
}
figure {
  margin: 1.5em 0;
}
footer a,#tag,#tags * {
  font-size: .875em;
  padding-right: 2em;
}
article>*:not(h1) {
  max-width: 55ch;
  word-wrap: break-word;
}
.color--fade,.current,.footnote-ref,figcaption,hr {
  opacity: .5;
}
.select-entire-link {
  user-select: all;
  -webkit-user-select: all;
}
.footnotes ol {
  font-size: .75em;
  opacity: .5;
}
.footnote-back {
  padding-left: 1em;
}
.footnote-back:after {
  content: " Back";
}
#logo {
  fill: #333;
  transition: all .2s;
  vertical-align: -20%;
}
a:hover:not(.current) #logo {
  padding: 40px;
  margin: -40px;
  fill: #8b8125;
  cursor: pointer;
  transform: rotate(180deg);
}
a.current #logo {
  opacity: .5;
  cursor: default;
}
nav a:last-of-type:hover:after {
  content: " " attr(title);
}
@media screen and (max-width:500px) {
  body {
    font-size: 1.125em;
    padding: 0 2.5vw;
  }
  h1 {
    font-size: 2em;
  }
  nav a:last-of-type {
    display: none;
  }
}
@media(prefers-color-scheme:dark) {
  html,body {
    background: #0f0f05;
    color: #f0e1d2;
    font-weight: 300;
  }
  h1,h3 {
    font-weight: 500;
  }
  h2,strong,nav a,summary {
    font-weight: 500;
  }
  #logo {
    fill: #f0e1d2;
  }
}