/* Base */
* { margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; font-weight: 300; background-color: #fdfdfd; }
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: 400; }
a { color: #2a7ae2; text-decoration: none; }
a:hover { color: #000; text-decoration: underline; }
a:visited { color: #205caa; }

/* Utility */
.wrap:before, .wrap:after { content:""; display:table; }
.wrap:after { clear: both; }
.wrap { max-width: 800px; padding: 0 30px; margin: 0 auto; zoom: 1; }

/* Site header */
.site-header { border-bottom: 1px solid #e8e8e8; min-height: 56px; background-color: white; padding: 10px 0; }
.site-title-block { display: flex; align-items: center; gap: 12px; float: left; }
.avatar { width: 42px; height: 42px; border-radius: 50%; }
.site-title, .site-title:hover, .site-title:visited { display: block; color: #333; font-size: 22px; letter-spacing: -1px; line-height: 1.2; }
.site-subtitle { font-size: 13px; color: #828282; margin: 0; }
.site-nav { float: right; line-height: 56px; }
.site-nav .page-link { margin-left: 20px; color: #727272; letter-spacing: -.5px; }

/* Site footer */
.site-footer { border-top: 1px solid #e8e8e8; padding: 30px 0; text-align: center; }
.footer-name { font-size: 15px; color: #333; margin-bottom: 5px; }
.footer-links { font-size: 14px; color: #828282; }
.footer-links a { color: #828282; }
.footer-links a:hover { color: #333; }
.footer-icon { width: 16px; height: 16px; fill: #828282; vertical-align: middle; margin-right: 3px; position: relative; top: -1px; }

/* Page content */
.page-content { padding: 30px 0; background-color: #fff; }

/* Home */
.home h1 { margin-bottom: 25px; }
.posts { list-style-type: none; }
.posts li { margin-bottom: 30px; }
.posts .post-link { font-size: 20px; letter-spacing: -1px; line-height: 1; }
.posts .post-date { display: block; font-size: 15px; color: #818181; }

/* Post */
.post-header { margin: 10px 0 30px; }
.post-header h1 { font-size: 36px; letter-spacing: -1.75px; line-height: 1; font-weight: 300; }
.post-header .meta { font-size: 15px; color: #818181; margin-top: 5px; }
.post-content { margin: 0 0 30px; }
.post-content > * { margin: 20px 0; }
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 { line-height: 1; font-weight: 300; margin: 40px 0 20px; }
.post-content h2 { font-size: 32px; letter-spacing: -1.25px; }
.post-content h3 { font-size: 26px; letter-spacing: -1px; }
.post-content h4 { font-size: 20px; letter-spacing: -1px; }
.post-content blockquote { border-left: 4px solid #e8e8e8; padding-left: 20px; font-size: 18px; opacity: .6; letter-spacing: -1px; font-style: italic; margin: 30px 0; }
.post-content ul, .post-content ol { padding-left: 20px; }
.post pre, .post code { border: 1px solid #e0e0e0; background-color: #f6f6f6; padding: 8px 12px; border-radius: 3px; font-size: 15px; overflow:auto; line-height: 1.2; }
.post code { padding: 1px 5px; }
.post ul, .post ol { margin-left: 1.35em; }
.post pre code { border: 0; padding-right: 0; padding-left: 0; }

/* Tables */
table { border-collapse: collapse; margin: 20px 0; width: 100%; }
th, td { border: 1px solid #e8e8e8; padding: 8px 12px; text-align: left; }
th { background-color: #f6f6f6; font-weight: 400; }

/* Media queries */
@media screen and (max-width: 750px) {
  .footer-col-1 { width: 50%; }
  .footer-col-2 { width: 50%; }
}
@media screen and (max-width: 600px) {
  .wrap { padding: 0 12px; }
  .post-header h1 { font-size: 36px; }
  .post-content h2 { font-size: 28px; }
  .post-content h3 { font-size: 22px; }
  .post-content h4 { font-size: 18px; }
}
