/* Basic HTML */

:root {
  --main-bg: rgb(250, 244, 236);
  --main: rgb(47, 46, 43);
  --link: #2727d9;
  --link-bright: #980909;
  --muted: #afa598;
  --muted-2: #ccc;
  --muted-active: #fcfaf8;
  --dark-bg: #2a3644;
  --bright: #e5eff5;
  --border-radius: 5px;
  --h1-title: 2.625rem;
  --h1: 2.04rem;
  --h2: 1.625rem;
  --h3: 1.291rem;
  --h4: 1rem;
}

html {
  font-size: 22px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  ext-rendering: optimizelegibility;
  line-height: 1.5;
  background-color: rgb(250, 244, 236);
  color: rgb(47, 46, 43);
  word-wrap: break-word;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body.site {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

body.site-honestly-undefined {
  background: #f5f4f0;
}

.site-content {
  flex: 1;
}

blockquote {
  font-family: Georgia, Times, "Times New Roman", serif;
  font-style: oblique;
  font-size: 1rem;
  border-left: 6px solid var(--link-bright);
  padding: 0.2rem 2rem 0.25rem 1.5rem;
  margin: 0;
}

p { margin-bottom: 1.3rem; }

a:link, a:visited {
  color: #292998;
  text-decoration: none;
}
a:hover {text-decoration: underline;}

article a {
  border-bottom: 1px solid #2929982b;
}

article a:hover {
  border-bottom: 1px solid #29299887;
  text-decoration: none;
}

nav { font-size: smaller; }

nav a:link, nav a:visited { color: #980909; }

.highlight { font-size: 16px; }
.highlight pre {padding: 0.5rem; overflow: auto;}

hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 2em 0;
}

p code, li code {
  background-color: #fbefde;
  padding: 0 3px;
  border-radius: 4px;
}

/* Main container */

.container-fluid {
  max-width: 850px;
  margin: 0 auto;
}

.container {
  max-width: 40rem;
  padding: 21px 15% 21px 15%;
}

.container-center {
  margin: auto;
}

@media (max-width: 850px) {
  .container, .container-fluid {
    margin-right: auto;
    margin-left: auto;
    padding: 21px;
  }

  .container-fluid .primary-title {
    margin-top: 0.5rem;
  }
}

figure {
  margin: 0;
  font-size: 80%;
}

figure figcaption p {
  margin-top: 0;
}

/* Honestly Undefined Container */

.container-hu {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  padding: 21px;
  text-align: center;
}

.article-meta-hu h1 {
  margin: 10px 0;
}

.article-meta-hu p {
  margin-bottom: 0.25em;
}

.article-meta-hu hr {
  margin: 1.25em 0;
}

nav.nav-hu {
  margin: 0.25em 0 1em;
}

nav.nav-hu a {
  background-color:  #f4e2b626;
  border: 1px solid #cbc3af;
  padding: 3px 9px 3px 10px;
  border-radius: 3px;
  margin: 0 5px;
  font-size: 75%;
  color: inherit;
}

nav.nav-hu a:hover {
  background-color: #ad904c33;
  text-decoration: none;
}


/* Images wrapped in <strong> are wide when possible */

figure.wide img,
strong img {
  max-width: 1000px;
}

.highlight {
  width: 1000px;
}

@media (max-width: 1231px) {
  figure.wide img,
  strong img {
    /* margin-left: 0; */
    max-width: 100%;
  }
  .highlight {
    width: 100%;
  }
}


/* Typography */
h1, .h1 {
  font-weight: 900;
  line-height: 1;
  font-size: 3.157rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 714px) {
  h1, .h1 {
    margin-top: 0;
    font-size: 2.369rem;
  }
}

h2, .h2 {
  font-weight: 700;
  line-height: 1;
  font-size: 2.369rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

@media (max-width: 714px) {
  h2, .h2 {
    font-size: 1.777rem;
    margin-bottom: 0;
  }
}

h3, .h3, .homepage-post h2, .homepage-post .h2 {
  font-weight: 700;
  line-height: 1;
  font-size: 1.777rem;
  margin-top: 2rem;
  margin-bottom: 1.4rem;
}

@media (max-width: 714px) {
  h3, .h3, .homepage-post h2, .homepage-post .h2 {
    font-size: 1.333rem;
    margin-bottom: 0;
  }
}

h4, .h4, .homepage-post h3, .homepage-post .h3 {
  font-weight: 700;
  line-height: 1;
  font-size: 1.333rem;
  margin-top: 2rem;
  margin-bottom: 1.4rem;
}

@media (max-width: 714px) {
  h4, .h4, .homepage-post h3, .homepage-post .h3 {
    font-size: 1rem;
    margin-bottom: 0;
  }
}

small, .small { font-size: 0.75em; line-height: 1.333; }
.text-muted { color: #afa598; }
.post-date {
  font-size: 0.75rem;
  font-weight: normal;
  text-transform: uppercase;
}
.text-muted a, .text-muted a:visited { color: inherit; }

img {
  max-width: 100%;
}

li {
  line-height: 1.75rem;
}

h1 a:link, h1 a:visited, h1 a:hover, a.unstyled:link, a.unstyled:visited, a.unstyled:hover {
  color: inherit;
  text-decoration: none;
}

footer {
  text-align: center;
  margin: 4em 0 0 0;
  padding: 2rem 1rem 1rem;
  background-color: #f4e2b626;
  border-top: 1px solid #cbc3af;
}

p.container-about {
  max-width: 700px;
}

/* Bookshelf */
.book {
  display:flex;
  margin-top:2rem
}

.book .book_descriptuon h4 {
  margin:0 0 1rem;
  font-style: inherit;
  font-size:1rem;
  font-weight:bold;
  line-height:1.5
}

.book .book_cover_container {
  width:100px;
  flex:0 0 100px;
  padding-top:6px;
  padding-right:1.5rem;
}

.book .book_cover_container .book_cover {
  width:100%;
  height:auto
}

@media only screen and (max-width: 600px) {
  .book {
    flex-direction: column;
  }
  .book .book_descriptuon h4 {
    margin-top: 1rem;
  }
}

.fancytitle {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: small;
}

.fancytitle:before,
.fancytitle:after {
  content: '';
  border-top: 1px solid #dbd1c3;
  margin: 0 20px 0 0;
  flex: 1 0 20px;
}

.fancytitle:after {
  margin: 0 0 0 20px;
}

/* Pagination */
ul.pagination {
  list-style: none;
  padding-left: 0;
}

li.page-item {
  display: inline-block;
  padding: 4px;
}

/* Footnotes */
.footnotes {
  font-size: 16px;
}

.footnotes li {
  line-height: 1rem;
}

a.footnote-return {
  color: inherit;
}


/* Utilities */
.mb2 { margin-bottom: 2rem; }
.mb3 { margin-bottom: 3rem; }
.mb4 { margin-bottom: 4rem; }
.mt2 { margin-top: 2rem; }
.mt3 { margin-top: 3rem; }
.mt4 { margin-top: 4rem; }
.capitalize { text-transform: capitalize; }
.half-hidden {opacity: 50%; }
