/* === Core Styles === */

html {
  border-top: 8px solid #FFCFD3;
}

body {
  background-color: #ffffff;
  color: black;
  font-size: 15px;
  /*font-weight: 100;*/
  line-height: 1.6em;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: subpixel-antialiased;
}

body * {
  max-height: 1000000em;
}

.feed-link {
  display: inline;
  margin: 0 0 0 10px;
  float: right;
}

h1,
h2,
h3,
h4,
p,
li,
dt,
dd {
  font-family: "Nunito", "Open Sans", "Helvetica Neue", Helvetica, Arial, "Nimbus L", sans-serif;
}

@font-face {
  font-family: Caveat;
  src: url("/assets/fonts/Caveat-VariableFont_wght.ttf");
}

@font-face {
  font-family: Nunito;
  src: url("/assets/fonts/Nunito-VariableFont_wght.ttf");
}

h1,
.post-meta {
  text-align: left;
}

a {
  color: black;
  text-decoration: none;
  /*transition: color ease 0.7s;
  -webkit-transition: color ease 0.7s;*/
}

a:focus,
a:hover {
  color: #427ea3;
  text-decoration: none;
}

/* a:visited */

p,
li,
dt,
dd {
  font-size: 18px;
  font-weight: 300;
  line-height: 30px;
}

dt {
  font-weight: 400;
}

li {
  padding-left: 0.8em;
}

pre {
  font-family: "Consolas", Courier, monospace;
  font-size: 1em;
  line-height: 1.2em;
  padding: 1em;
  white-space: pre;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
  background-color: rgba(0, 0, 0, 0.05);
}

p code {
  font-family: "Consolas", Courier, monospace;
  font-size: .8em;
  line-height: 1.2em;
}

h1 {
  color: #151515;
  font-family: "Caveat", "Merriweather", "Open Sans", "Helvetica Neue", Helvetica, Arial, "Nimbus L", sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 42px;
  margin: 0;
  padding: 0;
}

#site-head,
article,
article.preview,
a.archive-link,
.article-nav {
  margin: 20px auto;
  max-width: 600px;
  width: 90%;
}

#site-head img {
  max-width: 100%;
}

article.preview {
  margin-bottom: 4em;
}

article.preview p.readmore {
  margin-top: 1em;
  text-transform: uppercase;
  font-weight: 400;
}

a.read-more {
  background: #FFCFD3;
  color: black;
  padding: 5px;
  border-radius: 7px;
  display: inline-block;
  text-decoration: none !important;
}

a.read-more:hover {
  background: #fa89c3;
  padding: 5px;
  color: white;
  border-radius: 7px;
  text-decoration: none;
}

/* === Header === */
#blog-logo {
  display: block;
  max-width: 300px;
  margin: 50px auto 0;
  /* 50px auto 0 */
  text-align: center;
}

#blog-logo div.bloglogo {
  width: 300px;
  /* 100px */
  height: 300px;
  border-radius: 50%;
  -webkit-background-size: cover !important;
  background-size: cover !important;
  background-position: center center !important;
  background-color: white;
}

h1.blog-title,
h2.blog-title,
h2.blog-description {
  text-align: center;
}

h1.blog-title,
h2.blog-title {
  font-size: 48px;
  line-height: 52px;
  margin-top: 10px;
  margin-bottom: 30px;
  padding: 0;
}

h2.blog-description {
  border-bottom: 1px solid #ecf0f1;
  border-top: 1px solid #ecf0f1;
  margin-bottom: 2em;
  padding: .5em 1em;
  line-height: 1.2em;
}

section.footer-description {
  margin-bottom: 1em;
}

header.article-header,
header.page-header {
  margin-bottom: 3em;
}

/* === Body === */
section.author,
section.share {
  width: 100%;
  text-align: left;
  text-transform: none;
}

section.author {
  margin-top: 10px;
}

section.share {
  margin-top: 1em;
  border-top: 1px solid #ecf0f1;
  padding-top: 1em;
  text-align: right;
}

section.author h4,
section.author p,
section.share p {
  padding: 0;
  margin: 0;
}

section.author h4 {
  font-weight: 400;
  margin-bottom: 4px;
}

section.author p.attr,
section.share p.info {
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
}

section.share p.info.prompt {
  top: -5px;
  position: relative;
}

section.author p.attr {
  margin-bottom: 2px;
}

section.share p.info {
  display: inline-block;
}

section.author p.bio {
  font-size: 16px;
  margin-left: 82px;
  line-height: 1.4em;
}

blockquote {
  font-size: 1.3em;
  font-weight: 300;
  line-height: 1.2em;
  text-transform: normal;
  border-left: 0.5em solid rgba(0, 0, 0, 0.05);
  margin-left: 1em;
  padding-left: 1em;
}

blockquote p {
  /* font-size: 1em; */
  /* 1.3em */
  font-weight: 300;
  /* line-height: 1.2em;*/
  text-transform: normal;
}

.post-meta {
  color: black;
  font-family: "Nunito", "Open Sans", "Helvetica Neue", Helvetica, Arial, "Nimbus L", sans-serif;
  font-size: 20px;
  font-weight: 300;
  margin-top: 1em;
  margin-bottom: 1.2em;
  /*text-transform: uppercase;*/
}

.tags {
  font-size: 16px;
  margin-bottom: 0.6em;
}

.tags a {
  text-decoration: underline;
}

div.authorimage {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  -webkit-background-size: cover !important;
  background-size: cover !important;
  background-position: center center !important;
  margin-right: 10px;
  float: left;
}

h1.post-title a,
h1.blog-title a,
h2.blog-title a,
h2.post-title a {
  color: #151515;
  transition: color ease 0.7s;
  -webkit-transition: color ease 0.7s;
}

h1.post-title a:focus,
h1.post-title a:hover,
h1.blog-title a:focus,
h1.blog-title a:hover,
h2.blog-title a:focus,
h2.blog-title a:hover,
h2.post-title a:focus,
h2.post-title a:hover {
  color: #3498db;
  text-decoration: none;
}

h2 {
  margin-top: 2em;
  text-transform: uppercase;
  font-weight: 300;
}

h1.post-title,
h2.post-title {
  font-family: "Nunito";
  color: #151515;
  font-size: 25px;
  font-weight: 400;
  line-height: 42px;
  margin: 0;
  padding: 0;
  text-transform: none;
  text-align: left;
}

h2.blog-title {
  color: #151515;
  font-weight: 400;
  text-transform: none;
  text-align: center;
}

.post-excerpt p a {
  text-decoration: underline;
}

section.post-content a,
section.post-content a:hover {
  text-decoration: underline;
}

section.post-excerpt img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

section.post-content img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

section.preview.archive h2 {
  text-align: left;
}

section.author {
  overflow: hidden;
}

img.userimage {
  width: 70px;
  max-width: 70px;
  max-height: 70px;
  border-radius: 50%;
  margin-right: 10px;
  float: left;
}

/* === Footer === */
/*footer {
  background: rgba(0, 0, 0, 0.05);
  margin: 4em 0 0;
  padding: 2em 0;
  text-align: center;
}*/

.site-footer {
  background: url(../../../../assets/images/blog-footer.png) repeat-x center top;
  padding: 200px 2em 1em 2em;
  margin: 0 0;
  color: white;
  text-shadow: #000000 1px 0 10px, #000000 1px 0 10px;
}

footer section {
  font-family: "Nunito", "Open Sans", "Helvetica Neue", Helvetica, Arial, "Nimbus L", sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0 auto;
  max-width: 600px;
  /*text-transform: uppercase;*/
  width: 90%;
  text-align: center;
}


footer .copyright p {
  margin: 0;
  font-family: "Nunito", "Open Sans", "Helvetica Neue", Helvetica, Arial, "Nimbus L", sans-serif;
  font-weight: 300;
  font-size: 18px;
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
}

footer.post-footer {
  background: none;
  border-top: 1px solid #ecf0f1;
  margin-top: 1em;
}

.site-footer a {
  color: white;
  text-decoration: underline;
}

.site-footer a:hover {
  color: white;
  text-decoration: underline;
}

/* === Navigation and Pagination === */
nav {
  border-bottom: 1px solid #ecf0f1;
  border-top: 1px solid #ecf0f1;
  margin-bottom: 2em;
  text-align: center;
  margin: 20px auto 2em auto;
  max-width: 600px;
}

nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  overflow: hidden;
  text-align: center;
}

nav ul li {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  padding: 0 .5em;
  text-align: center;
  text-transform: uppercase;
}

nav ul li a {
  display: block;
  padding: .5em 0;
  text-decoration: none;
}

nav.menu {
  margin-bottom: 2.5em;
}

nav.menu li {
  margin: 0 .5em;
  padding: 0;
}

@media only screen and (min-width: 320px) and (max-width: 662px) {
  nav.menu li {
    display: inline-block;
  }
}

nav.pagination li:first-child {
  margin-left: 0;
  margin-right: 0;
  text-align: right;
}

nav.pagination li:last-child {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

a.archive-link {
  border-bottom: 1px solid #ecf0f1;
  border-top: 1px solid #ecf0f1;
  display: block;
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 3em;
  margin-top: 3em;
  padding: .5em 0;
  text-align: center;
  text-transform: uppercase;
}

.pagination {
  position: relative;
  width: 90%;
  max-width: 600px;
  text-transform: uppercase;
  font-size: 20px;
  color: #7f8c8d;
  text-align: center;
  padding: 0.5em 0;
}

.pagination a {
  color: #3498db;
}

.older-posts,
.newer-posts {
  position: absolute;
  display: inline-block;
  padding: 0;
  text-decoration: none;
  transition: color ease 0.7s;
  -webkit-transition: color ease 0.7s;
}

.older-posts {
  right: 0;
}

.page-number {
  display: inline-block;
  padding: 0;
  margin: 0;
}

.newer-posts {
  left: 0;
}

.older-posts:hover,
.newer-posts:hover {
  color: #02090e;
  text-decoration: none;
}

/* === Extras === */
.gist {
  margin-top: 1em;
  margin-bottom: 1em;
  border-collapse: collapse !important;
}

.gist .gist-file {
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.gist .gist-file .gist-meta {
  font-family: "Nunito", "Open Sans", "Helvetica Neue", Helvetica, Arial, "Nimbus L", sans-serif !important;
  font-weight: 300 !important;
  text-transform: uppercase !important;
  display: none !important;
  /* Hide GitHub attribution */
}

.gist .gist-file .gist-meta a:visited {
  color: #3498db !important;
}

.gist .gist-file .gist-data {
  background: #fdfdfd !important;
  border-bottom: none !important;
  /* Hide GitHub attribution */
}

.gist .gist-file .gist-data .line-numbers {
  border-right: none !important;
}

.gist .gist-file .gist-data .line-numbers,
.gist .gist-file .gist-meta {
  background-color: rgba(0, 0, 0, 0.05) !important;
}

.gist .gist-file .gist-data .line-numbers,
.gist .gist-file .gist-data .line-pre {
  line-height: 1.2em !important;
}

.hidden {
  text-indent: -9999px;
  visibility: hidden;
  display: none;
}

@font-face {
  font-family: 'icons';
  src: url('../fonts/icons.eot');
  src: url('../fonts/icons.eot?#iefix') format('embedded-opentype'), url('../fonts/icons.woff') format('woff'), url('../fonts/icons.ttf') format('truetype'), url('../fonts/icons.svg#icons') format('svg');
  font-weight: normal;
  font-style: normal;
}

.icon-ghost,
.icon-feed {
  font-family: 'icons';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  text-decoration: none;
}

.icon-ghost:before {
  content: "\e000";
}

.icon-feed:before {
  content: "\e001";
}

.icon-ghost {
  font-size: 12px;
  position: relative;
  top: -1px;
}

/* Comments */
#disqus_thread {
  color: #787878;
}

/* Tables */
table {
  width: 100%;
  font-family: "Nunito", "Helvetica Neue", Helvetica, Arial, "Nimbus L", sans-serif;
  border-collapse: collapse;
  margin: 1em 0 3em;
}

table td {
  padding: .5em;
}

table thead {
  font-weight: 600;
  border-bottom: 1px solid #ecf0f1;
}

table tbody tr:nth-child(even) {
  background-color: #ecf0f1;
  border-top: 1px solid #e3e9eb;
  border-bottom: 1px solid #e3e9eb;
}

table tfoot {
  border-top: 1px solid #ecf0f1;
}

/* === Media Queries === */
@media only screen and (min-width: 320px) and (max-width: 500px) {
  footer section span.copyright {
    display: block;
  }

  nav li {
    width: auto;
  }

  .older-posts,
  .newer-posts {
    position: static;
  }

  .newer-posts {
    margin-bottom: 10px;
  }

  .older-posts {
    margin-top: 10px;
  }

  .page-number {
    display: block;
  }
}

.nav li.active a {
  color: #02090e;
}

.clear {
  clear: both;
}

.share .A {
  width: 50%;
  float: left;
}

.share .B {
  width: 50%;
  float: left;
}

.share p.tag {
  text-align: left;
  /*font-family: "Open Sans Condensed", "Open Sans", "Helvetica Neue", Helvetica, Arial, "Nimbus L", sans-serif;*/
  font-size: 16px;
  text-transform: none;
  position: relative;
}

.pagination.post {
  border: none;
  width: 100%;
}

.tag a {
  text-decoration: none !important;
}

.tag a:before {
  content: "#";
}

/*.tag a:after {
  content: ", ";
}*/

.tag a:last-child:after {
  content: "";
  /* was "" */
}

hr {
  border: 1px solid #ecf0f1;
}

.footnotes p {
  margin: 0;
}

.404-error,
.404-search {
  text-align: center;
}

/* IMAGES */

img {
  height: auto;
  max-width: 100%;
  display: block;
  margin: auto;
}

#toolbar,
#toolbar a {
  font-size: 12px !important;
}

#toolbar li {
  padding: 0;
  font-family: Georgia, sans-serif;
}

.tab {
  width: 100%;
  line-height: 1;
  border-bottom: 1px solid #F1F1F1;
  margin-bottom: 1.2308em;
}

.tab ul {
  padding: 0;
  margin: 0;
}

.tab li {
  display: inline-block;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.tab a {
  background: #F1F1F1;
  border-radius: 6px 6px 0px 0;
  color: #555555;
  text-align: center;
  padding: 8px 14px;
  display: inline-block;
  margin: 0 5px;
}

.subnav {
  display: none;
}

/* CATEGORY LIST */

.category-list ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  border: 1px solid #fa89c3;
  padding: 15px;
  position: relative;
}

.category-list li {
  font-size: 90%;
  margin-right: 10px;
  padding: 0;
  position: relative;
  z-index: 2;
}

.category-list ul li a {
  text-decoration: underline;
}

/* TAGS LIST */

.tags-list ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  position: relative;
  max-height: 150px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #fa89c3;
  padding: 15px;
}

.tags-list li {
  font-size: 90%;
  margin-right: 10px;
  padding: 0;
  position: relative;
  z-index: 2;
}

.tags-list ul li a {
  text-decoration: underline;
}

/* TOC */

.toc-wrapper {
  font-family: "Nunito", "Open Sans", "Helvetica Neue", Helvetica, Arial, "Nimbus L", sans-serif !important;
}

/* MASTODON COMMENTS */

mastodon-comments a.link {
  text-decoration: underline;
}