body, h1, h2, h3, h4, h5, h6, p, blockquote, pre, hr, dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0; }

#page-header, #page-footer, #page-footer .attribution p, #page-content .pagination > div, #page-content .article-header .article-meta .anchor {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

/**
 * Reset some basic elements
 * 
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
    margin: 0;
    padding: 0;
}
*/
/**
 * Basic styling
 *
body {
    font-family: $base-font-family;
    font-size: $base-font-size;
    line-height: $base-line-height;
    font-weight: 300;
    color: $text-color;
    background-color: $background-color;
    -webkit-text-size-adjust: 100%;
}
*/
#page-content h1, #page-content h2, #page-content h3, #page-content h4, #page-content h5, #page-content h6, #page-content p, #page-content blockquote, #page-content pre, #page-content ul, #page-content ol, #page-content dl, #page-content figure {
  margin-bottom: 16px; }
#page-content h1, #page-content h2, #page-content h3, #page-content h4, #page-content h5, #page-content h6 {
  font-weight: 400; }

/**
 * Images
 *
img {
    max-width: 100%;
    vertical-align: middle;
}
*/
/**
 * Figures
 *
figure > img {
    display: block;
}

figcaption {
    font-size: $small-font-size;
}
*/
/**
 * Lists
 *
ul, ol {
    margin-left: $spacing-unit;
}

li {
    > ul,
    > ol {
         margin-bottom: 0;
    }
}
*/
/**
 * Headings
 *
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
}
*/
/**
 * Links
 *
a {
    color: $brand-color;
    text-decoration: none;

    &:visited {
        color: darken($brand-color, 15%);
    }

    &:hover {
        color: $text-color;
        text-decoration: underline;
    }
}
*/
/**
 * Blockquotes
 *
blockquote {
    color: $grey-color;
    border-left: 4px solid $grey-color-light;
    padding-left: $spacing-unit / 2;
    font-size: 18px;
    letter-spacing: -1px;
    font-style: italic;

    > :last-child {
        margin-bottom: 0;
    }
}
*/
/**
 * Code formatting
 *
pre,
code {
    font-size: 15px;
    border: 1px solid $grey-color-light;
    border-radius: 3px;
    background-color: #eef;
}

code {
    padding: 1px 5px;
}

pre {
    padding: 8px 12px;
    overflow-x: scroll;

    > code {
        border: 0;
        padding-right: 0;
        padding-left: 0;
    }
}
*/
/**
 * Wrapper
 *
.wrapper {
    max-width: -webkit-calc(740px - (32px * 2));
    max-width:         calc(740px - (32px * 2));
    margin-right: auto;
    margin-left: auto;
    padding-right: $spacing-unit;
    padding-left: $spacing-unit;
    @extend %clearfix;

    @include media-query($on-laptop) {
        max-width: -webkit-calc(740px - (32px));
        max-width:         calc(740px - (32px));
        padding-right: $spacing-unit / 2;
        padding-left: $spacing-unit / 2;
    }
}
*/
/**
 * Clearfix
 *
%clearfix {

    &:after {
        content: "";
        display: table;
        clear: both;
    }
}
*/
/**
 * Icons
 *
.icon {

    > svg {
        display: inline-block;
        width: 16px;
        height: 16px;
        vertical-align: middle;

        path {
            fill: $grey-color;
        }
    }
}
*/
#page {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 740px;
  min-height: 92vh;
  padding: 4vh 2em; }
  @media screen and (max-width: 1024px) {
    #page {
      padding-left: 4em;
      padding-right: 3em; } }
  @media screen and (max-width: 768px) {
    #page {
      max-width: 768px; } }
  @media screen and (max-width: 600px) {
    #page {
      padding-left: 1em;
      padding-right: 1em; } }
  #page #page-footer {
    margin-top: auto; }

@media (min-width: 768px) {
  html {
    font-size: 18px !important; }
    html #page-header {
      padding-top: 1rem; } }

#page-header {
  padding-bottom: 2em; }
  #page-header .wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center; }
    #page-header .wrapper .title {
      display: flex;
      align-items: center; }
      #page-header .wrapper .title .app-icon {
        max-width: 1.8em; }
      #page-header .wrapper .title h1 {
        padding-left: 0.5em;
        font-weight: 300; }
    #page-header .wrapper .navigation > ul {
      display: flex; }
      #page-header .wrapper .navigation > ul li {
        padding: 0 0.5em; }

#page-footer {
  padding-top: 2em;
  text-align: center; }
  #page-footer .navigation > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 1em; }
    #page-footer .navigation > ul li {
      padding: 1em 0.5em; }
  #page-footer .attribution {
    font-size: 0.6em; }
    #page-footer .attribution p {
      cursor: default; }

#page-content .pagination {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 3rem 0 1rem; }
  #page-content .pagination p {
    margin-bottom: 0; }
  #page-content .pagination .pagination-next {
    margin-left: auto; }
  #page-content .pagination .pagination-index {
    display: flex; }
  #page-content .pagination.blog-index {
    flex-wrap: nowrap; }
    #page-content .pagination.blog-index > div.pagination-index {
      flex-shrink: 0; }
      #page-content .pagination.blog-index > div.pagination-index p {
        text-align: center; }
    #page-content .pagination.blog-index > div.pagination-next, #page-content .pagination.blog-index > div.pagination-previous {
      flex-basis: 5rem;
      flex-shrink: 1; }
    #page-content .pagination.blog-index > div.pagination-next {
      margin-left: 0; }
      #page-content .pagination.blog-index > div.pagination-next p {
        text-align: right; }
  #page-content .pagination > div {
    cursor: default; }
    #page-content .pagination > div .pagination-page-index {
      font-size: 0.8rem;
      padding: 0.2rem; }

#page-content .article + .article {
  margin-top: 4em; }
#page-content .article:first-child {
  padding-top: 3em; }
#page-content .article-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  margin-bottom: 1rem; }
  #page-content .article-header .article-meta {
    font-size: 0.85rem; }
    #page-content .article-header .article-meta .anchor {
      padding-right: 0.5rem;
      font-size: 1.1rem; }
  @media screen and (max-width: 600px) {
    #page-content .article-header {
      flex-direction: column-reverse;
      justify-content: flex-start; } }

#page-content .landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem; }
  #page-content .landing .app-icon {
    max-width: 6rem; }
  #page-content .landing .app-name {
    font-weight: 300;
    font-size: 3rem;
    padding-top: 3rem; }
  #page-content .landing .app-description {
    padding-bottom: 3rem; }

/**
 * Site header
 *
.site-header {
    border-top: 5px solid $grey-color-dark;
    border-bottom: 1px solid $grey-color-light;
    min-height: 56px;

    // Positioning context for the mobile navigation icon
    position: relative;
}

.site-title {
    font-size: 26px;
    line-height: 56px;
    letter-spacing: -1px;
    margin-bottom: 0;
    float: left;

    &,
    &:visited {
        color: $grey-color-dark;
    }
}


.site-nav {
    float: right;
    line-height: 56px;

    .menu-icon {
        display: none;
    }

    .page-link {
        color: $text-color;
        line-height: $base-line-height;

        // Gaps between nav items, but not on the first one
        &:not(:first-child) {
            margin-left: 20px;
        }
    }

    @include media-query($on-palm) {
        position: absolute;
        top: 9px;
        right: 30px;
        background-color: $background-color;
        border: 1px solid $grey-color-light;
        border-radius: 5px;
        text-align: right;

        .menu-icon {
            display: block;
            float: right;
            width: 36px;
            height: 26px;
            line-height: 0;
            padding-top: 10px;
            text-align: center;

            > svg {
                width: 18px;
                height: 15px;

                path {
                    fill: $grey-color-dark;
                }
            }
        }

        .trigger {
            clear: both;
            display: none;
        }

        &:hover .trigger {
            display: block;
            padding-bottom: 5px;
        }

        .page-link {
            display: block;
            padding: 5px 10px;
        }
    }
}
*/
/**
 * Site footer
 *
.site-footer {
    border-top: 1px solid $grey-color-light;
    padding: $spacing-unit 0;
}

.footer-heading {
    font-size: 18px;
    margin-bottom: $spacing-unit / 2;
}

.contact-list,
.social-media-list {
    list-style: none;
    margin-left: 0;
}

.footer-col-wrapper {
    font-size: 15px;
    color: $grey-color;
    margin-left: -$spacing-unit / 2;
    @extend %clearfix;
}

.footer-col {
    float: left;
    margin-bottom: $spacing-unit / 2;
    padding-left: $spacing-unit / 2;
}

.footer-col-1 {
    width: -webkit-calc(35% - (32px / 2));
    width:         calc(35% - (32px / 2));
}

.footer-col-2 {
    width: -webkit-calc(20% - (32px / 2));
    width:         calc(20% - (32px / 2));
}

.footer-col-3 {
    width: -webkit-calc(45% - (32px / 2));
    width:         calc(45% - (32px / 2));
}

@include media-query($on-laptop) {
    .footer-col-1,
    .footer-col-2 {
        width: -webkit-calc(50% - (32px / 2));
        width:         calc(50% - (32px / 2));
    }

    .footer-col-3 {
        width: -webkit-calc(100% - (32px / 2));
        width:         calc(100% - (32px / 2));
    }
}

@include media-query($on-palm) {
    .footer-col {
        float: none;
        width: -webkit-calc(100% - (32px / 2));
        width:         calc(100% - (32px / 2));
    }
}
*/
/**
 * Page content
 *
.page-content {
    padding: $spacing-unit 0;
}

.page-heading {
    font-size: 20px;
}

.post-list {
    margin-left: 0;
    list-style: none;

    > li {
        margin-bottom: $spacing-unit;
    }
}

.post-meta {
    font-size: $small-font-size;
    color: $grey-color;
}

.post-link {
    display: block;
    font-size: 24px;
}
*/
/**
 * Posts
 *
.post-header {
    margin-bottom: $spacing-unit;
}

.post-title {
    font-size: 42px;
    letter-spacing: -1px;
    line-height: 1;

    @include media-query($on-laptop) {
        font-size: 36px;
    }
}

.post-content {
    margin-bottom: $spacing-unit;

    h2 {
        font-size: 32px;

        @include media-query($on-laptop) {
            font-size: 28px;
        }
    }

    h3 {
        font-size: 26px;

        @include media-query($on-laptop) {
            font-size: 22px;
        }
    }

    h4 {
        font-size: 20px;

        @include media-query($on-laptop) {
            font-size: 18px;
        }
    }
}
*/
body {
  background-color: white; }
  body:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 70vh;
    z-index: -1;
    background: linear-gradient(#fff5f8, white); }

a {
  color: #FF2969; }
  a:hover {
    color: #eb0046; }

.title h1 a {
  color: #111; }

#page-footer .attribution p, #page-footer .attribution a {
  color: #a8a8a8; }

.article-meta a {
  color: #cfcfcf; }

.article-header {
  border-bottom-color: whitesmoke; }

.landing h3 {
  color: #9c9c9c; }
.landing .coming-soon {
  color: #b5b5b5; }

/**
 * Syntax highlighting styles
 */
.highlight {
  background: #fff; }
  .highlight .c {
    color: #998;
    font-style: italic; }
  .highlight .err {
    color: #a61717;
    background-color: #e3d2d2; }
  .highlight .k {
    font-weight: bold; }
  .highlight .o {
    font-weight: bold; }
  .highlight .cm {
    color: #998;
    font-style: italic; }
  .highlight .cp {
    color: #999;
    font-weight: bold; }
  .highlight .c1 {
    color: #998;
    font-style: italic; }
  .highlight .cs {
    color: #999;
    font-weight: bold;
    font-style: italic; }
  .highlight .gd {
    color: #000;
    background-color: #fdd; }
  .highlight .gd .x {
    color: #000;
    background-color: #faa; }
  .highlight .ge {
    font-style: italic; }
  .highlight .gr {
    color: #a00; }
  .highlight .gh {
    color: #999; }
  .highlight .gi {
    color: #000;
    background-color: #dfd; }
  .highlight .gi .x {
    color: #000;
    background-color: #afa; }
  .highlight .go {
    color: #888; }
  .highlight .gp {
    color: #555; }
  .highlight .gs {
    font-weight: bold; }
  .highlight .gu {
    color: #aaa; }
  .highlight .gt {
    color: #a00; }
  .highlight .kc {
    font-weight: bold; }
  .highlight .kd {
    font-weight: bold; }
  .highlight .kp {
    font-weight: bold; }
  .highlight .kr {
    font-weight: bold; }
  .highlight .kt {
    color: #458;
    font-weight: bold; }
  .highlight .m {
    color: #099; }
  .highlight .s {
    color: #d14; }
  .highlight .na {
    color: #008080; }
  .highlight .nb {
    color: #0086B3; }
  .highlight .nc {
    color: #458;
    font-weight: bold; }
  .highlight .no {
    color: #008080; }
  .highlight .ni {
    color: #800080; }
  .highlight .ne {
    color: #900;
    font-weight: bold; }
  .highlight .nf {
    color: #900;
    font-weight: bold; }
  .highlight .nn {
    color: #555; }
  .highlight .nt {
    color: #000080; }
  .highlight .nv {
    color: #008080; }
  .highlight .ow {
    font-weight: bold; }
  .highlight .w {
    color: #bbb; }
  .highlight .mf {
    color: #099; }
  .highlight .mh {
    color: #099; }
  .highlight .mi {
    color: #099; }
  .highlight .mo {
    color: #099; }
  .highlight .sb {
    color: #d14; }
  .highlight .sc {
    color: #d14; }
  .highlight .sd {
    color: #d14; }
  .highlight .s2 {
    color: #d14; }
  .highlight .se {
    color: #d14; }
  .highlight .sh {
    color: #d14; }
  .highlight .si {
    color: #d14; }
  .highlight .sx {
    color: #d14; }
  .highlight .sr {
    color: #009926; }
  .highlight .s1 {
    color: #d14; }
  .highlight .ss {
    color: #990073; }
  .highlight .bp {
    color: #999; }
  .highlight .vc {
    color: #008080; }
  .highlight .vg {
    color: #008080; }
  .highlight .vi {
    color: #008080; }
  .highlight .il {
    color: #099; }

html {
  font-size: 16px;
  font-family: -apple-system, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  /* Prevent font scaling in landscape while allowing user zoom */ }

a {
  text-decoration: none; }

.navigation > ul {
  list-style-type: none;
  margin: 0; }

ul {
  margin-left: 1.25em; }

ol {
  margin-left: 1.5em; }
