@font-face {
  font-family: 'Heebo';
  font-style: normal,
  font-weight: 300;
  src: local('Heebo Light'), local('Heebo-Light'), url('static/fonts/Heebo-Light.ttf') format('ttf');
}

@font-face {
  font-family: 'Raleway';
  font-style: normal,
  font-weight: 300;
  src: local('Raleway'), local('Raleway-Light'), url('static/fonts/Raleway-Light.ttf') format('ttf');
}

@font-face {
  font-family: 'Raleway';
  font-style: normal,
  font-weight: 100;
  src: local('Raleway Thin'), local('Raleway-Thin'), url('static/fonts/Raleway-Thin.ttf') format('ttf');
}

body {
  font-family: 'Heebo', Verdana, sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
  font-size: 16px;
}

@media only screen and (max-width: 500px) {
  font-size: 20px;
}

hr {
  margin-top: 10px;
  margin-bottom: 10px;
  border: 0;
  height: 1px;
}

.container {
  max-width: 740px;
  margin: 0 auto 100px;
}

.site-description {
  text-align: center;
}

.social-media {
  text-align: center;
  font-size: 1.5em;
}

.social-media a {
  text-decoration: none;
}

.social-media .fa.fa-twitch {
  font-size: 0.9em;
}

.display-options {
  text-align: center;
}

/** Navigation **/
ul.nav {
  text-align: center;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-bottom: 16px;
}

ul.nav li {
  display: inline-block;
  margin: 0 16px;
}

/** Post styles **/
div.post {
  margin-top: 32px;
  margin-bottom: 10px;
  border-top-style: dashed;
  border-top-width: 1px;
}

.title {
  text-align: center;
}

div.post p.category {
  font-family: 'Raleway', Verdana, sans-serif;
  font-weight: 300;
  font-size: 1em;
  text-align: center;
  text-transform: uppercase;
}

div.post p.title {
  font-family: 'Raleway', Verdana, sans-serif;
  font-weight: 300;
  font-size: 1.5em;
  line-height: 1.6875;
  margin-top: 14px;
  margin-bottom: 14px;
}

div.post p.date {
  margin-top: 0;
  font-size: 0.875em;
  text-align: center;
}

div.post p.tags {
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: center;
}

div.post div.code {
  font-family: monospace;
  padding: 16px;
  font-size: 1em;
  line-height: 1.75;
  margin-top: 24px;
  margin-bottom: 24px;
  overflow: scroll;
  max-height: 250px;
}

div.post div.code pre {
  margin: 0;
}

/** Typography **/
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 8px;
  font-family: 'Raleway', Verdana, sans-serif;
}

h1 {
  font-size: 1.75em;
  line-height: 2.625;
  margin-top: 26px;
}

h2 {
  font-size: 1.5em;
  line-height: 2.25;
  margin-top: 26px;
}

h3 {
  font-size: 1.25em;
  line-height: 1.875;
  margin-top: 27px;
}

h4 {
  font-size: 1.125em;
  line-height: 1.6875;
  margin-top: 28px;
}

h5 {
  font-size: 1em;
  line-height: 1.5;
  margin-top: 29px;
}

h6 {
  font-size: 0.9375em;
  line-height: 1.375;
  margin-top: 31px;
}

p {
  margin-bottom: 10px;
  line-height: 1.75;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: #309fe0;
}

/** Buttons **/
.btn {
  cursor: pointer;
  border-width: 1px;
  border-style: solid;
  padding: 8px 16px;
  display: inline-block;
}

.btn.btn-sm {
  padding: 4px 10px;
  font-size: 0.8125em;
}

/** Light Theme **/
.container {
  background: #f5f5f7;
  color: #000000;
}

.container hr {
  background-color: #404042;
}

.container div.post {
  border-top-color: #e6e6ea;
}

.container div.post p.category {
  color: #999999;
}

.container div.post p.date {
  color: #999999;
}

.container div.post div.code {
  border: 1px solid #e6e6ea;
  background-color: #f1f1f1;
}

.container div.post p.tags {
  border-top: 1px dashed #e6e6ea;
  border-bottom: 1px dashed #e6e6ea;
}

/** Dark Theme **/
.container.dark {
  background: #282829;
  color: #fff;
}

.container.dark hr {
  background-color: #404042;
}

.container.dark div.post {
  border-top-color: #404042;
}

.container.dark div.post div.code {
  border: 1px solid #404042;
  background-color: #323233;
}

.container.dark div.post p.tags {
  border-top: 1px dashed #404042;
  border-bottom: 1px dashed #404042;
}

.container.dark p.content {
  line-height: 1.875;
}
