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,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-family: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

body {
  line-height: 1;
  color: #000;
  background: #fff;
}

ol,
ul {
  list-style: none;
}

table {
  border-collapse: separate;
  border-spacing: 0;
  vertical-align: middle;
}

caption,
th,
td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

a img {
  border: none;
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

input,
button {
  margin: 0;
  padding: 0;
}

input::-moz-focus-inner,
button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  background: #eee;
  font: 1em Georgia, "Times New Roman", serif;
  -webkit-text-size-adjust: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: box;
  display: flex;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  flex-direction: column;
}

.clear {
  clear: both;
}

#main {
  -webkit-box-flex: 1;
  -ms-box-flex: 1;
  box-flex: 1;
  -ms-flex-positive: 1;
      flex-grow: 1;
  padding: 1em;
}

@media (max-width: 70ch) {
  #main {
    padding: 0;
  }
}

html {
  font-size: 16px;
}

@media (max-width: 56ch) {
  html {
    font-size: 12px;
  }
}

@media (max-width: 42ch) {
  html {
    font-size: 10px;
  }
}

.article-category-link,
.archive-year {
  text-decoration: none;
  color: #000;
  margin-bottom: 1em;
  margin-left: 5px;
  line-height: 1em;
  text-shadow: 0 1px #fff;
  font-weight: bold;
}

article,
.archive-article-inner {
  background: #fff;
  box-shadow: 1px 2px 3px #ddd;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.article-entry h1 {
  font-size: 2em;
}

.article-entry h2 {
  font-size: 1.5em;
}

.article-entry h3 {
  font-size: 1.3em;
}

.article-entry h4 {
  font-size: 1.2em;
}

.article-entry h5 {
  font-size: 1em;
}

.article-entry h6 {
  font-size: 1em;
  color: #999;
}

.article-entry hr {
  border: 1px dashed #ddd;
}

.article-entry strong {
  font-weight: bold;
}

.article-entry em,
.article-entry cite {
  font-style: italic;
}

.article-entry sup,
.article-entry sub {
  font-size: 0.75em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

.article-entry sup {
  top: -0.5em;
}

.article-entry sub {
  bottom: -0.2em;
}

.article-entry small {
  font-size: 0.85em;
}

.article-entry acronym,
.article-entry abbr {
  border-bottom: 1px dotted;
}

.article-entry ul,
.article-entry ol,
.article-entry dl {
  margin: 0 20px;
  line-height: 1.8em;
}

.article-entry ul ul,
.article-entry ol ul,
.article-entry ul ol,
.article-entry ol ol {
  margin-top: 0;
  margin-bottom: 0;
}

.article-entry ul {
  list-style: disc;
}

.article-entry ol {
  list-style: decimal;
}

.article-entry dt {
  font-weight: bold;
}

#header {
  position: relative;
  border-bottom: 1px solid #ddd;
}

#header-outer {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: box;
  display: flex;
  flex-pack: center;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
  margin: 0;
  padding: 0;
}

#header-inner {
  position: relative;
  overflow: hidden;
  background-color: #000;
  padding: 1em 1em;
  margin: 0;
  -webkit-box-flex: 1;
  box-flex: 1;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}

#banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("images/backgroundtile.png") #000;
  z-index: -1;
}

#header-title {
  background-image: url("images/banner.svg");
  background-size: 100% 100%;
  width: 100%;
  min-height: 25vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: box;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0;
}

#logo {
  text-decoration: none;
  color: #482d12;
  font-family: "Zapfino", serif;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

#logo {
  font-size: 3vw;
}

#main-nav {
  float: left;
}

.main-nav-link {
  float: left;
  color: #fff;
  opacity: 0.6;
  text-decoration: none;
  text-shadow: 0 1px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s;
  display: block;
  padding: 0 15px;
  font-weight: 300;
  letter-spacing: 1px;
}

.main-nav-link:hover {
  opacity: 1;
}

#sub-nav {
  float: right;
}

article {
  margin: 0 auto 1em;
  padding: 1em;
  overflow: hidden;
  max-width: 60em;
}

.article-meta {
  text-decoration: none;
  text-shadow: 0 1px #fff;
  font-weight: bold;
  text-align: right;
}

.article-date {
  text-decoration: none;
  color: #000;
}

.article-category {
  float: left;
  line-height: 1em;
  color: #ccc;
  text-shadow: 0 1px #fff;
  margin-left: 8px;
}

.article-category:before {
  content: "\2022";
}

.article-category-link {
  margin: 0 12px 1em;
}

.article-header {
  padding: 20px 20px 0;
  text-align: center;
  max-width: 80%;
  margin: auto;
}

.article-title {
  text-decoration: none;
  font-size: 2em;
  font-weight: bold;
  color: #555;
  line-height: 1.6em;
  transition: color 0.2s;
}

a.article-title:hover {
  color: #258fb8;
}

.article-entry {
  color: #555;
  padding: 0 20px;
}

.article-entry:before,
.article-entry:after {
  content: "";
  display: table;
}

.article-entry:after {
  clear: both;
}

@media (max-width: 70ch) {
  .article-entry {
    padding: 0;
  }
}

.article-entry p,
.article-entry table {
  line-height: 1.8em;
  margin: 1.8em 0;
}

.article-entry h1,
.article-entry h2,
.article-entry h3,
.article-entry h4,
.article-entry h5,
.article-entry h6 {
  text-align: center;
  font-weight: bold;
  line-height: 1.6em;
  margin: 1.6em 0;
}

.article-entry a {
  color: #258fb8;
}

.article-entry ul,
.article-entry ol,
.article-entry dl {
  margin-top: 1.8em;
  margin-bottom: 1.8em;
}

.article-entry img,
.article-entry video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

.article-entry iframe {
  border: none;
}

.article-entry table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.article-entry th {
  font-weight: bold;
  border-bottom: 3px solid #ddd;
  padding-bottom: 0.5em;
}

.article-entry td {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.article-entry blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4em;
  margin: 1.8em 20px;
  padding-left: 3em;
  text-align: left;
  border-left: 1px solid #808080;
}

.article-entry blockquote h1,
.article-entry blockquote h2,
.article-entry blockquote h3,
.article-entry blockquote h4,
.article-entry blockquote h5,
.article-entry blockquote h6 {
  text-align: left;
  margin-bottom: 0;
}

.article-entry blockquote footer {
  font-size: 1em;
  margin: 1.8em 0;
  font-family: Georgia, "Times New Roman", serif;
}

.article-entry blockquote footer cite:before {
  content: "—";
  padding: 0 0.5em;
}

.article-entry .pullquote {
  text-align: left;
  width: 45%;
  margin: 0;
}

.article-entry .pullquote.left {
  margin-left: 0.5em;
  margin-right: 1em;
}

.article-entry .pullquote.right {
  margin-right: 0.5em;
  margin-left: 1em;
}

.article-entry .caption {
  color: #999;
  display: block;
  font-size: 0.9em;
  margin-top: 0.5em;
  position: relative;
  text-align: center;
}

.article-entry .video-container {
  position: relative;
  padding-top: 56.25%;
  height: 0;
  overflow: hidden;
}

.article-entry .video-container iframe,
.article-entry .video-container object,
.article-entry .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-top: 0;
}

.article-more-link a {
  display: inline-block;
  line-height: 1em;
  padding: 6px 15px;
  border-radius: 15px;
  background: #eee;
  color: #999;
  text-shadow: 0 1px #fff;
  text-decoration: none;
}

.article-more-link a:hover {
  background: #258fb8;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px #1e7293;
}

.article-footer {
  font-size: 0.85em;
  line-height: 1.8em;
  border-top: 1px solid #ddd;
  padding-top: 1.8em;
  margin: 0 20px 20px;
}

.article-footer:before,
.article-footer:after {
  content: "";
  display: table;
}

.article-footer:after {
  clear: both;
}

.article-footer a {
  color: #999;
  text-decoration: none;
}

.article-footer a:hover {
  color: #555;
}

#article-nav {
  position: relative;
}

#article-nav:before,
#article-nav:after {
  content: "";
  display: table;
}

#article-nav:after {
  clear: both;
}

.article-nav-link-wrap {
  text-decoration: none;
  text-shadow: 0 1px #fff;
  color: #999;
  box-sizing: border-box;
  margin-top: 50px;
  text-align: center;
  display: block;
}

.article-nav-link-wrap:hover {
  color: #555;
}

.article-nav-caption {
  letter-spacing: 2px;
  color: #ddd;
  line-height: 1em;
  font-weight: bold;
}

#article-nav-newer .article-nav-caption {
  margin-right: -2px;
}

.article-nav-title {
  font-size: 0.85em;
  line-height: 1.8em;
  margin-top: 0.5em;
}

.archives-wrap {
  margin: 50px 0;
}

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

.archives:after {
  clear: both;
}

.archive-year-wrap {
  margin-bottom: 1em;
}

.archive-article-inner {
  padding: 10px;
  margin-bottom: 15px;
}

.archive-article-title {
  text-decoration: none;
  font-weight: bold;
  color: #555;
  transition: color 0.2s;
  line-height: 1.8em;
}

.archive-article-title:hover {
  color: #258fb8;
}

.archive-article-footer {
  margin-top: 1em;
}

.archive-article-date {
  color: #999;
  text-decoration: none;
  font-size: 0.85em;
  line-height: 1em;
  margin-bottom: 0.5em;
  display: block;
}

#page-nav {
  margin: 50px auto;
  background: #fff;
  box-shadow: 1px 2px 3px #ddd;
  border: 1px solid #ddd;
  border-radius: 3px;
  text-align: center;
  color: #999;
  overflow: hidden;
}

#page-nav:before,
#page-nav:after {
  content: "";
  display: table;
}

#page-nav:after {
  clear: both;
}

#page-nav a,
#page-nav span {
  padding: 10px 20px;
  line-height: 1;
  height: 2ex;
}

#page-nav a {
  color: #999;
  text-decoration: none;
}

#page-nav a:hover {
  background: #999;
  color: #fff;
}

#page-nav .prev {
  float: left;
}

#page-nav .next {
  float: right;
}

#page-nav .page-number {
  display: inline-block;
}

#page-nav .current {
  color: #555;
  font-weight: bold;
}

#page-nav .space {
  color: #ddd;
}

#footer {
  background: #262a30;
  padding: 1em;
  text-align: center;
  border-top: 1px solid #ddd;
  color: #999;
}

#footer a {
  color: #258fb8;
  text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
}

.article-entry pre,
.article-entry .highlight {
  background: #2d2d2d;
  padding: 15px 20px;
  border-style: solid;
  border-color: #ddd;
  border-width: 1px 0;
  overflow: auto;
  color: #ccc;
  line-height: 1.8em;
}

.article-entry .highlight .gutter pre,
.article-entry .gist .gist-file .gist-data .line-numbers {
  color: #666;
  font-size: 0.85em;
}

.article-entry pre,
.article-entry code {
  font-family: "Triplicate T4c", "Source Code Pro", Consolas, Monaco, Menlo, Consolas, monospace;
}

.article-entry code {
  background: #eee;
  text-shadow: 0 1px #fff;
  padding: 0 0.3em;
}

.article-entry pre code {
  background: none;
  text-shadow: none;
  padding: 0;
}

.article-entry .highlight {
  margin: 0;
}

.article-entry .highlight pre {
  border: none;
  margin: 0;
  padding: 0;
}

.article-entry .highlight table {
  margin: 0;
  width: auto;
}

.article-entry .highlight td {
  border: none;
  padding: 0;
}

.article-entry .highlight figcaption {
  font-size: 0.85em;
  color: #999;
  line-height: 1em;
  margin-bottom: 1em;
}

.article-entry .highlight figcaption:before,
.article-entry .highlight figcaption:after {
  content: "";
  display: table;
}

.article-entry .highlight figcaption:after {
  clear: both;
}

.article-entry .highlight figcaption a {
  float: right;
}

.article-entry .highlight .gutter pre {
  text-align: right;
  padding-right: 20px;
}

.article-entry .highlight .line {
  height: 1.8em;
}

.article-entry .gist {
  margin: 0 -20px;
  border-style: solid;
  border-color: #ddd;
  border-width: 1px 0;
  background: #2d2d2d;
  padding: 15px 20px 15px 0;
}

.article-entry .gist .gist-file {
  border: none;
  font-family: "Triplicate T4c", "Source Code Pro", Consolas, Monaco, Menlo, Consolas, monospace;
  margin: 0;
}

.article-entry .gist .gist-file .gist-data {
  background: none;
  border: none;
}

.article-entry .gist .gist-file .gist-data .line-numbers {
  background: none;
  border: none;
  padding: 0 20px 0 0;
}

.article-entry .gist .gist-file .gist-data .line-data {
  padding: 0 !important;
}

.article-entry .gist .gist-file .highlight {
  margin: 0;
  padding: 0;
  border: none;
}

.article-entry .gist .gist-file .gist-meta {
  background: #2d2d2d;
  color: #999;
  font: 0.85em "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-shadow: 0 0;
  padding: 0;
  margin-top: 1em;
  margin-left: 20px;
}

.article-entry .gist .gist-file .gist-meta a {
  color: #258fb8;
  font-weight: normal;
}

.article-entry .gist .gist-file .gist-meta a:hover {
  text-decoration: underline;
}

pre .comment,
pre .title {
  color: #999;
}

pre .variable,
pre .attribute,
pre .tag,
pre .regexp,
pre .ruby .constant,
pre .xml .tag .title,
pre .xml .pi,
pre .xml .doctype,
pre .html .doctype,
pre .css .id,
pre .css .class,
pre .css .pseudo {
  color: #f2777a;
}

pre .number,
pre .preprocessor,
pre .built_in,
pre .literal,
pre .params,
pre .constant {
  color: #f99157;
}

pre .class,
pre .ruby .class .title,
pre .css .rules .attribute {
  color: #9c9;
}

pre .string,
pre .value,
pre .inheritance,
pre .header,
pre .ruby .symbol,
pre .xml .cdata {
  color: #9c9;
}

pre .css .hexcolor {
  color: #6cc;
}

pre .function,
pre .python .decorator,
pre .python .title,
pre .ruby .function .title,
pre .ruby .title .keyword,
pre .perl .sub,
pre .javascript .title,
pre .coffeescript .title {
  color: #69c;
}

pre .keyword,
pre .javascript .function {
  color: #c9c;
}

:-webkit-full-screen {
  color: blue;
}

:-moz-full-screen {
  color: blue;
}

:-ms-fullscreen {
  color: blue;
}

:fullscreen {
  color: blue;
}
