* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}



/* -------------- HTML & BODY -------------- */



html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    /*font-family: "PT Serif", Georgia, "Times New Roman", serif;*/
    font: 300 16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 16px;
    line-height: 1.5;
}

@media (min-width: 38em) {
    html {
        font-size: 20px;
    }
}

body {
    color: #2f2f2f;
    background-color: #f9f9f9;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}



/* -------------- PAGE STRUCTURE -------------- */



.container {
    max-width: 42rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.wrap {
    position: relative;
    width: 100%;
}

.container {
    max-width: 28rem;
}

@media (min-width: 38em) {
    .container {
        max-width: 32rem;
    }
}

@media (min-width: 56em) {
    .container {
        max-width: 42rem;
    }
}

.contentfooter {
    padding-bottom: 40px;
    font-size: 0.8em;
    color: #b5b5b5;
    border-top: 1px solid #e3e3e3;
    padding-top: 1rem;
}



/* -------------- SITE HEADER -------------- */


.masthead {
    padding-top: 2rem;
    margin-bottom: 2rem;
}

.masthead-title {
    margin-top: 0;
    margin-bottom: 0;
    color: #505050;
}

.masthead-title {
    margin-top: 0;
    margin-bottom: 0;
    color: #505050;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.02rem;
}

.masthead-title a {
    background: #323232;
    color: #FFFFFF;
    padding: 0.2rem 0.7rem 0.2rem 0.8rem;
}

.masthead-title a:hover {
    text-decoration: none;
}



/* -------------- HOME PAGE -------------- */



.homeintro{
    font-size: 0.9rem;
    padding-bottom: 0.8rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #d1d1d1;
    
}

.homelist{
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.homelistitem{
    padding: 0.1rem 0
}

.homelistitem a{
    color: #222222;
    letter-spacing: 0.016rem;
}

.homelistdate{
    font-family: courier, monospace;
    color: #666666;
    font-size: 0.75rem;
}

.homelistsep{
    padding: 0 0.5rem;
    color: #aaaaaa;
}

.star{
    color: #fcb205;
    padding-left: 0.35rem;
}

.starlist{
    color: #FC9805;
    padding-left: 0.2rem;
}

.atomfeed{
    font-size: 0.65rem;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 0.05rem;
}

.atomfeed a{
    color: #FC7905;
}



/* -------------- HEADINGS -------------- */



h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: .5rem;
    font-weight: bold;
    line-height: 1.25;
    color: #313131;
    text-rendering: optimizeLegibility;
    font-family: 'Roboto Slab', serif;
}


h1 {
    font-size: 1.3rem;
}
h2 {
    margin-top: 3rem;
    font-size: 1.2rem;
    margin-bottom: 1.3rem;
}
h3 {
    margin-top: 1.5rem;
    font-size: 1.1rem;
}
h1,
h3 {
    /* font-family: "PT Sans", Helvetica, Arial, sans-serif;*/
    font-weight: normal;
    color: #313131;
}
h4,
h5,
h6 {
    margin-top: 1rem;
    font-size: 1rem;
}



/* -------------- GENERIC TEXT STYLES -------------- */



a {
    color: #268bd2;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

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



/* -------------- MOBILE STYLESHEET -------------- */



@media only screen 
  and (max-device-width: 736px) { 

    .masthead{
        padding-top: 1.25em;
        padding-bottom: 1em;
        margin-bottom: 0.5rem;   
    }

    .masthead-title{
        font-size: 1.5rem;
    }

    .homeintro{
        padding-bottom: 0;
    }

    .homelistdate, .homelistsep{
        display: none;
    }

    .homelistitem{
        padding: 0.5rem 0;
        font-size: 0.8rem;
    }

}



/* -------------- SINGLE POST AND PAGE -------------- */



.post {
    margin-bottom: 4em;
}

.page-title,
.post-title {
    color: #003333;
    margin-top: 0;
    font-weight: bold;
}

.page-title {
    margin-bottom: 2em;
}

.post-date {
    display: block;
    margin-top: -.5rem;
    margin-bottom: 2rem;
    color: #7e7e7e;
    font-size: 0.55rem;
    letter-spacing: 0.04rem;
    padding-top: 0.5rem;
    text-transform: uppercase;
}

.postSource{
    font-size: 0.8rem;
    padding-top: 2em;
}
   
.postTag {
    display: inline-block;
    background: #f2f2f2;
    border-radius: 4px;
    font-size: 0.7rem;
    padding: 0.1rem 0.5rem;
    color: #a5a5a5;
}

.postTag:hover {
    background: #268bd2;
    color: #fff;
    text-decoration: none;
}

blockquote {
    padding: .5rem 1rem;
    margin: .8rem 0;
    color: #7a7a7a;
    border-left: .25rem solid #e5e5e5;
}

blockquote p:last-child {
    margin-bottom: 0;
}

@media (min-width: 30em) {
    blockquote {
        padding-right: 5rem;
        padding-left: 1.25rem;
    }
}

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




/* -------------- SOURCE CODE DISPLAY -------------- */



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

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

pre {
    display: block;
    margin-top: 0;
    margin-bottom: 1rem;
    padding: 0.4rem 0.65rem;
    font-size: .7rem;
    line-height: 1.4;
    white-space: pre;
    white-space: pre-wrap;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #e8e8e8;
    border-radius: 4px;
}

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


/* Pygments via Jekyll */

.highlight {
    margin-bottom: 1rem;
    border-radius: 4px;
    margin-left: 0;
    margin-right: 0;
}

.highlight pre {
    margin-bottom: 0;
}

.highlight .hll { background-color: #ffc; }
.highlight .c { color: #999; } /* Comment */
.highlight .err { color: #a00; background-color: #faa } /* Error */
.highlight .k { color: #069; } /* Keyword */
.highlight .o { color: #555 } /* Operator */
.highlight .cm { color: #09f; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #099 } /* Comment.Preproc */
.highlight .c1 { color: #999; } /* Comment.Single */
.highlight .cs { color: #999; } /* Comment.Special */
.highlight .gd { background-color: #fcc; border: 1px solid #c00 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #f00 } /* Generic.Error */
.highlight .gh { color: #030; } /* Generic.Heading */
.highlight .gi { background-color: #cfc; border: 1px solid #0c0 } /* Generic.Inserted */
.highlight .go { color: #aaa } /* Generic.Output */
.highlight .gp { color: #009; } /* Generic.Prompt */
.highlight .gs { } /* Generic.Strong */
.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 { color: #c30; font-style: italic } /* Literal.String.Doc */
.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; }