/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/** 1. Set default font family to sans-serif. 2. Prevent iOS text size adjust after orientation change, without disabling user zoom. */
html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ }

/** Remove default margin. */
body { margin: 0; }

/* HTML5 display definitions ========================================================================== */
/** Correct `block` display not defined for any HTML5 element in IE 8/9. Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox. Correct `block` display not defined for `main` in IE 11. */
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; }

/** 1. Correct `inline-block` display not defined in IE 8/9. 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. */
audio, canvas, progress, video { display: inline-block; /* 1 */ vertical-align: baseline; /* 2 */ }

/** Prevent modern browsers from displaying `audio` without controls. Remove excess height in iOS 5 devices. */
audio:not([controls]) { display: none; height: 0; }

/** Address `[hidden]` styling not present in IE 8/9/10. Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. */
[hidden], template { display: none; }

/* Links ========================================================================== */
/** Remove the gray background color from active links in IE 10. */
a { background-color: transparent; }

/** Improve readability when focused and also mouse hovered in all browsers. */
a:active, a:hover { outline: 0; }

/* Text-level semantics ========================================================================== */
/** Address styling not present in IE 8/9/10/11, Safari, and Chrome. */
abbr[title] { border-bottom: 1px dotted; }

/** Address style set to `bolder` in Firefox 4+, Safari, and Chrome. */
b, strong { font-weight: bold; }

/** Address styling not present in Safari and Chrome. */
dfn { font-style: italic; }

/** Address variable `h1` font-size and margin within `section` and `article` contexts in Firefox 4+, Safari, and Chrome. */
h1 { font-size: 2em; margin: 0.67em 0; }

/** Address styling not present in IE 8/9. */
mark { background: #ff0; color: #000; }

/** Address inconsistent and variable font size in all browsers. */
small { font-size: 80%; }

/** Prevent `sub` and `sup` affecting `line-height` in all browsers. */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }

sup { top: -0.5em; }

sub { bottom: -0.25em; }

/* Embedded content ========================================================================== */
/** Remove border when inside `a` element in IE 8/9/10. */
img { border: 0; }

/** Correct overflow not hidden in IE 9/10/11. */
svg:not(:root) { overflow: hidden; }

/* Grouping content ========================================================================== */
/** Address margin not present in IE 8/9 and Safari. */
figure { margin: 1em 40px; }

/** Address differences between Firefox and other browsers. */
hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; }

/** Contain overflow in all browsers. */
pre { overflow: auto; }

/** Address odd `em`-unit font size rendering in all browsers. */
code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; }

/* Forms ========================================================================== */
/** Known limitation: by default, Chrome and Safari on OS X allow very limited styling of `select`, unless a `border` property is set. */
/** 1. Correct color not being inherited. Known issue: affects color of disabled elements. 2. Correct font properties not being inherited. 3. Address margins set differently in Firefox 4+, Safari, and Chrome. */
button, input, optgroup, select, textarea { color: inherit; /* 1 */ font: inherit; /* 2 */ margin: 0; /* 3 */ }

/** Address `overflow` set to `hidden` in IE 8/9/10/11. */
button { overflow: visible; }

/** Address inconsistent `text-transform` inheritance for `button` and `select`. All other form control elements do not inherit `text-transform` values. Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. Correct `select` style inheritance in Firefox. */
button, select { text-transform: none; }

/** 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls. 2. Correct inability to style clickable `input` types in iOS. 3. Improve usability and consistency of cursor style between image-type `input` and others. */
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ }

/** Re-set default cursor for disabled elements. */
button[disabled], html input[disabled] { cursor: default; }

/** Remove inner padding and border in Firefox 4+. */
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/** Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet. */
input { line-height: normal; }

/** It's recommended that you don't attempt to style these elements. Firefox's implementation doesn't respect box-sizing, padding, or width.  1. Address box sizing set to `content-box` in IE 8/9/10. 2. Remove excess padding in IE 8/9/10. */
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ }

/** Fix the cursor style for Chrome's increment/decrement buttons. For certain `font-size` values of the `input`, it causes the cursor style of the decrement button to change from `default` to `text`. */
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; }

/** 1. Address `appearance` set to `searchfield` in Safari and Chrome. 2. Address `box-sizing` set to `border-box` in Safari and Chrome (include `-moz` to future-proof). */
input[type="search"] { -webkit-appearance: textfield; /* 1 */ -moz-box-sizing: content-box; -webkit-box-sizing: content-box; /* 2 */ box-sizing: content-box; }

/** Remove inner padding and search cancel button in Safari and Chrome on OS X. Safari (but not Chrome) clips the cancel button when the search input has padding (and `textfield` appearance). */
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/** Define consistent border, margin, and padding. */
fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }

/** 1. Correct `color` not being inherited in IE 8/9/10/11. 2. Remove padding so people aren't caught out if they zero out fieldsets. */
legend { border: 0; /* 1 */ padding: 0; /* 2 */ }

/** Remove default vertical scrollbar in IE 8/9/10/11. */
textarea { overflow: auto; }

/** Don't inherit the `font-weight` (applied by a rule above). NOTE: the default cannot safely be changed in Chrome and Safari on OS X. */
optgroup { font-weight: bold; }

/* Tables ========================================================================== */
/** Remove most spacing between table cells. */
table { border-collapse: collapse; border-spacing: 0; }

td, th { padding: 0; }

/* Solarized Theme */
.highlight .c { color: #586E75; }

/* Comment */
.highlight .err { color: #93A1A1; }

/* Error */
.highlight .g { color: #93A1A1; }

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

/* Keyword */
.highlight .l { color: #93A1A1; }

/* Literal */
.highlight .n { color: #93A1A1; }

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

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

/* Other */
.highlight .p { color: #93A1A1; }

/* Punctuation */
.highlight .cm { color: #586E75; }

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

/* Comment.Preproc */
.highlight .c1 { color: #586E75; }

/* Comment.Single */
.highlight .cs { color: #859900; }

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

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

/* Generic.Emph */
.highlight .gr { color: #DC322F; }

/* Generic.Error */
.highlight .gh { color: #CB4B16; }

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

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

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

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

/* Generic.Strong */
.highlight .gu { color: #CB4B16; }

/* Generic.Subheading */
.highlight .gt { color: #93A1A1; }

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

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

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

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

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

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

/* Keyword.Type */
.highlight .ld { color: #93A1A1; }

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

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

/* Literal.String */
.highlight .na { color: #93A1A1; }

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

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

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

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

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

/* Name.Entity */
.highlight .ne { color: #CB4B16; }

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

/* Name.Function */
.highlight .nl { color: #93A1A1; }

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

/* Name.Namespace */
.highlight .nx { color: #93A1A1; }

/* Name.Other */
.highlight .py { color: #93A1A1; }

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

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

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

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

/* 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: #586E75; }

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

/* Literal.String.Char */
.highlight .sd { color: #93A1A1; }

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

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

/* Literal.String.Escape */
.highlight .sh { color: #93A1A1; }

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

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

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

/* 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 */
.img--25 { width: 25%; }

.img--33 { width: 33%; }

.img--50 { width: 50%; }

.img--66 { width: 66%; }

.img--fill { width: 100%; vertical-align: top; }

.img--float { float: left; margin: 0 2em 2em 0; }

/* Global ----------------------------------------- */
:root { font-size: 16px; line-height: 1.5; font-family: "Merriweather", Georgia, serif; color: #525252; background-color: #fdfaf7; /* rgb(253, 250, 247) */ }

body { position: relative; margin: 0 auto; padding: 0 1em; padding: 0 5vw; max-width: 36em; }
@media (min-width: 600px) { body { font-size: 1.16em; } }
@media (min-width: 1800px) and (min-height: 1200px) { body { font-size: 1.24em; } }

a { text-decoration: none; color: #5c85d6; }
a:visited { color: #7a8fb8; }
a:hover { color: #85a3e0; }
a:active { color: #3366cc; }

b, strong { font-weight: 700; color: #333333; }

h1, h2, h3, h4, h5, h6 { font-weight: bold; color: #333333; }

h1 { font-weight: normal; line-height: 1.2; }

h3 + p { margin-top: .5em; }

li { margin: .5em 0; }

hr { width: 10em; margin: 3em auto; border: none; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }

blockquote { margin: 1.5em 0; padding: 0 1em; font-size: .9em; color: #8f8f8f; border-radius: 0 6px 6px 0; border-left: 4px solid #cccccc; }

img { max-width: 100%; }

figcaption { font-size: .8em; color: #8f8f8f; font-style: italic; margin-left: 1em; }

.Bread { margin: 4em 0; /* fallback */ margin: 12vmin 0; text-align: center; font-family: "Lato", sans-serif; font-weight: 300; color: #8f8f8f; }

.title--404 { font-size: 8em; text-align: center; margin: 0; }

.img--25 { width: 25%; }

.img--33 { width: 33%; }

.img--50 { width: 50%; }

.img--66 { width: 66%; }

.img--fill { width: 100%; vertical-align: top; }

.img--float { float: left; margin: 0 2em 2em 0; }

.Header-hamburger { display: none; }

.Header-title { margin: .25em 0; font-size: 1.75em; font-weight: inherit; letter-spacing: 1px; color: inherit; }

.Header-avatar { width: 64px; height: 64px; border-radius: 32px; vertical-align: top; }

.Header-description { margin: 0; }

.Nav { margin-top: 2em; }
.Nav:before, .Nav:after { content: ""; display: block; height: 1px; background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1), transparent); }

.Nav-group { display: inline-block; margin: 0 1em; }

.Nav-item { display: inline-block; padding: 1em .5em; line-height: 1; color: inherit; }
.Nav-item:visited { color: inherit; }
.Nav-item:hover { color: #525252; }
.Nav-item:active { color: #cccccc; }
.Nav-item.is-active { color: #333333; font-weight: 400; }

.Subnav { font-size: .9em; line-height: 2; margin: 4em 0; text-align: center; }
.Subnav a { color: inherit; }
.Subnav a:visited { color: #8f8f8f; }
.Subnav a:hover { color: #8f8f8f; }
.Subnav a:active { color: #cccccc; }

.Subnav-item { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.Subnav-pagination { margin-bottom: 4em; }

.Subnav-pagination-item { display: inline-block; -moz-box-sizing: border-box; box-sizing: border-box; margin: 0 1em; width: 3em; height: 3em; padding: 0 1em; font-size: 1.5em; line-height: 3em; border: 1px solid; border-radius: 3em; }

code { font-size: .9em; padding: .1em .4em; color: #9f8e60; border-radius: 3px; }

code, .highlight { border: 1px solid rgba(0, 0, 0, 0.08); background-color: #fffcf5; }

.highlight { display: block; position: relative; margin: 1em 0; padding: 1em; line-height: 1.3; border-radius: 6px; }
.highlight code { padding: 0; border-radius: 0; border: none; background: none; }
.highlight > pre { margin: 0; }
.highlight em { color: #545454; font-weight: bold; }

code[data-lang]:after { content: attr(data-lang); position: absolute; top: 0; right: 0; min-width: 1.5em; padding: 0em .6em; text-align: center; font-size: .75em; line-height: 1.6; text-transform: uppercase; font-family: "Lato", sans-serif; color: #a8a8a8; border-radius: 0 6px; border-left: 1px solid rgba(0, 0, 0, 0.05); border-bottom: 1px solid rgba(0, 0, 0, 0.05); background-color: rgba(0, 0, 0, 0.03); }

.Comments { margin: 0; padding: 0 2em; }
.Comments::before, .Comments::after { content: ""; display: block; margin: 4em 0; height: 1px; background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1), transparent); }

.Comments-tweet { text-align: center; }

.Footer a { outline: none; }

.Footer-logo { display: inline-block; margin: 4em 0 0 0; transition: -webkit-transform .4s; transition: transform .4s; }
.Footer-logo:hover { -webkit-transform: translateY(-6px); transform: translateY(-6px); transition-duration: .1s; }
.Footer-logo:active { -webkit-transform: translateY(20px); transform: translateY(20px); transition-duration: .1s; }

.Index { margin: 0; padding: 0; list-style: none; }

.Index-item { position: relative; clear: both; margin-bottom: 4em; }

.Index-title { margin: 0.2em 0; font-size: 1.6em; line-height: 1.3; }

.Index-date { color: #8f8f8f; font-weight: 300; }

.Index-description { margin: 0; font-weight: 300; font-size: 1em; color: #525252; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.Index-item--project { text-align: center; }
.Index-item--project .Index-title { font-size: inherit; margin-left: 1em; }
.Index-item--project .Index-title::after { content: " -"; color: #8f8f8f; }

.Index-item--lab { text-align: center; }

.Index-labImg { display: block; margin: 1em auto; width: 250px; height: 150px; border-radius: 6em; background-position: center; background-repeat: no-repeat; background-size: cover; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15), 0 1px 1px white; }

.Index-item--blog .Index-date { display: inline-block; margin-right: .5em; }
.Index-item--blog .Index-meta + p { display: inline; }

@media (min-width: 600px) { .Page.has-cols { font-size: .8em; -webkit-column-count: 2; column-count: 2; } }

.Page-col { -webkit-column-break-after: always; column-break-after: always; }

.video-wrapper { position: relative; max-width: 100%; height: auto; }

.video-wrapper .video { margin: 0; }

.video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.Article::after { content: ""; display: block; clear: both; }
.Article h2, .Article h3, .Article h4, .Article h5, .Article h6 { margin: 2em 0 0 0; }
.Article h2 { border-bottom: 1px dashed #cccccc; }
.Article iframe { margin: 1em 0; }

.Article-title { text-align: center; }

.Article-date { display: block; text-align: center; font-weight: 300; color: #8f8f8f; }

@media (max-width: 599px) { .Header-hamburger { display: block; position: absolute; top: 0; right: 1em; width: 64px; height: 64px; border-radius: 32px; background: url(../img/hamburger.svg) no-repeat center center; background-size: 40px; }
  .Header-hamburger:active { background-color: rgba(0, 0, 0, 0.1); }
  #top:target .Header-hamburger { opacity: 0; pointer-events: none; transition: opacity 1s ease-in; }
  .Header-target { position: absolute; visibility: hidden; opacity: 0; -webkit-transform: translateY(-50px); transform: translateY(-50px); }
  #top:target .Header-target { position: relative; visibility: visible; opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); transition: opacity 0.3s ease-out, -webkit-transform 0.2s cubic-bezier(0, 0.44, 0.195, 1.25); transition: opacity 0.3s ease-out, transform 0.2s cubic-bezier(0, 0.44, 0.195, 1.25); } }
@media (min-width: 600px) { .Header-target.is-post { display: none; } }
