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

body {
    font-family: "Ubuntu", sans-serif;
    font-size: 16px;
    color: #555;
    background: #f8f9ea;
    font-weight: 300;
    text-rendering: optimizeLegibility;

    max-width: 750px;
    margin: 0 auto;
    padding: 0 20px;
}

strong {
    font-weight: 500;
}

body > header {
    margin-top: 20px;
    margin-bottom: 50px;

    background: #f8f9ea;
    color: #777;
}

body > header h1 {
    display: inline;
    font-size: 22px;
    padding-right: 4px;

    color: #ce5431;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

body > header h1 a {
    color: inherit;
    text-decoration: none;
}

body > header > a {
    text-decoration: none;
    padding: 0 4px;
    vertical-align: 1px;
}

body > footer {
    text-align: center;
    font-size: .9em;
    margin-bottom: 50px;
    color: #777;
}

.read-more-link {
    font-weight: 500;
}

article {
    margin-bottom: 100px;

    font-size: 17px;
    line-height: 1.7em;
}

article p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
}

article p code {
    font-size: 16px;
}

a {
    color: #92B329;
}

article h1 {
    font-size: 1.7em;
    line-height: 1.2em;
    font-weight: 400;
    color: #98ba2b;
}

article h1 a {
    color: inherit;
    text-decoration: none;
}

h2 {
    font-size: 1.4em;
    font-weight: 500;
}

h3 {
    font-size: 1.2em;
    font-weight: 500;
}

hr {
    border: 0;
    height: 2px;
    background: #98ba2b;
    width: 70%;
    margin: 2em auto;
}

li {
    margin-bottom: .2em;
}

code {
    word-wrap: break-word;
}

a.playground-link {
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

span.article-info {
    font-weight: 400;
    font-size: 14px;
}

.article-info-top {
    margin-top: -15px;
    font-weight: 400;
    font-size: 13px;
}

.article-old-post {
    background-color: #E2E5B3;
    box-shadow: 1px 1px 0 #98ba2b;
    border-radius: 15px;
    margin: 20px 10px 0;
    padding: 12px 18px;
    font-size: 15px;
}

div.highlight ~ p > a.playground-link {
    display: block;
    margin-top: -10px;
}

article img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

article img.right {
    float: right;
}

article img.border {
    border: 1px solid #bbb;
}

@media only screen and (max-width: 400px) {
    article img.right {
        float: none;
    }
}


.youtube {
    position: relative;
    padding-bottom: 55%;
    background: #555;
}

.youtube iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0
}

.more-posts {
    margin: -80px auto 70px;
    line-height: 1.6em;
}

@media only screen and (max-width: 400px) {
    body > h1 {
        margin-top: 15px;
        margin-bottom: 30px;
    }

    article {
        margin-bottom: 70px;

        font-size: 16px;
        line-height: 1.6em;
    }

    ul {
        padding-left: 25px;
    }
}
