/* jbeau theme - minimal blog */

:root {
  --text-color: #333333;
  --background-color: #f9f8e4;
  --accent-color: #a50067;
  --text-color-rgb: 26, 26, 26;
  --scrollbar-width: 0px;
}

html {
  font-family: "Work Sans", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body {
  color: var(--text-color);
  background: var(--background-color);
  word-wrap: break-word;
  margin: 0;
}

.clear {width: 100%;clear: both;float: none;display: block;height: 0}

.small,
.caption {font-size: .8125rem;color: var(--text-color);font-weight: 300;opacity:0.5}

.caption {
  display: block;
  padding: 0 2rem;
  margin: 1rem auto 1.6666rem;
  max-width: 1060px;
  font-style: normal;
  text-align: center;
}

.right {float: right;}
.left {float: left;}

div {
  margin: 0 auto;
  overflow: visible;
  position: relative;
}

div.header {
  font-family: "Roboto Slab", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  padding: 1rem 2rem 0.4rem;
  position: fixed;
  width: 100%;
  max-width: 1060px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  background: var(--background-color);
  box-sizing: border-box;
  z-index: 100;
  justify-content: space-between;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.header.position-top {top: 0;}
.header.position-bottom {bottom: 0;}

.header.alignment-center {justify-content: center;}
.header.alignment-left {justify-content: flex-start;}
.header.alignment-right {justify-content: flex-end;}
.header.alignment-justified {justify-content: space-between;}

.main {width: 66.6666%;margin: 0; padding-top: 10px;}
.container {box-sizing: border-box;max-width: 1060px;padding: 0 2rem;margin-top: 82px;}
.entry {margin: 0 0 192px}

/* Entry Layout - Two Column */
.entry-layout {
  position: relative;
}

.entry-main {
  width: 100%;
}

.entry-sidebar {
  position: absolute;
  top: 0;
  box-sizing: border-box;
  width: 50%;
  left: 100%;
  padding-left: 2rem;
  font-size: 1.0rem;
  line-height: 1.5;
  color: rgba(var(--text-color-rgb), 0.7);
}

.entry-sidebar p {
  margin: 0 0 1rem;
}

.entry-sidebar .small {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* LAYOUT */

.margin {
  position: absolute;
  box-sizing: border-box;
  width: 50%;
  left: 100%;
  padding-left: 2rem;
}

.margin blockquote {margin: 3px 0;padding: 3px 6px;font-size: .875em;line-height: 18px;}
.margin blockquote p {margin: 0}

.margin p,
.column p {margin-top: 0}

.margin img,
.column img {margin-top: 6px}

.margin p {font-size: 0.8em;color: rgba(var(--text-color-rgb), 0.5);}

.wide {
  width: calc(100vw - var(--scrollbar-width));
  margin-left: calc((100vw - var(--scrollbar-width) - 1060px) * -0.5);
  margin-right: 0;
}

.wide img {display: block;margin-left: auto;margin-right: auto;}

@media screen and (max-width: 1146px) {
  .wide {
    margin-left: -2rem;
  }
}

.wide.left, .wide.right {
  width: 150%;
  margin-left: 0;
  margin-right: -25%;
  float: none;
  overflow: auto;
}

.column {
  box-sizing: border-box;
  float: left;
}

.column .caption {margin-bottom: 6px}

.column.two {
  width: 50%;
  padding-right: 12px;
}

.column.two + .column.two {
  padding: 0 0 0 12px;
}

.column.three {width: 33.333333%;padding: 0 16px 0 0;}
.column.three + .column.three {padding: 0 8px}
.column.three + .column.three + .column.three {padding: 0 0 0 16px}

.column.four {width: 25%;padding-right: 18px;}
.column.four + .column.four {padding: 0 12px 0 6px;}
.column.four + .column.four + .column.four {padding: 0 6px 0 12px;}
.column.four + .column.four + .column.four + .column.four {padding: 0 0 0 18px;}

.column h1,
.column h2 {margin-bottom: -12px}

/* TEXT */

p, li {
  position: relative;
  margin: 1.666em 0;
}

h1 {font-family: "Roboto Slab", sans-serif; font-size: 1.5625em;line-height: 36px;font-weight: 600;margin-bottom: 24px}

h2, h3, h4, h5, h6 {font-family: "Roboto Slab", sans-serif; font-size: 1.5em;font-weight: 500;line-height: 24px;margin: 48px 0 24px}

blockquote {
  padding: 0 0 0 12px;
  color: var(--text-color);
  opacity: 0.666;
  border-left: 3px solid rgba(var(--text-color-rgb), 0.2);
  margin-left: 0;
}

big {color: var(--text-color);font-size: 2em;line-height: 48px;display: block;}

/* LINKS */

a {
  color: var(--accent-color);
  text-decoration: underline;
}

a:hover {
  opacity: 0.75
}

a::selection {
  background: #b3d4fd;
}

a::-moz-selection {
  background: #b3d4fd;
}

a:active {
  opacity: 0.5
}

a.tag {
  padding-left: 0em;
  margin-left: .5em;
  text-decoration: none;
}

/* RULE */

hr {
  width: 100%;
  opacity: 0.1;
  margin: 24px auto -1px;
  border: none;
  border-bottom: 3px double var(--text-color);
  padding-bottom: 1.4em;
  text-shadow: none;
  box-shadow: none;
}

/* CODE */

code {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  margin: 0;
  font-size: 0.85em;
  background: rgba(0, 0, 0, .03);
  border-radius: 3px;
  line-height: 24px;
}

p code {
  line-height: 1em;
  padding: 2px;
  margin-left: -2px;
  display: inline-block;
}

pre code {
  display: block;
  white-space: pre-wrap;
}

pre code {
  display: block;
  padding: 12px 18px;
  margin: 0 0 0 0;
  background-color: rgba(0, 0, 0, .02);
}

/* TABLES */

table {
  display: block;
  width: auto;
  overflow: auto;
  word-break: normal;
  word-break: keep-all;
  border-collapse: collapse;
  border-spacing: 0;
  box-sizing: border-box;
  font-size: .9375em;
  line-height: 24px;
}

tr {box-sizing: border-box;border-top: 1px solid var(--text-color);padding: 0}
th, td {box-sizing: border-box;border: 1px solid var(--text-color);padding: 5px 12px 6px}

/* LISTS */

ul, ol {
  margin-left: 0;
  padding-left: 1.25rem;
  list-style-position: outside;
  margin-bottom: 1.6667rem;
}

li {padding-left: 0.75rem}

ul {list-style: circle;}
ul.task-list {list-style-type: none;}

ul ul, ol ul, ol ol, ul ol {margin-bottom: 0}

li {margin: 0}

/* IMAGES */

img {vertical-align: middle;max-width: 100%;height: auto;border-radius: 5px;}

.image {
  position: relative;
  height: 0;
  padding: 0 0 35.504201681%;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

.image img {width: 100%}

.image_container {display: block}

.wide .image_container {margin: 0 auto}
.wide p {margin-top: 0}

/* VIDEOS & tweets */

iframe {width: 100%;}

.entry > iframe {margin: 24px 0 !important;}

/* HEADER & NAV */

#logo {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
}

#logo img {max-width: 36px;max-height: 36px;margin-right: 0.5rem}
#logo img.rounded {border-radius: 50%}
#logo:hover {opacity: 0.8}
#logo img:active {margin-top: 1px}

div.header a {margin-right: 1rem;color: var(--text-color);text-decoration: none}
div.header a:hover {text-decoration: underline;}
div.header .tags a {opacity: 1.0}

div.header a {opacity: 0.6666;transition: opacity 0.2s ease}
div.header:hover a {opacity: 1}

div.header .nav {
  display: flex;
  margin: 0;
  align-content: baseline;
  flex-shrink: 0;
}

div.header .tags {margin: 0 2rem;flex-grow: 1}

.nav a {
  order: 1;
}

.nav a.search-icon {
  order: 2;
  margin-right: 0;
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  position: relative;
  top: 4px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg%20id=%22icon-search%22%20xmlns=%22http://www.w3.org/2000/svg%22%20xmlns:xlink=%22http://www.w3.org/1999/xlink%22%20x=%220px%22%20y=%220px%22%20viewBox=%220%200%208%208%22%20xml:space=%22preserve%22%3E%3Cpath%20fill=%22%23333333%22%20id=%22search%22%20d=%22M7.99,6.928L5.847,4.784c0.289-0.476,0.458-1.033,0.458-1.63C6.305,1.412,4.895,0,3.152,0%20C1.411,0,0,1.412,0,3.154c0,1.741,1.412,3.151,3.153,3.151c0.597,0,1.154-0.169,1.63-0.458l2.145,2.146L7.99,6.928z%20M1.203,3.154%20c0.002-1.077,0.874-1.949,1.951-1.951c1.076,0.002,1.948,0.874,1.949,1.951C5.101,4.23,4.229,5.103,3.153,5.103%20C2.075,5.103,1.205,4.23,1.203,3.154z%22/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.date {opacity: 0.7; 10px;text-decoration: none;}
.date:empty {display: none;}

/* Pagination */
.pagination {
  text-align: center;
  margin: 72px 0 144px;
  font-size: .875em;
  color: var(--text-color);
  opacity: 0.5
}

.pagination a {margin: 0 1em;background: none}

/* Post Navigation */
.post-navigation {
  text-align: center;
  margin: 3rem 0;
}

.post-navigation .separator {
  margin: 0 1rem;
  opacity: 0.5;
}

/* Footnotes */
.entry.on-index-page .footnotes {display: none;}

.footnotes > ol:before {
  content: "Footnotes";
  position: absolute;
  top: 0;
  left: 0;
}

.footnotes {
  margin-top: 4rem;
}

.footnotes > ol {
  position: relative;
  padding: 0;
  font-size: 0.875em;
  opacity: 0.8;
  padding-left: 110px;
}

.footnotes > ol li {
  margin-left: 20px;
  padding-left: 10px;
}

.footnotes > ol li::marker {
  color: var(--text-color);
}

.footnote-back {text-decoration: none;margin-left: 0.5rem}
.footnote-back:before {content: "["}
.footnote-back:after {content: "]"}
.footnote-ref {text-decoration: none;font-variant-numeric: tabular-nums;}
.footnote-ref sup {line-height: 0}
.footnote-ref sup:before {content: "["}
.footnote-ref sup:after {content: "]"}

.entry [id] {
  scroll-margin-top: 8rem;
}

hr.minimal,
.footnotes hr {border-bottom: 1px solid;}

.footnotes > ol:before,
.left-label h5 {
  font-size: 0.875em;
  font-weight: 600;
  color: rgba(var(--text-color-rgb), 0.5);
  margin-bottom: 24px;
}

/* Search */
input#search,
input[type="search"] {
  font-size: 1em;
  padding: .5em 1em;
  border-radius: 3em;
  width: 100%;
  color: var(--accent-color);
  box-sizing: border-box;
  border: 1px solid rgba(var(--text-color-rgb), 0.33);
  font-family: inherit;
}

input#search:focus,
input[type="search"]:focus {
  outline: none;
  border: 1px solid var(--accent-color);
}

/* Taxonomy / Tags */
.taxonomy-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.taxonomy-list li {
  display: inline-block;
  margin: 0 0.5rem 0.5rem 0;
  padding: 0;
}

.taxonomy-list a {
  text-decoration: none;
  padding: 0.25rem 0.75rem;
  background: rgba(var(--text-color-rgb), 0.05);
  border-radius: 3px;
  font-size: 0.875rem;
}

.taxonomy-list a:hover {
  background: rgba(var(--text-color-rgb), 0.1);
}

/* Blog listing */
.blog-listing {
  list-style: none;
  padding: 0;
}

.blog-listing .entry {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(var(--text-color-rgb), 0.1);
}

.blog-listing .entry:last-child {
  border-bottom: none;
}

.blog-listing .entry-title {
  margin-bottom: 0.5rem;
}

.blog-listing .entry-title a {
  text-decoration: none;
}

.blog-listing .entry-title a:hover {
  text-decoration: underline;
}

.blog-listing .entry-meta {
  font-size: 0.875rem;
  opacity: 0.6;
  margin-bottom: 1rem;
}

.blog-listing .entry-summary {
  margin-top: 1rem;
}

.blog-listing .read-more {
  font-size: 0.875rem;
  margin-top: 1rem;
  display: inline-block;
}

/* ARCHIVE PAGE */

.archive-page h1 {
  margin-bottom: 2rem;
}

.archive-page h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.archive-tags .taxonomy-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.archive-tags .taxonomy-list li {
  padding: 0;
  margin: 0;
}

.archive-tags .taxonomy-list .count {
  opacity: 0.5;
  font-size: 0.875rem;
}

.archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-list li {
  padding: 0.25rem 0;
  margin: 0;
}

.archive-list .year-header {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.archive-list .year-header:first-child {
  margin-top: 0;
}

.archive-item {
  display: flex;
  gap: 1rem;
}

.archive-date {
  opacity: 0.5;
  font-size: 0.875rem;
  min-width: 3.5rem;
}

.archive-item a {
  text-decoration: none;
}

.archive-item a:hover {
  text-decoration: underline;
}

/* INTRO */

.entry.intro {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(var(--text-color-rgb), 0.1);
}

/* FOOTER */

.site-footer {
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 4rem;
  font-size: 0.875rem;
  opacity: 0.5;
  border-top: 1px solid rgba(var(--text-color-rgb), 0.2);
}

.site-footer p {
  margin: 0;
}

/* HAMBURGER MENU */

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
  align-self: center;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-color);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* RESPONSIVE */

@media screen and (max-width: 1200px) {
  .container {margin-left: 0;margin-right: 0}
}

@media screen and (max-width: 840px) {
  .main, .margin {width: 100%;}
  .wide {width: 100vw;margin-left: -2rem;margin-right: -2rem}
  .wide.right {margin-left: 0;margin-right: 0;width: 100%;}
  .margin {left: auto;position: relative;padding-left: 0}

  .entry-sidebar {
    position: relative;
    left: auto;
    width: 100%;
    margin-top: 2rem;
    padding-top: 2rem;
    padding-left: 0;
    border-top: 1px solid rgba(var(--text-color-rgb), 0.1);
  }
}

@media screen and (max-width: 730px) {
  .hamburger {
    display: block;
  }

  div.header .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: var(--background-color);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 100;
  }

  div.header .nav.active {
    right: 0;
  }

  div.header .nav a {
    margin: 0.75rem 0;
    font-size: 1.125rem;
  }

  div.header .nav a.search-icon {
    margin-top: 1rem;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 99;
  }

  .nav-overlay.active {
    display: block;
  }

  .nav .right {clear: both;float: none;margin-top: 3px}
  a.search {margin-left: 0}
  .footnotes > ol {padding-left: 0;padding-top: 1rem}
  .left-label {padding-left: 0;padding-top: 3rem}
}

@media screen and (max-width: 400px) {
  div.header, .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .wide {width: 100vw;margin-left: -1rem;margin-right: -1rem}
  .caption {padding-left: 1rem;padding-right: 1rem}
}
