/* Basic */

html {
    font-size: 12px;
}

body {
    background: #ffffff;
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2.0rem;
}

h5 {
    font-size: 1.8rem;
}

h6 {
    font-size: 1.5rem;
}

a {
    color: #303030;
    font-weight: bold;
}

a:hover {
    color: #666;
}

/* Page Structure */

.container {
    margin-bottom: 100px;
    margin-top: 50px;
}

#main {
    clear: both;
    padding-bottom: 25px;
    padding-top: 25px;
}

article#content {
    margin-bottom: 40px;
}

#logo {
    float: right;
    margin: 0 0 5px 0;
    height: 30px;
}

hr {
    background: #eee;
    border: 0;
    height: 1px;
    float: left;
    width: 100%;
    margin: 0;
    margin-bottom: 30px;
}

.hr-page {
    background: #222;
    border: 0;
    clear: both;
    float: left;
    height: 3px;
    margin: 0;
    width: 100%;
}

/* Quotes */

blockquote {
    background: #f6f6f6;
    border-radius: 4px;
    margin-inline-end: 0;
    margin-inline-start: 0;
    margin-block-end: 2.5rem;
    margin-block-start: 0;
    padding: 20px 35px 0 30px;
}

blockquote p {
    padding-bottom: 20px;
    margin-bottom: 0;
}

blockquote ul, blockquote ol {
    font-style: italic;
    padding-bottom: 20px;
    margin-bottom: 0;
}

cite {
    text-align: right;
    display: block;
    line-height: 2.5rem;
    margin-top: 0;
    padding-bottom: 20px;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: bold;
    letter-spacing: .1rem;
}

.uppercase {
    text-transform: uppercase;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: bold;
    letter-spacing: .1rem;
}

cite a {
    font-style: normal;
    color: #777;
}

/* Lists */

ul, ol {
    margin-left: 1.5rem;
}

ul ul,
ul ol,
ol ol,
ol ul {
    margin-left: 1.5rem;
}

li {
    list-style-position: outside;
    margin-left: 25px;
}

/* Code */

code {
    background: #f6f6f6;
    float: none;
    font-family: monospace;
}

@media (max-width: 600px) {
    code {
        font-size: 1.4rem;
    }
}

@media (max-width: 500px) {
    code {
        font-size: 1.2rem;
    }
}

@media (max-width: 400px) {
    code {
        font-size: 1.0rem;
    }
}

@media (max-width: 300px) {
    code {
        font-size: 0.8rem;
    }
}

pre {
    float: left;
    margin-top: 0;
    margin-bottom: 0;
    min-width: 100%;
    white-space: pre;
}

@media (max-width: 600px) {
    pre {
        font-size: 1.4rem;
    }
}

@media (max-width: 500px) {
    pre {
        font-size: 1.2rem;
    }
}

@media (max-width: 400px) {
    pre {
        font-size: 1.0rem;
    }
}

@media (max-width: 300px) {
    pre {
        font-size: 0.8rem;
    }
}

pre code {
    white-space: pre;
}

.language-text {
    margin-bottom: 30px;
}

.code-language {
    background-color: transparent;
    box-sizing: border-box;
    color: #888;
    display: inline-block;
    float: right;
    font-size: 1.2rem;
    font-weight: bold;
    height: 35px;
    letter-spacing: .1rem;
    /* line-height: 35px; */
    padding: 0 25px;
    text-align: right;
    text-decoration: none;
    text-transform: uppercase;
    width: 50%;
}

.example-block {
    float: left;
    margin-bottom: 30px;
    width: 100%;
}

/* Home Page */

.home-page-section {
    clear: both;
    float: left;
    margin-bottom: 30px;
    width: 100%;
}

.home-page-post {
    clear: both;
    float: left;
    margin-bottom: 30px;
    width: 100%;
}

.home-page-post p {
    margin-bottom: 0;
}

.home-page-post a {
    text-decoration: none;
}

.post-image {
    clear: both;
    float: left;
}

.post-image img {
    border: 1px solid #888;
    height: 175px;
    margin-right: 20px;
    width: 175px;
    /* float: left; */
}

.attribution {
    font-size: 1rem;
    width: 175px;
    background-color: transparent;
    color: #888;
    font-size: 1.0rem;
    font-weight: bold;
    height: 35px;
    letter-spacing: .1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.attribution a {
    font-weight: bold;
}

@media (max-width: 800px) {
    .post-image img {
        height: 150px;
        width: 150px;
    }

    .attribution {
        font-size: 0.9rem;
        width: 150px;
    }
}

@media (max-width: 600px) {
    .post-image img {
        height: 150px;
        width: 150px;
    }

    .attribution {
        font-size: 0.8rem;
        width: 150px;
    }
}

@media (max-width: 500px) {
    .post-image img {
        height: 125px;
        width: 125px;
    }

    .attribution {
        font-size: 0.7rem;
        width: 125px;
    }
}

@media (max-width: 400px) {
    .post-image img {
        height: 100px;
        width: 100px;
    }

    .attribution {
        font-size: 0.5rem;
        width: 100px;
    }
}

@media (max-width: 300px) {
    .post-image img {
        height: 75px;
        width: 75px;
    }

    .attribution {
        font-size: 0.4rem;
        width: 75px;
    }
}

@media (max-width: 200px) {
    .post-image img {
        height: 75px;
        width: 75px;
    }

    .attribution {
        font-size: 0.3rem;
        width: 75px;
    }
}

.blog-post {
    margin-bottom: 20px;
}

.post-title {
    font-weight: bold;
    text-decoration: none;
}

#blog-post-table {
    margin: 0;
}

#blog-post-table td {
    border: 0px;
    padding-left: 30px;
}

.blog-post-date {
    color: #888;
}

#blog-post-date {
    color: #888;
    margin-bottom: 30px;
    margin-top: -15px;
    width: 100%;
}

img#full {
    width: 100%;
}

img.full-illustration {
    margin: 30px 10% 15px;
    width: 80%;
}

img.landscape-illustration {
    max-height: 400px;
}

.illustration {
    border: 1px solid #ccc;
    border-radius: 4px;
    clear: both;
    display: block;
    margin-bottom: 2.5rem;
}

.illustration svg {
    margin-top: 10px;
    min-width: 100%;
}

.illustration svg {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+/Edge */
    user-select: none;         /* Standard */
}

.svg-text {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.clear {
    clear: both;
}

.clear-margin {
    clear: both;
    margin-bottom: 2.5rem;
    width: 100%;
}

#tags {
    clear: both;
    float: left;
    margin-bottom: 15px;
}

.tag {
    border: 1px solid #ccc;
    color: #777;
    margin: 0 10px 10px 0;
    padding: 10px 20px;
    float: left;
}

#related {
    clear: both;
    float: left;
    margin-bottom: 30px;
}
