h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Avenir", sans-serif;
}

h1 {
    font-size: 2.22rem;
}
h2 {
    font-size: 1.75rem;
}
h3 {
    font-size: 1.5rem;
}
h4 {
    font-size: 1.25rem;
}
h5 {
    font-size: 1rem;
}
h6 {
    font-size: .875rem;
}

html {
    font-size: 120%;
}

body {
    border-top: 4px solid #9257E2;
    color: #3f4048;
    font-size: 1rem;
    font-family: "Merriweather", serif;
    margin: 0;
}

a {
    color: #545661;
}

a:hover, a:focus {
    color: #34353c;
}

p,
ol,
ul {
    line-height: 1.7;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 2rem;
    position: relative;
}
.nav a {
    font-family: "Avenir Next", sans-serif;
    color: #62596E;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
}
.nav a:hover {
    text-decoration: underline;
}

.post, .main-content {
    width: 700px;
    margin: 2rem auto 0;
}

.main-content .post {
    padding-left: 0;
    padding-right: 0;
}

.main-header.post-head {
    height: 65vh;
    min-height: 10rem;
    background: #fff no-repeat center center;
    background-size: cover;
}

.post-content {
    line-height: 1.5;
    overflow: visible;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin-bottom: 0;
}

.post-content h1 + *,
.post-content h2 + *,
.post-content h3 + *,
.post-content h4 + *,
.post-content h5 + *,
.post-content h6 + * {
  margin-top: 0;
}
/*.post-content > *:not(p) {*/
    /*margin: 1rem 0;*/
/*}*/

.post-content > * {
    margin: 1.75rem 0;
}

p mark {
    padding: .25rem 0;
    background-color: #c3eeff;
}

pre, code {
    background-color: #eff2f3;
    border: 1px solid #e5e8e9;
    border-radius: 5px;
}
pre code {
    background-color: transparent;
    border: none;
    padding: 0;
    font-size: .6rem;
    white-space: pre-wrap;
}
code {
    padding: 0.1rem .2rem;
    font-family: Inconsolata, monospace, sans-serif;
}
pre {
    padding: 1rem;
    overflow: auto;
}

hr {
    border: none;
    letter-spacing: .25rem;
    text-align: center;
    margin: 2rem 0;
    /*color: #9257E2;*/
}
hr:after {
    content: "・・・";
}

img {
    width: 120%;
    margin-left: -10%;
}

blockquote {
    padding: .75rem 0 .75rem 1.5rem;
    border-left: 6px solid #9257E2;
    box-sizing: border-box;
    margin-left: -2rem;
    font-style: italic;
    color: #62596E;
}

figcaption {
    text-align: center;
    font-size: .75rem;
    color: #62596E;
    font-family: "Avenir", sans-serif;
}

.footnotes {
    font-size: .75rem;
    font-style: italic;
    color: #696076;
}

.footnotes a {
    text-decoration: none;
    color: inherit;
}

button.disqus-button {
    display: flex;

    margin: 2rem auto;
    padding: .4rem 1rem;

    font-size: 1rem;
    font-family: "Avenir", sans-serif;

    color: #fff;
    background-color: #3E334E;

    border: 1px solid #3E334E;
    border-radius: 50rem;

    cursor: pointer;

    outline: none;
}

button.disqus-button:hover {
    background-color: transparent;
    color: #3E334E;
}

.post-header {
    line-height: 1.1;
}
.post-meta {
    color: #afb1bb;
    font-family: "Avenir", sans-serif;
}
.main-content .post-meta {
    font-size: .75rem;

}
.content .post-meta {
    font-size: .85rem;
}

.post-meta > a {
    color: #afb1bb;
    text-decoration: none;
}
.post-meta > a:hover {
    text-decoration: underline;
}

.hidden {
    display: none;
}

.post-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.author-profile {
    display: flex;
    justify-content: center;
    align-items: center;
}

.author-profile img {
    height: 4rem;
    width: 4rem;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    margin: 0;
}
.author-profile .author {
    display: flex;
    flex-direction: column;
    justify-content: center;

    font-family: "Avenir Next", sans-serif;
    line-height: 1;
    font-size: .85rem;
    margin-left: 1rem;
}
.author-profile .author h4 {
    font-size: .9rem;
}
.author-profile .author p {
    font-size: .85rem;
    line-height: 1.2;
    margin: .3rem 0;
}

footer.footer {
    text-align: center;
    font-family: "Avenir Next", sans-serif;
    font-size: .75rem;
    margin: 1rem 0;
    color: #62596E;

}
footer.footer a {
    font-weight: 600;
    text-decoration: none;
    color: #62596E;
}
footer.footer a:hover {
    text-decoration: underline;
}



@font-face {
    font-family: "casper-icons";
    src:url("../fonts/casper-icons.eot?v=1");
    src:url("../fonts/casper-icons.eot?v=1#iefix") format("embedded-opentype"),
    url("../fonts/casper-icons.woff?v=1") format("woff"),
    url("../fonts/casper-icons.ttf?v=1") format("truetype"),
    url("../fonts/casper-icons.svg?v=1#icons") format("svg");
    font-weight: normal;
    font-style: normal;
}
[class^="icon-"]:before, [class*=" icon-"]:before {
    font-family: "casper-icons", "Open Sans", sans-serif;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    text-decoration: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #62596E;
    font-size: 1rem;
}
a[class^="icon-"] {
    text-decoration: none;
}
.icon-twitter:before {
    content: "\f602";
}


.landing-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;

    margin: 1rem 0;
}

.landing-profile img {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 100px;
    margin: 0;
}

.landing-profile .profile-bio {
    display: flex;
    flex-direction: column;
    margin: 0 1rem;
    box-sizing: border-box;

    font-family: "Avenir Next", sans-serif;
    line-height: 1;
}

.landing-profile .profile-bio h1 {
    font-weight: 300;
    color: #5b5a67;
    font-size: 2.4rem;
}
.landing-profile .profile-bio p {
    line-height: 1.2;
    margin-bottom: .5rem;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/MaterialIcons-Regular.eot'); /* For IE6-8 */
    src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url('../fonts/MaterialIcons-Regular.woff2') format('woff2'),
    url('../fonts/MaterialIcons-Regular.woff') format('woff'),
    url('../fonts/MaterialIcons-Regular.ttf') format('truetype');
}
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 1.5rem;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

@font-face {
    font-family: 'Mono Social Icons Font';
    src: url('../fonts/MonoSocialIconsFont-1.10.eot');
    src: url('../fonts/MonoSocialIconsFont-1.10.eot?#iefix') format('embedded-opentype'),
    url('../fonts/MonoSocialIconsFont-1.10.woff') format('woff'),
    url('../fonts/MonoSocialIconsFont-1.10.ttf') format('truetype'),
    url('../fonts/MonoSocialIconsFont-1.10.svg#MonoSocialIconsFont') format('svg');
    src: url('../fonts/MonoSocialIconsFont-1.10.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.symbol, a.symbol:before {
    font-family: 'Mono Social Icons Font';
    -webkit-text-rendering: optimizeLegibility;
    -moz-text-rendering: optimizeLegibility;
    -ms-text-rendering: optimizeLegibility;
    -o-text-rendering: optimizeLegibility;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    font-smoothing: antialiased;
}

a.symbol:before {
    content: attr(title);
}
a.symbol {
    text-decoration: none;
    font-size: 2rem;
    line-height: 1;
    margin: 0 .1rem;
    /*color: #9257E2;*/
}
a.symbol:first-of-type {
    margin-left: 0;
}
a.symbol:last-of-type {
    margin-right: 0;
}

.main-content .post {
    padding-bottom: 2rem;
}
.main-content .post:not(:last-child) {
    border-bottom: 1px solid #e1ecfa;
}
.main-content .post .post-title {
}
.main-content .post .post-title a {
    text-decoration: none;
}
.main-content .post .post-excerpt {
    font-size: 1rem;
}
.main-content .post .post-excerpt p {
    margin: 1rem 0;
}
.content .post .post-header  h1.post-title {
    margin-bottom: .5rem;
}

nav.pagination {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Avenir Next", sans-serif;
}
nav.pagination a {
    text-decoration: none;
    line-height: 1;
    display: inline-flex;
    box-sizing: border-box;
    height: 2rem;
    width: 2rem;
    justify-content: center;
    align-items: center;
}

.pagination .pages {
    font-size: .75rem;
    flex-grow: 1;
    justify-self: center;
    text-align: center;
    margin: 0 2rem;
}

.pagination .previous + .pages {
    margin-left: 0;
}
.pagination .pages:not(:last-child) {
    margin-right: 0;
}

.pagination .previous, .pagination .next {
    border-radius: 200px;
}

.pagination .previous {
    border: 2px solid #5b5a67;
}
.pagination .next {
    align-self: flex-end;
    background-color: #5b5a67;
    color: #fff;
}



@media screen and (max-width: 768px) {
    .post, .main-content {
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    figure {
        text-align: center;
        position: relative;
    }
    img {
        width: 100vw;
        margin-left: -1rem;
    }
}

@media screen and (min-width: 501px) and (max-width: 768px) {
    .main-header.post-head {
        height: 45vh;
        min-height: 7.5rem;
    }
    html {
        font-size: 110%;
    }

    .landing-profile .profile-bio h1 {
        font-size: 2rem;
    }
    .main-content .post .post-title {
        font-size: 1.75rem
    }

    .landing-profile .profile-bio p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 500px) {
    .main-header.post-head {
        height: 30vh;
        min-height: 5rem;
    }
    html {
        font-size: 100%;
    }

    .author-profile img {
        height: 3.5rem;
        width: 3.5rem;
    }

    .landing-profile {
        flex-direction: column;
    }
    .landing-profile img {
        margin-bottom: 1rem;
    }
    .landing-profile .profile-bio h1 {
        font-size: 2rem;
        margin-bottom: .25rem;
    }
    .landing-profile .profile-bio p {
        line-height: 1.2;
        font-size: .725rem;
        margin-bottom: .5rem;
    }
    .main-content .post .post-title {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 400px) {
    html {
        font-size: 90%;
    }
}