/***************/
/* MEYER RESET */
/***************/
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,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/**************/
/* BASE RULES */
/**************/
html {
  font-size: 100%;
}

body {
  background: #fff;
  font: 16px/23px "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #777;
  -webkit-font-smoothing: antialiased;
}

.container {
  margin: 0 auto;
  max-width: 980px;
  padding: 0 10px;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #555;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  padding: 0;
}
@media screen and (max-width: 640px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.4;
  }
}

h1 {
  font-size: 60px;
  margin: 60px 0;
}
h1 a {
  color: #d42;
}
h1 a:hover {
  color: #c30;
}

.post h1 {
  font-size: 60px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

#home .post {
  width: 220px;
  float: left;
  margin: 0 20px 0 0;
  height: 360px;
  overflow: hidden;
}
@media screen and (max-width: 640px) {
  #home .post {
    margin: 0 20px;
    width: 300px;
  }
}

#home .post h1 {
  font-size: 24px;
  line-height: 1.2;
  min-height: 60px;
  margin: 0 0 12px;
  letter-spacing: normal;
  font-weight: 700;
}

#home h1.site-name {
  font-size: 90px;
  font-weight: 700;
  max-width: 300px;
  margin-top: 30px;
}
#home h1.site-name a {
  color: #555;
}
@media screen and (max-width: 640px) {
  #home h1.site-name {
    margin: 30px 20px 0;
  }
}

h2 {
  font-size: 24px;
  margin: 48px 0 12px;
}

h3 {
  font-size: 20px;
  margin: 40px 0 10px;
}

h4 {
  font-size: 18px;
  color: #777;
  margin: 36px 0 9px;
}

p {
  margin: 15px 0;
}

#home p.site-description {
  font-size: 30px;
  font-weight: 300;
  line-height: 40px;
  max-width: 310px;
  margin-bottom: 120px;
}
@media screen and (max-width: 640px) {
  #home p.site-description {
    margin: 30px 20px 60px 20px;
  }
}

#home .entry p {
  color: #777;
}

#article-page .entry p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  line-height: 28px;
  max-width: 720px;
  color: #555;
}

a {
  color: #d42;
  text-decoration: none;
  cursor: pointer;
}
a:hover, a:active {
  color: #c30;
}

ul,
ol {
  margin: 15px 0;
  padding-left: 30px;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

ol ul,
ul ol,
ul ul,
ol ol {
  margin: 0;
}

ul ul,
ol ul {
  list-style-type: circle;
}

em,
i {
  font-style: italic;
}

strong,
b {
  font-weight: bold;
  color: #555;
}

img {
  max-width: 100%;
}

.date {
  font-size: 60%;
  color: #777;
  margin-bottom: 60px;
}

::-moz-selection {
  color: #000;
  background: #ccc;
}

::selection {
  color: #000;
  background: #ccc;
}

.clearfix:before,
.clearfix:after {
  content: ' ';
  display: table;
}

.clearfix:after {
  clear: both;
}

/*********************/
/* LAYOUT / SECTIONS */
/*********************/
.content-wrapper {
  min-height: 600px;
}

.masthead {
  padding: 20px 0 0;
  border-bottom: 1px solid #ccc;
}
@media screen and (max-width: 640px) {
  .masthead {
    text-align: center;
  }
}

.site-avatar {
  float: left;
  width: 70px;
  height: 70px;
  margin-right: 15px;
}
@media screen and (max-width: 640px) {
  .site-avatar {
    float: none;
    display: block;
    margin: 0 0 0 10px;
  }
}
.site-avatar img {
  border-radius: 5px;
}

.site-info {
  float: left;
}
@media screen and (max-width: 640px) {
  .site-info {
    float: none;
    display: block;
    margin: 0 auto;
  }
}

.site-name {
  margin: 0;
  color: #555;
  cursor: pointer;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 28px;
}

.site-description {
  margin: -5px 0 0 0;
  font-size: 14px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@media screen and (max-width: 640px) {
  .site-description {
    margin: 3px 0;
  }
}

nav {
  float: right;
  margin-top: 23px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
}
@media screen and (max-width: 640px) {
  nav {
    float: none;
    margin-top: 9px;
    display: block;
  }
}
nav a {
  margin-left: 20px;
  color: #000;
  width: 225px;
  display: block;
  float: right;
}
@media screen and (max-width: 640px) {
  nav a {
    display: inline-block;
    float: none;
    margin: 0 10px;
    color: #555;
    width: 150px;
    text-align: left;
  }
}

@media screen and (max-width: 640px) {
  article {
    margin: 0 20px;
  }
}

.post img {
  margin: 30px 0;
}
.post blockquote {
  margin: 1.8em 0.8em;
  border-left: 1px dotted #777;
  padding: 0.1em 1em;
  color: #777;
}
.post .eyebrow {
  font-size: 12px;
  line-height: 30px;
  color: #555;
  padding-top: 3px;
  margin-bottom: 3px;
  border-top: 1px solid #999;
}
.post .comments {
  margin-top: 10px;
}
.post .small-link {
  font-size: 11px;
  color: #999;
  display: block;
}
.post .small-link:hover {
  color: #d42;
}
.post .large-link {
  font-size: 20px;
  color: #d42;
  font-weight: 500;
}
.post .primary-link {
  color: #000;
  font-size: 13px;
  font-weight: 500;
}
.post .spacer {
  padding-right: 8px;
  margin-right: 8px;
  border-right: 1px solid #ccc;
}

.wrapper-footer {
  margin-top: 50px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background-color: #ccc;
}

footer {
  padding: 20px 0;
  text-align: center;
}

/*********************/
/* NEWSLETTER SIGNUP */
/*********************/
#updates {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #777777;
}

.form-container {
  margin-left: 0;
  margin-right: 0;
  width: 680px;
  max-width: 640px !important;
}

.emailoctopus-form-wrapper,
.form-container {
  width: 640px;
}

/***********************/
/* SYNTAX HIGHLIGHTING */
/***********************/
.highlight {
  background-color: #333;
  padding: 5px 10px;
  margin: 20px 0;
}

.highlight pre {
  /* overflow: scroll; Prefer no word wrap? Uncomment this line and comment out the 2 lines below. */
  word-break: break-all;
  word-wrap: break-word;
}

code {
  font-family: 'Courier', monospace;
  font-size: 14px;
  color: #999;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Generic.Deleted */
.highlight .gd {
  color: #2AA198;
}

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

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

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

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

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

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

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

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

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

/* Keyword.Constant */
.highlight .kc {
  color: #CB4B16;
}

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

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

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

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

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

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

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

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

/* Name.Attribute */
.highlight .na {
  color: #93A1A1;
}

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

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

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

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

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

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

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

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

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

/* Name.Other */
.highlight .nx {
  color: #555;
}

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

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

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

/* Operator.Word */
.highlight .ow {
  color: #859900;
}

/* Text.Whitespace */
.highlight .w {
  color: #93A1A1;
}

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

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

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

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

/* Literal.String.Backtick */
.highlight .sb {
  color: #586E75;
}

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

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

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

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

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

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

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

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

/* Literal.String.Single */
.highlight .s1 {
  color: #2AA198;
}

/* Literal.String.Symbol */
.highlight .ss {
  color: #2AA198;
}

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

/* Name.Variable.Class */
.highlight .vc {
  color: #268BD2;
}

/* Name.Variable.Global */
.highlight .vg {
  color: #268BD2;
}

/* Name.Variable.Instance */
.highlight .vi {
  color: #268BD2;
}

/* Literal.Number.Integer.Long */
.highlight .il {
  color: #2AA198;
}
