/*
  Most of these imports are derived from https://github.com/poole/poole.
  Designed, built, and released under MIT license by @mdo.
*/
* {
  box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0; }

html {
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  line-height: 1.5; }
  @media (min-width: 49rem) {
    html {
      font-size: 1.25rem; } }

body {
  text-size-adjust: 100%; }

main,
article,
section {
  display: block; }

a {
  color: #bc3b1b;
  text-decoration: none; }
  a:hover, a:focus {
    text-decoration: underline; }
  a strong {
    color: inherit; }

img {
  border-radius: 5px;
  display: block;
  height: auto;
  margin: 0 0 1rem;
  max-width: 100%; }

table {
  border: 1px solid #e5e5e5;
  border-collapse: collapse;
  font-size: 85%;
  margin-bottom: 1rem;
  width: 100%; }

td,
th {
  border: 1px solid #e5e5e5;
  padding: 0.25rem 0.5rem; }

th {
  text-align: left; }

tbody tr:nth-child(odd) td,
tbody tr:nth-child(odd) th {
  background-color: #f9f9f9; }

button,
input[type='text'],
input[type='email'],
input[type='search'],
input[type='submit'] {
  border: 1px solid #e5e5e5;
  border-radius: 300px;
  padding: 1em 1.5em; }

button,
input[type='submit'] {
  background: transparent;
  border-color: #e5e5e5;
  color: #bc3b1b;
  cursor: pointer;
  transition: color 0.6s ease-in-out, border-color 0.6s ease-in-out, background 0.6s ease-in-out; }
  button:hover,
  input[type='submit']:hover {
    background: #bc3b1b;
    border-color: #bc3b1b;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.16);
    color: #fff; }

.video-container {
  overflow: hidden;
  position: relative;
  width: 100%; }

.video-container::after {
  padding-top: 56.25%;
  display: block;
  content: ''; }

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

h1,
h2,
h3,
h4,
h5,
h6,
.site-title {
  color: #313131;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  text-rendering: optimizeLegibility; }

h1 {
  font-size: 2rem; }

h2 {
  font-size: 1.5rem;
  margin-top: 1rem; }

h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem; }

h4,
h5,
h6 {
  font-size: 1rem;
  margin-top: 1rem; }

p {
  margin-bottom: 1rem;
  margin-top: 0; }

strong {
  color: #303030; }

ul,
ol,
dl {
  margin-bottom: 1rem;
  margin-top: 0; }

dt {
  font-weight: bold; }

dd {
  margin-bottom: 0.5rem; }

hr {
  border: 0;
  border-bottom: 1px solid #fff;
  border-top: 1px solid #eee;
  margin: 1.5rem 0;
  position: relative; }

abbr {
  color: #555;
  font-size: 85%;
  font-weight: bold;
  text-transform: uppercase; }
  abbr[title] {
    border-bottom: 1px dotted #e5e5e5;
    cursor: help; }

blockquote {
  border-left: 0.25rem solid #e5e5e5;
  color: #7a7a7a;
  margin: 0.8rem 0;
  padding: 0.5rem 1rem; }
  blockquote p:last-child {
    margin-bottom: 0; }
  @media (min-width: 30em) {
    blockquote {
      padding-left: 1.25rem;
      padding-right: 5rem; } }

a[href^='#fn:'],
a[href^='#fnref:'] {
  display: inline-block;
  font-weight: bold;
  margin-left: 0.1rem; }

.footnotes {
  font-size: 85%;
  margin-top: 2rem; }

.lead {
  font-size: 1.25rem;
  font-weight: 300; }

a svg {
  fill: #bc3b1b; }

a svg,
.icon svg {
  height: 1em; }

.icon {
  vertical-align: middle; }

.highlight .hll {
  background-color: #ffc; }

.highlight .c {
  color: #999; }

/* Comment */
.highlight .err {
  /* Error */
  background-color: #faa;
  color: #a00; }

.highlight .k {
  color: #069; }

/* Keyword */
.highlight .o {
  color: #555; }

/* Operator */
.highlight .cm {
  /* Comment.Multiline */
  color: #09f;
  font-style: italic; }

.highlight .cp {
  color: #099; }

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

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

/* Comment.Special */
.highlight .gd {
  /* Generic.Deleted */
  background-color: #fcc;
  border: 1px solid #c00; }

.highlight .ge {
  font-style: italic; }

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

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

/* Generic.Heading */
.highlight .gi {
  /* Generic.Inserted */
  background-color: #cfc;
  border: 1px solid #0c0; }

.highlight .go {
  color: #aaa; }

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

/* Generic.Prompt */
.highlight .gu {
  color: #030; }

/* Generic.Subheading */
.highlight .gt {
  color: #9c6; }

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

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

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

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

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

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

/* Keyword.Type */
.highlight .m {
  color: #f60; }

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

/* Literal.String */
.highlight .na {
  color: #4f9fcf; }

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

/* Name.Builtin */
.highlight .nc {
  color: #0a8; }

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

/* Name.Constant */
.highlight .nd {
  color: #99f; }

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

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

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

/* Name.Function */
.highlight .nl {
  color: #99f; }

/* Name.Label */
.highlight .nn {
  color: #0cf; }

/* Name.Namespace */
.highlight .nt {
  color: #2f6f9f; }

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

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

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

/* Text.Whitespace */
.highlight .mf {
  color: #f60; }

/* Literal.Number.Float */
.highlight .mh {
  color: #f60; }

/* Literal.Number.Hex */
.highlight .mi {
  color: #f60; }

/* Literal.Number.Integer */
.highlight .mo {
  color: #f60; }

/* Literal.Number.Oct */
.highlight .sb {
  color: #c30; }

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

/* Literal.String.Char */
.highlight .sd {
  /* Literal.String.Doc */
  color: #c30;
  font-style: italic; }

.highlight .s2 {
  color: #c30; }

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

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

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

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

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

/* Literal.String.Regex */
.highlight .s1 {
  color: #c30; }

/* Literal.String.Single */
.highlight .ss {
  color: #fc3; }

/* Literal.String.Symbol */
.highlight .bp {
  color: #366; }

/* Name.Builtin.Pseudo */
.highlight .vc {
  color: #033; }

/* Name.Variable.Class */
.highlight .vg {
  color: #033; }

/* Name.Variable.Global */
.highlight .vi {
  color: #033; }

/* Name.Variable.Instance */
.highlight .il {
  color: #f60; }

/* Literal.Number.Integer.Long */
.css .o,
.css .o + .nt,
.css .nt + .nt {
  color: #999; }

code,
pre {
  font-family: Menlo, Monaco, "Courier New", monospace; }

code {
  background-color: #f9f9f9;
  border-radius: 3px;
  color: #bf616a;
  font-size: 85%;
  padding: 0.25em 0.5em; }

pre {
  margin-bottom: 1rem;
  margin-top: 0;
  max-width: 100%;
  overflow-x: auto; }

pre code {
  background-color: transparent;
  color: inherit;
  font-size: 100%;
  padding: 0; }

.highlight {
  background-color: #f9f9f9;
  border-radius: 0.25rem;
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  padding: 1rem; }
  .highlight pre {
    margin-bottom: 0;
    overflow-x: auto; }
  .highlight .lineno {
    color: #999;
    display: inline-block;
    padding-left: 0.25rem;
    padding-right: 0.75rem;
    user-select: none; }

/*
  Layout

  Styles for managing the structural hierarchy of the site.
  Hydeout features the large colored sidebar from Hyde that houses the
  site name, intro, and "footer" content. Sidebar is on top of content on
  mobile and expands into sidebar on larger width displays.

  Sidebar CSS assumes HTML looks like this for post pages:

    body
    > #sidebar
      > header (primary sidebar content -- i.e. title)
        > h1 (home page only, otherwise div or span)
      > secondary nav content we may want to hide on certain pages
    > .container
      > h1 (non-home page)
      > .content

  Basic approach is to color in body, make sidebar background transparent,
  and then fill in the .container or .content elements depending on how far
  we want the sidebar or header to stretch.
*/
body {
  background-attachment: fixed;
  background-color: #bc3b1b;
  background-image: linear-gradient(to bottom, #db451f, #9d3117);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  min-height: 100vh; }

#sidebar {
  flex: 0 0 auto;
  padding: 1.5rem; }
  #sidebar .site-title {
    font-family: 'Abril Fatface', serif;
    font-size: 1.25rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
    margin-top: 0; }
  #sidebar .site-title .back-arrow {
    margin-right: 0.5rem; }

.content {
  background: #fff;
  color: #515151;
  padding: 1.5rem; }

.container {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column; }
  .container > .content {
    flex-grow: 1;
    padding-bottom: 3rem; }

/* -----------------------------------------------------------
  Mobile view
----------------------------------------------------------- */
#sidebar header ~ *,
#sidebar header ~ nav,
#sidebar p.lead {
  display: none; }

.container > header {
  background: transparent;
  color: #fff;
  margin: -1rem 1.5rem 1.5rem; }
  .container > header h1,
  .container > header h2 {
    color: inherit; }
  .container > header h1:last-child,
  .container > header h2:last-child {
    margin-bottom: 0; }

/* -----------------------------------------------------------
  Mobile view for home page)
----------------------------------------------------------- */
.home #sidebar {
  text-align: center; }
  .home #sidebar .site-title {
    font-size: 3.25rem; }
  .home #sidebar header ~ *,
  .home #sidebar p.lead {
    display: block; }
  .home #sidebar header ~ nav {
    display: flex; }
  .home #sidebar > *:last-child {
    margin-bottom: 0.5rem; }

/* -----------------------------------------------------------
  Tablet / Desktop view
----------------------------------------------------------- */
@media (min-width: 49rem) {
  body {
    flex-direction: row;
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto; }
    body > * {
      -webkit-overflow-scrolling: touch;
      overflow-y: auto; }

  /* Undo mobile CSS */
  #sidebar,
  .home #sidebar {
    text-align: left;
    width: 18rem; }
    #sidebar > *:last-child,
    .home #sidebar > *:last-child {
      margin-bottom: 0; }

  #sidebar {
    position: fixed;
    top: 0;
    left: 0; }
    #sidebar .site-title {
      font-size: 3.25rem; }
      #sidebar .site-title .back-arrow {
        display: none; }
    #sidebar p.lead,
    #sidebar header ~ * {
      display: block; }
    #sidebar header ~ nav {
      display: flex; }

  .index #sidebar {
    margin-bottom: 0; }

  .container {
    background: #fff;
    color: #515151;
    min-height: 100vh;
    padding: 3rem 3rem 0;
    margin-left: 18rem; }
    .container > header {
      color: #313131;
      margin: 0; }
      .container > header h1,
      .container > header h2 {
        color: inherit; }
        .container > header h1:last-child,
        .container > header h2:last-child {
          margin-bottom: 0.5rem; }
    .container > * {
      max-width: 38rem;
      padding: 0; } }
/* -----------------------------------------------------------
  Sidebar links + nav
----------------------------------------------------------- */
#sidebar a {
  color: #fff; }
  #sidebar a svg {
    fill: rgba(255, 255, 255, 0.85); }

#sidebar a:hover svg,
#sidebar a:focus svg,
#sidebar a.active svg {
  fill: rgba(255, 255, 255, 0.85); }

#sidebar a:hover,
#sidebar a:focus {
  text-decoration: underline; }
  #sidebar a:hover.icon,
  #sidebar a:focus.icon {
    text-decoration: none; }

#sidebar a.active {
  font-weight: bold; }

#sidebar .site-title {
  color: #fff; }
  #sidebar .site-title a {
    color: inherit; }

#sidebar nav {
  display: flex; }

#sidebar-nav-links {
  flex-flow: column nowrap; }

#sidebar-icon-links {
  flex-flow: row wrap;
  justify-content: center;
  margin-top: 1rem;
  max-width: 100%; }
  @media (min-width: 49rem) {
    #sidebar-icon-links {
      justify-content: flex-start;
      margin-left: -0.25em; } }

#sidebar nav > * {
  display: block;
  line-height: 1.75; }

#sidebar nav > .icon {
  display: inline-block;
  font-size: 1.5rem;
  margin: 0 0.25em; }

@media print {
  #sidebar {
    display: none; }

  body {
    display: block; }

  .container {
    display: block;
    margin-left: 0;
    margin-right: 0;
    padding: 0; }
    .container > * {
      max-width: 100%; }

  html {
    font-size: normal; } }
.masthead {
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  padding-top: 1rem; }

.masthead-title {
  color: #515151;
  margin-bottom: 0;
  margin-top: 0; }
  .masthead-title a {
    color: inherit; }
  .masthead-title small {
    font-size: 75%;
    font-weight: 400;
    opacity: 0.5; }

.posts-by-tag h2 {
  text-transform: capitalize; }

.page-title,
.post-title {
  margin-top: 0; }

.page-title,
.post-title,
.post-title a {
  color: #313131; }

h2.post-title,
h2.page-title {
  font-size: 2rem; }

.post-tags a {
  font-size: 0.8em;
  margin-right: 0.5rem;
  opacity: 0.75;
  white-space: nowrap; }
  .post-tags a .tag-name {
    text-transform: capitalize; }
  .post-tags a:hover {
    opacity: 1;
    text-decoration: none; }

.posts-list {
  list-style: none;
  padding-left: 0; }
  .posts-list h3 {
    margin-top: 0; }
  .posts-list li small {
    color: #999;
    font-size: 75%;
    white-space: nowrap; }
  .posts-list li a:hover {
    color: #bc3b1b;
    text-decoration: none; }
  .posts-list li a:hover small {
    color: inherit; }

article + *,
.post-body ~ section {
  border-top: 1px solid #e5e5e5;
  margin-top: 1.5rem;
  padding-top: 1.5rem; }
  article + * > h2:first-child,
  article + * > h3:first-child,
  .post-body ~ section > h2:first-child,
  .post-body ~ section > h3:first-child {
    margin-top: 0; }

.post-meta {
  color: #767676;
  margin-bottom: 1rem;
  margin-top: -0.5rem; }

.post .content li + li,
.page .content li + li {
  margin-top: 0.25rem; }

button.disqus-load {
  margin-top: 1em; }

/*
  Pagination

  Super lightweight (HTML-wise) blog pagination. Should only be visible
  when there is navigation available -- single buttons at top or bottom
  of each page.
*/
.pagination {
  color: #ccc;
  margin-bottom: 1.5rem;
  text-align: center; }
  .pagination > a {
    background: #fff;
    border: solid #e5e5e5;
    border-radius: 300px;
    border-width: 1px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.16);
    display: inline-block;
    max-width: 18rem;
    padding: 1em 1.5em;
    width: 60%; }
  .pagination > a:hover {
    background-color: #e5e5e5; }

* + .pagination {
  margin-top: 1.5rem; }

.content .pagination:first-child {
  margin-top: -3rem; }

.index #sidebar {
  padding-bottom: calc(1.5rem + 1em); }

.home.index #sidebar {
  padding-bottom: 1.5rem; }

@media (min-width: 49rem) {
  .pagination > a {
    box-shadow: none; }
    .pagination > a:hover {
      box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.16); }

  .content .pagination:first-child {
    margin-top: 0; }
    .content .pagination:first-child + * {
      border-top: 1px solid #e5e5e5;
      margin-top: 1.5rem;
      padding-top: 1.5rem; }

  .index #sidebar {
    padding-bottom: 1.5rem; } }
.message {
  background-color: #f9f9f9;
  color: #717171;
  margin-bottom: 1rem;
  padding: 1rem; }

.search-row {
  border: 1px solid #e5e5e5;
  border-radius: 300px;
  display: flex;
  padding: 2px; }
  .search-row input {
    border: 0; }
  .search-row input + input {
    margin-left: 2px; }
  .search-row input[type='text'],
  .search-row input[type='search'] {
    flex-grow: 1; }

.tags-list a {
  margin-right: 0.5em;
  opacity: 0.75;
  white-space: nowrap; }

.tags-list a .tag-count {
  background: #bc3b1b;
  border-radius: 1000px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75em;
  margin-left: 0.25em;
  padding-left: 0.6em;
  padding-right: 0.6em; }

.tags-list a:hover {
  opacity: 1;
  text-decoration: none; }

@keyframes posts-for-tag-fade-in {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }
.posts-for-tag {
  display: none; }
  .posts-for-tag:target {
    animation: posts-for-tag-fade-in 0.6s ease-in-out;
    display: block; }

.back-link {
  font-size: 80%; }
  .back-link a {
    color: currentColor; }
    .back-link a svg {
      fill: currentColor; }

body {
  background-image: none; }

#sidebar .site-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 300; }

#sidebar-icon-links {
  margin-left: 0em; }

@media (min-width: 49rem) {
  #sidebar {
    padding-top: 1rem;
    padding-left: 2rem;
    padding-right: 2rem; }

  .container {
    padding-top: 2rem;
    padding-left: 3rem;
    padding-right: 3rem; }

  #sidebar nav > .icon {
    margin: 0 0.25em 0 0; }

  .footnote {
    font-size: 0.8em; } }
