@charset "UTF-8";
/* This file contains all the constants for colors and font styles */
* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

html {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 900px) {
  html {
    font-size: 15px;
  }
}
@media (min-width: 1200px) {
  html {
    font-size: 16px;
  }
}
body {
  width: 87.5%;
  max-width: 1400px;
  margin: 0 auto;
  font-family: "Arial", Helvetica, sans-serif;
  background-color: #f9f9f9;
  color: #111;
  overflow-x: hidden;
  counter-reset: sidenote-counter;
}

.flex {
  display: flex;
}

.column {
  flex-direction: column;
}

.grow {
  flex-grow: 1;
  min-height: 0;
}

.wrap {
  flex-wrap: wrap;
}

.mono {
  font-family: ui-monospace, monospace;
  font-weight: 400;
}

.contrast {
  color: #111;
}

.smaller {
  font-size: 80%;
}

.group:after {
  content: "";
  display: table;
  clear: both;
}

.email b {
  display: none;
}

h1, h2, h3 {
  font-family: "Arial", Helvetica, sans-serif;
  margin-bottom: 0;
}

h1 {
  font-weight: 500;
  margin-top: 1.568rem;
  margin-bottom: 1.568rem;
  font-size: 2.5rem;
  line-height: 0.784;
}

h2 {
  font-weight: 500;
  margin-top: 1.867rem;
  font-size: 2.1rem;
  line-height: 0.933;
}

h3 {
  font-weight: 400;
  font-size: 1.8rem;
  margin-top: 2.178rem;
  line-height: 1.089;
}

h1 code, h2 code, h3 code {
  font-size: 0.8em;
}

p, ol, ul {
  font-size: 1.4rem;
  line-height: 2rem;
  margin-top: 1.4rem;
  vertical-align: baseline;
}

p:not(.post-date), li {
  padding-right: 2rem;
  text-align: justify;
}

p.post-date {
  line-height: 0;
  margin-top: 0;
}

a {
  color: #111;
  text-decoration: none;
}

p > a, cite > a, span > a, li > a {
  color: #111;
  border-bottom: 1px solid;
  background-size: 0.05em 1px, 0.05em 1px, 1px 1px;
  background-repeat: no-repeat, no-repeat, repeat-x;
  background-position: 0% 93%, 100% 93%, 0% 93%;
}
p > a:hover, cite > a:hover, span > a:hover, li > a:hover {
  color: #111;
  border-bottom: 1px dashed;
  background: none;
}

code, .code, pre {
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 1.2rem;
  line-height: 1.714;
  margin-top: 1.714rem;
}

code, .code {
  display: block;
  overflow: auto;
}
code > a:last-of-type::after,
code > span:last-of-type::after,
code > p:last-of-type::after, .code > a:last-of-type::after,
.code > span:last-of-type::after,
.code > p:last-of-type::after {
  content: "_";
  animation: blinker 1.1s cubic-bezier(1, 0, 0, 1) infinite;
}

pre {
  width: 52.5%;
  padding-left: 2.5%;
  overflow-x: auto;
}

@keyframes blinker {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
img {
  max-width: 100%;
}

figure, figure img.maincolumn {
  max-width: 55%;
  margin: 0 0 3em 0;
}

figcaption {
  float: right;
  clear: right;
  margin-right: -50%;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.6;
  vertical-align: baseline;
  position: relative;
  max-width: 40%;
}

figure.fullwidth figcaption {
  float: left;
  margin-right: 0%;
  margin-left: 33%;
  max-width: 100%;
}

blockquote > p {
  font-family: "Arial", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.75rem;
  width: 45%;
  padding: 0 2.5%;
  font-style: italic;
}

blockquote footer {
  width: 45%;
  padding: 0 2.5%;
  font-size: 1.1rem;
  line-height: 1.782;
  margin-top: 1.782rem;
  margin-bottom: 1.782rem;
  text-align: right;
  font-style: normal;
}

div.epigraph {
  margin: 3.564rem 0;
}
div.epigraph > blockquote {
  margin: 3rem 0;
}
div.epigraph > blockquote > footer {
  width: 45%;
  padding: 0 2.5%;
  margin-top: 0.446rem;
  margin-bottom: 3.118rem;
}
div.epigraph > blockquote > footer > cite {
  font-style: italic;
}

ul, ol {
  width: 45%;
  padding: 0 5%;
  list-style-type: none;
}

.sidenote, .marginnote {
  float: right;
  clear: right;
  margin-right: -60%;
  width: 50%;
  margin-top: 0;
  margin-bottom: 1.96rem;
  font-size: 1rem;
  line-height: 1.96;
  vertical-align: baseline;
  position: relative;
  z-index: 20;
  padding-bottom: 1rem;
  border: 1px solid transparent;
  transition: 0.25s all ease-in-out;
}
.sidenote::after, .marginnote::after {
  transition: width 0.25s;
  content: "";
  background-color: black;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
}
.sidenote:hover:before, .marginnote:hover:before {
  color: #111;
}
.sidenote:hover::after, .marginnote:hover::after {
  width: 100%;
}
.sidenote code, .marginnote code {
  font-size: 1rem;
}

li .sidenote, li .marginnote {
  margin-right: -80%;
}

blockquote .sidenote, blockquote .marginnote {
  margin-right: -79%;
}

.sidenote-number {
  counter-increment: sidenote-counter;
}

.sidenote-number:after, .sidenote:before {
  content: counter(sidenote-counter) " ";
  font-family: "Arial", Helvetica, sans-serif;
  color: #111;
  position: relative;
  vertical-align: baseline;
}

.sidenote-number:after {
  content: counter(sidenote-counter);
  font-size: 1rem;
  top: -0.5rem;
  left: 0.1rem;
}

.sidenote:before {
  content: counter(sidenote-counter) ". ";
  color: #111;
  top: 0rem;
}

input.margin-toggle {
  display: none;
}

label.sidenote-number {
  display: inline;
}

label.margin-toggle:not(.sidenote-number) {
  display: none;
}

nav {
  position: relative;
  margin: 0 0 1rem 0;
  display: flex;
  width: 100%;
}
nav #home {
  flex-shrink: 0;
  flex-grow: 0;
}
nav a {
  font-weight: 400;
  font-size: 1.5rem;
  text-decoration: none;
  color: #111;
  height: fit-content;
  min-width: 0;
  flex-grow: 1;
}
nav a li {
  margin-top: 5px;
  list-style-type: none;
  padding-bottom: 2rem;
  text-align: right;
  position: relative;
}
nav a li::after {
  content: "";
  background: #111;
  transition: width 0.25s;
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
  right: 0;
}
nav a li:hover::after, nav a li.current::after {
  width: 50%;
}
nav a li:nth-child(2):not(nav li) {
  border-top: 1px solid #685d5d;
  padding-top: 0.2rem;
}

body > footer {
  display: flex;
  max-height: 100px;
  width: 100%;
  padding-top: 2rem;
}
body > footer a {
  text-decoration: none;
  background: unset;
  text-shadow: unset;
}
body > footer > p:not(.mono) {
  margin: 0;
  font-size: 0.8rem;
  flex-shrink: 0;
}
body > footer > p.mono {
  text-align: right;
  margin: 0;
  width: 100%;
  font-size: 0.8rem;
}
body > footer > p > a > img {
  height: 1.5rem;
  display: inline-block;
  vertical-align: top;
}

ul.footer-links, .credits {
  list-style: none;
  text-align: center;
  margin: 0 auto;
}

ul.footer-links li {
  display: inline;
  padding: 0.5rem 0.25rem;
}

.credits {
  padding: 1rem 0rem;
  font-family: "Arial", Helvetica, sans-serif;
}
.credits a {
  color: #111;
}

article {
  position: relative;
  padding: 0rem 1rem 2.5rem 1rem;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
}
article h1 {
  font-family: "Arial", Helvetica, sans-serif;
  font-weight: 500;
}
article h2, article h3, article h4 {
  border-top: 1px solid #333333;
  padding-top: 1rem;
  font-family: "Arial", Helvetica, sans-serif;
  font-weight: 500;
}
article > p {
  font-weight: 400;
}
article p > a[href$=jpg], article p > a[href$=png] {
  background: none;
  text-shadow: none;
}
article.group h2 a, article.group h3 a, article.group h4 a {
  color: unset;
}
article.group h2 a:hover, article.group h3 a:hover, article.group h4 a:hover {
  border-bottom: 1px solid;
}
article.group span.marginnote img {
  box-shadow: 4px 4px 0px 1px black;
  border: 1px solid;
}

section {
  padding: 1rem 0;
}

p, footer, div.table-wrapper, .MJXc-display {
  width: 55%;
}

.fullwidth, li.listing div {
  max-width: 90%;
}

.post-block {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}
.post-block a {
  padding: 0;
  background: 0 0;
  color: #111;
}
.post-block h2 {
  border-top: 0 solid transparent;
  margin: 0;
  width: 100%;
  font-size: 1rem;
  padding-top: 0;
  line-height: 1;
  position: relative;
  background-color: #f9f9f9;
  z-index: 1;
}
.post-block h2::after {
  content: "";
  height: 1px;
  width: 0%;
  position: absolute;
  background: #111;
  transition: width 0.25s ease;
  right: 1rem;
  top: 50%;
  z-index: -1;
}
.post-block h2 a {
  background: #f9f9f9;
  z-index: 2;
  padding-right: 0.5rem;
}
.post-block h2 a:hover {
  color: #111;
  text-decoration: none;
}
.post-block h2:hover::after {
  width: calc(100% - 1rem);
}
.post-block p {
  font-size: 0.9rem;
  margin: 0;
  width: 50%;
}
.post-block .title {
  display: flex;
  justify-content: space-between;
}
.post-block .desc {
  padding-top: 0.25rem;
  line-height: 1.25;
}

time {
  font-size: 0.75rem;
  letter-spacing: 0;
  color: #000;
  flex-shrink: 0;
  align-self: center;
  font-family: ui-monospace, monospace;
}

a.project-link {
  color: white;
  flex-grow: 1;
  max-width: calc(50% - 0.5rem);
  z-index: 50;
}
a.project-link:hover {
  text-decoration: none;
}

.project-block {
  height: auto;
  aspect-ratio: 1/1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.25rem;
}
.project-block p {
  width: 100%;
  margin: 0;
}
.project-block time {
  color: white;
  align-self: flex-start;
}
.project-block h2 {
  cursor: pointer;
  border-top: 0 solid transparent;
  margin: 0;
  width: 100%;
  padding-top: 0;
}
.project-block h2 a:hover {
  text-decoration: none;
}

div#history {
  overflow-y: scroll;
  overflow-x: hidden;
  max-height: 500px;
  max-width: 100%;
  margin-top: 1rem;
}
div#history h5 {
  display: flex;
  margin: 1rem 0;
  align-items: center;
  width: 100%;
  text-align: center;
  font-size: 0.7rem;
  font-weight: normal;
  color: #111;
}
div#history h5#depart {
  background-color: inherit;
  color: black;
  opacity: 0.25;
}
div#history h5#depart::after {
  border-bottom: 1px solid red;
  content: "";
  flex: 1;
  opacity: 0.25;
}
div#history h5::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #111;
}
div#history h5:not(:empty)::before {
  margin-right: 0.5em;
}
div#history h5:not(:empty)::after {
  margin-left: 0.5em;
}
div#history h5 a {
  background: none !important;
  text-decoration: underline;
  color: inherit !important;
  margin-left: 3px;
}
div#history ul {
  list-style-type: none;
  font-size: 0.8rem;
  margin: 0;
  width: 100%;
  padding: 0;
}
div#history ul li {
  margin: 1rem 0;
}

h1.content-listing-header {
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: 1.8rem;
}

li.listing {
  margin: 0;
}
li.listing hr {
  width: 100%;
}
li.listing p {
  width: 100%;
}
li.listing h3 {
  display: inline-block;
  margin: 0;
}
li.listing h3.new {
  text-transform: uppercase;
  font-style: normal;
}
li.listing:last-of-type {
  border-bottom: none;
  margin-bottom: 1.4rem;
}

.listing, .listing h3 {
  display: inline-block;
  margin: 0;
}

hr.slender {
  border: 0;
  height: 1px;
  margin: 1.4rem 0;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

@media (max-width: 760px) {
  nav {
    flex-wrap: wrap;
  }
  nav > a:first-of-type {
    flex-basis: 100%;
    text-align: center;
    font-size: inherit;
  }
  nav > a {
    font-size: 0.95rem;
  }
  nav > a > li {
    padding: 0.25rem;
  }
  p, footer {
    width: 100%;
  }
  body > footer > p.mono {
    text-align: left;
  }
  pre code {
    width: 87.5%;
  }
  ul {
    width: 85%;
  }
  figure {
    max-width: 90%;
  }
  figcaption, figure.fullwidth figcaption {
    margin-right: 0%;
    max-width: none;
  }
  blockquote p, blockquote footer, div.epigraph > blockquote > footer, .MJXc-display {
    width: 80%;
    padding: 5%;
  }
  label.margin-toggle:not(.sidenote-number) {
    display: inline;
    color: #111;
  }
  .sidenote, .marginnote {
    display: none;
  }
  .margin-toggle:checked + .sidenote,
  .margin-toggle:checked + .marginnote {
    display: block;
    float: left;
    left: 1rem;
    clear: both;
    width: 95%;
    margin: 1rem 2.5%;
    vertical-align: baseline;
    position: relative;
  }
  label {
    cursor: pointer;
  }
  pre, pre code, p code, p pre code {
    width: 90%;
    padding: 0;
  }
  img {
    max-width: 100%;
  }
  figcaption.maincolumn-figure, figure.fullwidth figcaption {
    float: none;
    text-align: center;
    margin-left: 0;
  }
  body > footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: justify;
  }
  #color {
    display: none;
  }
  div#history {
    width: initial;
    margin: 1rem 0;
    padding: initial;
    border: initial;
  }
  a.project-link {
    max-width: 100%;
  }
  #mobile-homepage-head {
    transform: scale(1.1) !important;
  }
}

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