/* Styles stdin - Based on hyperminimal Jekyll Theme */

/* use Gentium Plus - Regular in .woff format */
@font-face {
  font-family: 'Stdin Default';
  src: url(../fonts/stdin-default.woff2) format('woff2'),
            url(../fonts/stdin-default.woff) format('woff');
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
  unicode-range: U+0020-2219;
}

/* BASSCSS Reset - http://jxnblk.github.io/basscss */
body, h1, h2, h3, h4, h5, h6, dl, ol, ul, p,
button, input, select, textarea {
  margin: 0;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
}

article, aside, details, figcaption, figure, footer, header, main, nav, section, summary {
  display: block;
}

body {
  color: #303030;
  font-size: 100%;
  font-weight: 300;
  line-height: 1.5;
  font-family: 'Stdin Default', Georgia, 'Times New Roman', Times, serif;
}

h1, h2, h3, h4, h5, h6 { line-height: 1.0; color: #303030; }
h1, .h1 {
  font-size: 30px;
  margin-bottom: 28px;
}
h2, .h2, h3, .h3, h4, h5, h6 {
  font-size: 24px;
  margin-bottom: 16px;
}
p, .p, pre, ul, ol {
  font-size: 18px;
  margin-bottom: 32px !important;
}

@media screen and (min-width: 640px) {
  h1, .h1 { font-size: 30px; }
  h2, .h2 { font-size: 24px; }
  p, .p, pre, ul, ol { font-size: 20px; }
}

a { color: #09c; text-decoration: none; }
a:hover { color: #069; }
h1 a { color: #303030;}

.wrap {
  width: 90%;
  max-width: 768px;
  margin: 0 auto;
  padding: 32px 5% 64px 5%;
}

.m-0 { margin-top: 0; margin-bottom: 0; }
.mb { margin-bottom: 64px; }
.mb2 { margin-bottom: 32px; }

.post { margin-bottom: 96px; }
.post img { max-width: 100%; }

.center { text-align: center; }
.fl { float: left; }
.fr { float: right; }

.gray { color: #999; }

.post-content { text-align: justify; margin-bottom: 64px; }
.post-subline { font-size: 20px; font-weight: 100; line-height: .8em; color: #7a7a7a; }

small, .small { font-size: 16px; }

code { padding:.2em; border: 1px solid #ddd; font-size: 80%  }

pre > code { border: none; padding: 0; }

/* blockquote */
blockquote {
  border-left: 2px solid #c1c1c1;
  margin: 0 0 1em;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
  font-style: italic;
}
blockquote:before {
  color: #c1c1c1;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  vertical-align: -0.4em;
  margin-left: -4px;
}
blockquote p {
  margin-bottom: .5em !important;
}

/* scrollbar */
html {
  scrollbar-gutter: stable;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #999;
}
::-webkit-scrollbar-corner {
  background: transparent;
}