/* Colors: */
body {
  color:#000;
  background-color: #fff8e7;
}

header {
  background-color: #000;
  color: #fff8e7;
  a { color: #fff8e7; }
}
.article-meta, .menu a { background-color: #fff8e7; }
.page-content {
  a:link    { color: #00759c; }
  a:visited { color: #6747AA; }
  a:hover   { color: #000; }
  a:active  { color: #000; }
  .title {
    a { text-decoration: none; }
    a:link    { color: #000; }
    a:visited { color: #000; }
    a:hover   { color: #00759c; }
    a:active  { color: #00759c; }
  }
}

footer {
  color: #fff;
  background-color: #302e2b;
  a { text-decoration: none; }
  a:link    { color: #66d2f5; }
  a:visited { color: #CBAFFA; }
  /*a:active { color: #f11 }*/
}

/* main body */
body {
  margin: 0;
  line-height: 1.4;
  font-size: 20px;
  min-height: 100vh;
  
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.wrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: 840px;
  padding: 0px 15px;
}

.page-content {
  padding: 0 0 2px 0;
  .wrapper {
    padding: 20px;
  }
  img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 55%;
    border: 1px solid black;
  }
  h1,h2,h3,h4,h5,h6 { font-weight: 600; }
  h1 { font-weight: 600; margin: 32px 0 22px; }
  h2 { font-weight: 600; margin: 28px 0 22px; }
  h3 { font-weight: 600; margin: 23px 0 22px; }
  h4 { font-weight: 600; margin: 28px 0 24px; }
  h5 { font-weight: 600; margin: 28px 0 27px; }
  h6 { font-weight: 600; margin: 32px 0 30px; }
}

p {
  margin-top: 0px;
  margin-bottom: 22px;
}

sup {
  line-height: 0;
}

.page-tag-list {
  margin-top: 80px;
  margin-bottom: 12px;
  font-size: 16px;
}
.pagelist {
  font-size:20px;
  line-height: 28px;
}

/* pagination */

.post-separator {
  border: none;
  color: #000;
  background-color: #000;
  height: 3px;
  margin: 50px 0 44px;
}
.allposts-link {
  padding-bottom: 18px;
}

/* header and footer areas */
header {
  font-weight: 600;
  a {
    line-height: 56px;
    text-decoration: none;
  }
}

.site-title {
  font-size: 26px;
  /*letter-spacing: -1px;*/
}
.smenu {
  float: right;
  font-size: 19px;
  a {
    margin-left: 16px;
  }
}

.article-meta, .menu a {
  text-decoration: none;
  padding: 0px;
  border-radius: 5px;
  margin-bottom: 30px;
  font-size: 16px;
  .title {
    font-size: 48px;
    font-weight: 600;
    margin: 0px;
  }
  .post-subtitle {
    padding-left: 2px;
    margin-bottom: 15px;
    color: #666;
    font-size: 15px;
  }
  .date-and-author {
    padding-left: 2px;
  }
}
.sepbullet { margin: 0 5px; }

.menu { padding: 0; }
.menu li { display: inline-block; }

footer {
  width: 100%;
  padding: 22px 0px 22px 0px;
  font-size: 16px;
  border-top: 1px solid black;

}

hr {
  border-style: dashed;
  color: #000;
}

/* code */
pre {
  background-color: #f9f9f9; 
  border: 1px solid #000;
  box-shadow: 3px 3px 3px #888;
  padding: 1em;
  overflow-x: auto;
}
code { }
pre code { background: none; }

/* misc elements */
img, iframe, video { max-width: 100%; }
/*main { hyphens: auto; }*/
blockquote {
  border-left: 5px solid #bfb8a8;
  padding: 0px 1em 0px;
  margin: 0px 0px 22px 0px;
  font-style: italic;
}

table {
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee; }
