@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Amiri:400,400italic,700|Lato:300,400,700,900|Inconsolata:400,700");
div.sourceCode {
  overflow-x: auto; }

table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode {
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  border: none; }

table.sourceCode {
  width: 100%;
  line-height: 100%; }

td.lineNumbers {
  text-align: right;
  padding-right: 4px;
  padding-left: 4px;
  color: #aaaaaa;
  border-right: 1px solid #aaaaaa; }

td.sourceCode {
  padding-left: 5px; }

code {
  color: #333333; }
  code .kw {
    /* Keyword */
    color: #8bba7b;
    font-weight: bold; }
  code .dt {
    /* DataType */
    color: #902000; }
  code .dv {
    /* DecVal */
    color: #598f81; }
  code .bn {
    /* BaseN */
    color: #598f81; }
  code .fl {
    /* Float */
    color: #598f81; }
  code .ch {
    /* Char */
    color: #598f81; }
  code .st {
    /* String */
    color: #598f81; }
  code .co {
    /* Comment */
    color: #60a0b0;
    font-style: italic; }
  code .ot {
    /* Other */ }
  code .al {
    /* Alert */
    color: #ff0000;
    font-weight: bold; }
  code .fu {
    /* Function */
    color: #06287e; }
  code .er {
    /* Error */
    color: #ff0000;
    font-weight: bold; }
  code .wa {
    /* Warning */
    color: #60a0b0;
    font-weight: bold;
    font-style: italic; }
  code .cn {
    /* Constant */
    color: #880000; }
  code .sc {
    /* SpecialChar */
    color: #4070a0; }
  code .vs {
    /* VerbatimString */
    color: #4070a0; }
  code .ss {
    /* SpecialString */
    color: #bb6688; }
  code .im {
    /* Import */ }
  code .va {
    /* Variable */
    color: #19177c; }
  code .cf {
    /* ControlFlow */
    color: #8bba7b;
    font-weight: bold; }
  code .op {
    /* Operator */
    color: #666666; }
  code .bu {
    /* BuiltIn */ }
  code .ex {
    /* Extension */ }
  code .pp {
    /* Preprocessor */
    color: #bc7a00; }
  code .at {
    /* Attribute */
    color: #7d9029; }
  code .do {
    /* Documentation */
    color: #ba2121;
    font-style: italic; }
  code .an {
    /* Annotation */
    color: #60a0b0;
    font-weight: bold;
    font-style: italic; }
  code .cv {
    /* CommentVar */
    color: #60a0b0;
    font-weight: bold;
    font-style: italic; }
  code .in {
    /* Information */
    color: #60a0b0;
    font-weight: bold;
    font-style: italic; }

/* Layout */
body {
  font-family: 'Lato','sans-serif';
  box-sizing: border-box;
  color: #333333;
  margin: 0;
  padding-top: 3em;
  overflow-x: hidden; }

header {
  z-index: 100;
  min-height: 3em;
  max-height: 6em;
  width: 100%;
  background: white;
  top: 0;
  position: absolute;
  -webkit-transition: box-shadow 0.3s ease-in-out, top 0.3s ease-in-out;
  transition: box-shadow 0.3s ease-in-out, top 0.3s ease-in-out; }
  header.affixed {
    position: fixed;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3); }
  header.hide {
    position: fixed;
    top: -6em; }
  header.insta-hide {
    top: -6em;
    -webkit-transition: none !important;
    transition: none !important; }

nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  margin: 0 auto;
  max-width: 740px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap; }
  nav h1 {
    font-size: 1.4rem;
    margin: 10px 0 0 20px; }
  nav ul {
    padding-left: 10px;
    list-style-type: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; }
  nav .fa {
    color: #666666; }
    nav .fa:hover {
      color: #8bba7b; }
  nav li {
    margin: 0 10px;
    font-weight: 300; }
  nav a {
    color: #333333;
    background-image: none; }
    nav a:hover {
      background-image: none; }

footer {
  margin-top: -20px;
  margin-left: 1px;
  background-image: url("/static/images/roots.gif"), -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 10%, rgba(0, 0, 0, 0.5) 100%);
  background-image: url("/static/images/roots.gif"), linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.1) 10%, rgba(0, 0, 0, 0.5) 100%);
  background-position: center 0;
  background-size: 1500px 1113px;
  -ms-interpolation-mode: nearest-neighbor;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: -moz-crisp-edges;
      image-rendering: pixelated;
  background-repeat: no-repeat;
  height: 1000px; }

main {
  margin: 0 auto;
  max-width: 700px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column; }
  @media screen and (max-width: 720px) {
    main {
      padding: 0 10px; } }

article {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 10px; }

date {
  text-align: right;
  font-weight: 300; }

date + ul {
  margin-left: 2em; }
  date + ul li {
    font-family: 'Lato','sans-serif';
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.5rem; }
  date + ul a {
    background-image: none; }
  date + ul:before {
    content: 'CONTENTS';
    margin: 1rem 0;
    display: inline-block;
    left: 50%;
    font-size: 2em; }
  date + ul:after {
    content: '§';
    display: inline-block;
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
    margin-left: -43px;
    font-size: 5em;
    left: 50%;
    position: relative;
    color: #280638; }

.preface {
  margin-top: 20px; }

section.footnotes hr {
  border: solid 1px #eeeeee; }

section.footnotes.hidden {
  height: 0; }
  section.footnotes.hidden hr {
    display: none; }
  section.footnotes.hidden a {
    background-position: 0 19px; }
  section.footnotes.hidden li {
    position: absolute;
    color: #666666; }
    section.footnotes.hidden li p, section.footnotes.hidden li pre {
      font-size: 1rem;
      width: 90%; }

.card-container {
  background-color: #c0ddfb;
  margin: 20px 0;
  border-radius: 4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column; }
  @media screen and (max-width: 720px) {
    .card-container {
      margin: 10px; } }

.projects {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; }

.posts {
  position: relative; }

.tree-background {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column; }

.tree-top {
  background-image: url("/static/images/tree-top.gif");
  background-position: center -50px;
  background-size: 1050px 892px;
  -ms-interpolation-mode: nearest-neighbor;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: -moz-crisp-edges;
      image-rendering: pixelated;
  background-repeat: no-repeat;
  height: 842px; }

.tree-middle {
  background-image: url("/static/images/tree-middle.gif");
  background-position: center 0;
  background-size: 1050px 1278px;
  -ms-interpolation-mode: nearest-neighbor;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: -moz-crisp-edges;
      image-rendering: pixelated;
  height: calc(100% - 892px);
  background-repeat: repeat-y; }

.tree-bottom {
  background-image: url("/static/images/tree-bottom.gif");
  background-position: center 0;
  background-size: 1050px 600px;
  -ms-interpolation-mode: nearest-neighbor;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: -moz-crisp-edges;
      image-rendering: pixelated;
  background-repeat: no-repeat;
  height: 400px; }

.tree-trunk {
  background-image: url("/static/images/tree-trunk.gif");
  background-position: center 0;
  background-size: 1050px 16px;
  -ms-interpolation-mode: nearest-neighbor;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: -moz-crisp-edges;
      image-rendering: pixelated;
  background-repeat: repeat-y;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1; }

.tree-content {
  z-index: 2;
  position: relative;
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column; }

.card {
  background: white;
  border: solid 1px #eeeeee;
  padding: 0 14px;
  margin: 20px;
  border-radius: 4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column; }
  .card figure {
    height: 200px;
    overflow: hidden;
    margin: 10px 0;
    padding: 0; }
    .card figure img {
      position: relative;
      top: 50%;
      -webkit-transform: translateY(-50%);
              transform: translateY(-50%); }
  .card h2, .card h3 {
    margin: 14px 0;
    position: relative;
    z-index: 10; }
  .card a, .card a:hover {
    background-image: none; }
  .card .keep-reading {
    color: #666666;
    font-size: 1.0rem;
    font-weight: 300;
    margin: 0 20px 14px; }
  .card a:hover.keep-reading {
    color: #8bba7b; }
  .card date {
    text-align: right;
    margin: 14px 0 0 0; }
  .card p, .card li, .card dt, .card dd {
    margin-top: 14px;
    margin-bottom: 14px;
    font-size: 1.2rem;
    line-height: 1.5em; }
  .card dt {
    margin-bottom: 0; }
  .card ul {
    margin: 0; }
    .card ul li {
      margin: 0; }

.card > p, .card li, .card dt, .card dd, .card-left > p, .card-left li, .card-left dt, .card-left dd, .card-right > p, .card-right li, .card-right dt, .card-right dd {
  margin-top: 0; }
  .card > p a, .card li a, .card dt a, .card dd a, .card-left > p a, .card-left li a, .card-left dt a, .card-left dd a, .card-right > p a, .card-right li a, .card-right dt a, .card-right dd a {
    background-position: 0 24px;
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.8) 25%, transparent 25%);
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 25%, transparent 25%); }
    .card > p a:hover, .card li a:hover, .card dt a:hover, .card dd a:hover, .card-left > p a:hover, .card-left li a:hover, .card-left dt a:hover, .card-left dd a:hover, .card-right > p a:hover, .card-right li a:hover, .card-right dt a:hover, .card-right dd a:hover {
      background-image: -webkit-linear-gradient(top, #8bba7b 25%, transparent 25%);
      background-image: linear-gradient(to bottom, #8bba7b 25%, transparent 25%); }

.segmented-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row; }
  @media screen and (max-width: 720px) {
    .segmented-card {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column; } }
  .segmented-card .card-left, .segmented-card .card-right {
    width: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column; }
    @media screen and (max-width: 720px) {
      .segmented-card .card-left, .segmented-card .card-right {
        width: 100%; } }
    .segmented-card .card-left img, .segmented-card .card-right img {
      display: block;
      margin: auto; }

a.preview,
a:hover.preview {
  display: block;
  color: #333333; }

.full-card {
  width: 100%; }

.half-card {
  width: 40%; }
  @media screen and (max-width: 720px) {
    .half-card {
      width: 100%; } }

.preface {
  font-size: 1.3rem;
  font-weight: 300;
  text-align: center; }

/* Typography */
p, main li, dd, dt {
  font-family: 'Amiri','serif';
  font-size: 1.3rem;
  line-height: 1.7em;
  margin: 0.7em 0; }

h1, h2, h3, h4, h5, h6 {
  margin: 1.0em 0 0.7em;
  font-weight: 400; }

dt {
  font-weight: 700; }

dd {
  margin-left: 10px; }

h1 {
  font-size: 2.4em;
  font-weight: 300; }

h2 {
  font-size: 2em; }

h3 {
  font-size: 1.5em; }

h1 + h2 {
  margin: 0.8em 0; }

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

.footnoteRef {
  padding-left: 1px;
  background-image: none; }
  .footnoteRef sup:before {
    content: '[';
    font-size: 80%;
    vertical-align: top; }
  .footnoteRef sup:after {
    content: ']';
    font-size: 80%;
    vertical-align: top; }

a {
  color: #280638;
  background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.8) 25%, transparent 25%);
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 25%, transparent 25%);
  background-position: 0 25px;
  background-size: 2px 2px;
  background-repeat: repeat-x;
  text-decoration: none; }
  a:hover {
    color: #8bba7b;
    background-image: -webkit-linear-gradient(top, #8bba7b 25%, transparent 25%);
    background-image: linear-gradient(to bottom, #8bba7b 25%, transparent 25%); }

blockquote {
  border-left: 10px solid #eeeeee;
  margin: 1.5em 10px;
  padding: 2px 10px; }

/* Figures */
figure {
  text-align: center;
  padding: 1em 0 1.4em 0;
  margin: 10px; }
  figure img {
    max-width: 100%;
    height: auto; }

figcaption {
  font-style: italic;
  font-weight: 300;
  color: #666666;
  padding-top: 0.6em;
  font-size: 1.1rem; }
  figcaption a {
    background-position: 0 19px; }

/* Code */
code, pre {
  font-family: 'Inconsolata', 'monospace';
  background-color: #fafafa;
  border: 1px solid #eeeeee; }

code {
  padding: 0 3px 2px; }

pre {
  margin: 0 auto;
  width: 620px;
  padding: 10px;
  overflow-x: auto; }

pre code {
  border: 0;
  padding: 0; }
