/* Heavily inspired by Jeckyll css stylesheet first read at https://maheshba.bitbucket.io/blog/ */
/* Reset elements */

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

body {
    font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #111; background-color: #fdfdfd;
    -webkit-text-size-adjust: 100%; -webkit-font-feature-settings: "kern" 1;
    -moz-font-feature-settings: "kern" 1; -o-font-feature-settings: "kern" 1;
    font-feature-settings: "kern" 1;
    font-kerning: normal; display: flex; min-height: 100vh; flex-direction: column;
    max-width: -webkit-calc(800px - (30px * 2));
    max-width: calc(800px - (30px * 2));
    margin-right: auto;
    margin-left: auto;
    padding-right: 30px;
    padding-left: 30px; }

/* Set `margin-bottom` to maintain vertical rhythm */
h1, h2, h3, h4, h5, h6, p, blockquote, pre, ul, ol, dl, figure, .highlight { margin-bottom: 15px; }

/** `main` element */
main { display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */ }

/* Images */
img { max-width: 100%; vertical-align: middle; }

/* Figures */
figure > img { display: block; }

figcaption { font-size: 14px; }

/** Lists */
ul, ol { margin-left: 30px; }

li > ul, li > ol { margin-bottom: 0; }

/* Headings */
h1, h2, h3, h4, h5, h6 { font-weight: 400; }
h1, h2 { margin-top: 2em }

h2 { font-size: 30px; }

@media screen and (max-width: 800px) { h2 { font-size: 28px; } }

h3 { font-size: 24px; }

@media screen and (max-width: 800px) { h3 { font-size: 22px; } }

h4 { font-size: 18px; padding-left: .5em; }

@media screen and (max-width: 800px) { h4 { font-size: 18px; } }

/** Links */
a { color: #2a7ae2; text-decoration: none; }

a:visited { color: #1756a9; }

a:hover { color: #111; text-decoration: underline; }

/** Blockquotes */
blockquote { color: #828282; border-left: 4px solid #e8e8e8; padding-left: 15px; font-size: 18px; letter-spacing: -1px; font-style: italic; }

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

/** Definition lists **/

dl {
  line-height: 1.6;
  margin-bottom: 1rem;
  list-style-position: outside; }

dl {
  margin-bottom: 1rem; }
  dl dt {
    margin-bottom: 0.3rem;
    font-weight: bold; }

/** Code formatting */
pre, code { font-size: 15px; border: 1px solid #e8e8e8; border-radius: 3px; background-color: #eef; }

code { padding: 1px 5px; }

pre { padding: 8px 12px; overflow-x: auto; }

pre > code { border: 0; padding-right: 0; padding-left: 0; }

@media screen and (max-width: 800px) { .wrapper { max-width: -webkit-calc(800px - (30px)); max-width: calc(800px - (30px)); padding-right: 15px; padding-left: 15px; } }

