
/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(LibreBaskerville-Italic.ttf) format('truetype');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(LibreBaskerville-Italic.ttf) format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(LibreBaskerville-Regular.ttf) format('truetype');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(LibreBaskerville-Regular.ttf) format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(LibreBaskerville-Regular.ttf) format('truetype');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(LibreBaskerville-Bold.ttf) format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

picture {
  background: black;
  display: block;
  width: 100%;
  overflow: hidden;
  height: 100%;
  background-position: 50% 50%;
  background-size: cover;
}

picture.footer {
  height: 25vh;
  max-height: 300px;
}


.paralax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.picture {
  /* BG image set on div */
  background-color: #112233;
  color: white;
  height: 100vh;
  position: relative;
  padding: 0;
  margin-bottom: 10vh;
}


nav {
  font-size: 1rem;
  text-align: center;
  font-style: italic;
  display: block;
  width: 100%;
  padding: 10px 0;
}

@media (min-width: 560px) {
  nav {
    font-size: 1.3rem;
    padding: 16px;
  }
}

nav a {
  text-decoration: none;
  color: inherit;
}

nav .selected {
  font-weight: bold;
}

nav .selected a:before {
  content: " | ";
}

nav .selected a:first-child:before {
  content: "";
}

nav.pagination svg {
  height: 0.7em;
}

nav.pagination a em {
  text-decoration: underline;
}

nav.pagination span {
  margin: 0 0.5em;
}

header section *,
header {
  text-align: center;
  display: block;
  margin: 0;
  padding: 0;
  font-style: normal;
  font-weight: normal;
}

header {
  color: white;
  background: #181818 radial-gradient(#2b2b2b, transparent 70%);
}

header section {
  margin: auto;
}

@media (min-width: 600px) {
  header {
    height: 100%;
  }

  header section {
    margin: 30vh auto 20vh;
  }
}

header .bg {
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 0;
  background-blend-mode: overlay;
  background-size: cover;
  background-color: #222;
  z-index: 0;
}

header nav,
header section {
    position: relative;
    z-index:1;
}

.homepage .bg {
    display:none;
}

header.bookcover {
  position: absolute;
  color: white;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  background: radial-gradient(#3a3a3a8f, #00000000),
    linear-gradient(180deg, #0000004f, #00000000 20%);
}

header section em a {
  display: block;
  color: inherit;
  margin: 0 6px;
}

@media (min-width: 600px) {
  header section em a {
    display: inline;
  }
}

header strong {
  font-size: 10vw;
  text-transform: uppercase;
  word-spacing: 10px;
  letter-spacing: -0.065em;
  line-height: 0.85;
  padding: 0 4vw;
}

header em {
  font-size: 48px;
  font-style: italic;
  max-width: 80vw;
  margin: auto;
  line-height: 0.9;
}

header h1 {
  font-size: 18px;
  margin: 4vh auto;
}

@media (min-width: 500px) {
  header h1 {
    max-width: 50vw;
  }
}

hr.ellipse,
hr.florish {
  height: 2px;
  margin: 3.6em auto;
  position: relative;
  border: none;
  overflow: visible;
  background: linear-gradient(90deg, black 40%, transparent 40%, transparent 60%, black 60%);
  min-width: 350px;
  width: 80%
}

hr.ellipse:before,
hr.florish:before {
  content: "∙";
  font-size: 3em;
  position: absolute;
  width: 100%;
  color: black;
  z-index: 1;
  display: block;
  text-align: center;
  left: 0;
  right: 0;
  top: 0;
  margin: -0.8em auto;
}

hr.florish[glyph]:before {
  content: attr(glyph);
}

hr.ellipse:before {
  content: "∙∙∙";
}

hr.ellipse {
    background: none;
}

/*

    Readability: 50-65 characters per line
    with other sources claiming 75 characters.

    see: https://baymard.com/blog/line-length-readability

*/

main {
  font-size: 1rem;
  max-width: 928px;
  margin: 0 auto;
  padding: 0 1rem;
  line-height: 1.5;
}

@media (min-width: 800px) {
  main {
    font-size: 1.75rem;
    word-spacing: 3px;
  }
}

/* see header.css */
header.bookcover + main {
  margin-top: 30vh;
}

/* main section is parsed markdown */

main section h1,
main section h2,
main section h3,
main section h4,
main section h5 {
  text-align: center;
  margin: 32px auto;
  padding: 0;
  font-weight: normal;
  font-size: 64px;
  line-height: 1;
}

main section h3 {
  font-style: italic;
}

main section p {
  position: relative;
  text-align: justify;
}

main section p:first-child {
  padding-top: 20vh;
}

main section p u {
  font-size: 16rem;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 12rem;
  margin-top: 1rem;
}

main section a {
  color: inherit;
  text-underline-position: under;
}

p.circle {
  text-align: center;
  white-space: break-spaces;
}

main section blockquote {
  padding: 0;
  position: relative;
  margin: 6rem 9rem;
}

main section blockquote p {
  padding: 0;
  margin: 0;
}

main section svg {
  width: 100%;
  height: auto;
}

img.polaroid {
  border: 4rem solid white;
  margin: 5rem -2rem;
  box-shadow: 0 0 1px 0 black, 0 1rem 3rem 0 #00000055;
  border-radius: 0.3rem;
}

img.large {
  width: 140%;
  margin: 0 -20%;
  background-image: radial-gradient(white 0, transparent 50%);
}

img.clip {
  clip-path: circle(60%);
  width: 100%;
  height: auto;
}

.sketch-159 {
  display: block;
  margin: 25% auto;
}

/* TTS navigation and narration markers */
main section p.selected:before,
main section p.current:before {
  content: "";
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: black;
  height: 100%;
  display: block;
  z-index: 1;
  position: absolute;
  margin-left: -2vw;
}

main section blockquote > blockquote {
  display: none;
}

.dashed .row {
  display: flex;
  justify-content: space-between;
}

.dashed .row span {
  flex-grow: 1;
  border-bottom: 2px dashed #00000033;
}

footer .xxiivv svg {
  height: 1em;
  width: 1em;
  color: black;
}

footer {
  text-align: center;
  font-size: 14px;
  font-style: italic;
  padding: 16px 0;
  border-top: 1px solid;
  color: black;
  margin: 0 64px;
}

.homepage footer {
  color: white;
}

footer a {
  color: inherit;
}

.play-controls {
  position: fixed;
  bottom: 0;
  margin: 0 auto 10px;
  width: 26rem;
  text-align: center;
  font-size: 16px;
  left: 0;
  right: 0;
}

.play-controls.hidden {
  display: none;
}

.play-controls strong {
  position: absolute;
  margin-top: -1.5rem;
  top: 0;
}

.play-controls button {
  border-radius: 3rem;
  border: none;
  background-color: black;
  color: white;
  font-size: 2rem;
  width: 8rem;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
  padding: 4px 0 6px;
}

code {
    background: darkgray;
    padding: 2px 4px;
}

pre {
    background: #2d2d2d;
    padding: 3vh 2vw;
    font-family: monospace;
    border-radius: 0.4vw;
}

pre code {
    background: transparent;
    color: white;
}
ul.flexlist {
    margin:0;
    padding:0;
    list-style:none;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    flex-direction: row;
    justify-content: center;
}

ul.flexlist li {
    margin: 0 0 2rem;
    text-align: center;
    list-style: none;
    flex: 0 0 auto;
    width: 33.3%;
}


ul.flexlist a {
    color: inherit;
    padding: 0 30px;
    margin: 0;
    display: block;
    text-decoration:none;
    word-spacing: unset;
}

ul.flexlist em {
    font-size: 1rem;
    /* white-space: nowrap; */
    display: block;
    font-size: 0.8rem;
}

ul.flexlist strong {
    font-size: 1.8rem;
    padding: 0px 1.1rem;
    /* text-transform: capitalize; */
    text-decoration:underline;
    text-align: center;
    display: block;
    line-height: 1.2;
    min-height: 6rem;
}



html,
body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-size: 26px;
  font-family: "Libre Baskerville", Times, serif;
  background-size: cover;
  overflow-x: hidden;
}

body.homepage {
  background-color: #181818;
  color: white;
  background-image: url(https://ik.imagekit.io/fliptopbox/backgrounds/tr:e-grayscale/letterpress-bg-01.jpg);
  background-blend-mode: overlay;
}

body.homepage header {
  background: none;
}

body.newsprint {
  background-image: url(https://ik.imagekit.io/fliptopbox/backgrounds/newsprint-02.jpg);
}

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

.paragraph {
  font-size: 72px;
  margin: 64px auto;
}

.hidden {
  display: none;
}

.column {
  margin: 12vh auto;
}

@media (min-width: 500px) {
  .column {
    column-count: 2;
    column-count: 2;
    column-gap: 50px;
    column-rule: 1px solid;
  }
}

.column-item {
  display: block;
  margin-bottom: 3vh;
  break-inside: avoid-column;
  page-break-inside: avoid;
  color: inherit;
  text-decoration: none;
}

.column-item strong,
.column-item em {
  display: block;
  text-align: center;
}

.column-item strong {
  text-decoration: underline;
  margin: 5vh 0 2vh;
}

@media (min-width: 500px) {
  .column-item strong {
    margin: 0 0 2vh;
  }
}

img {
  width: 100%;
}

ul {
  text-align: left;
}

ul.linklist {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

ul.linklist * {
  color: inherit;
  padding: 0;
  margin: 0;
  display: block;
  list-style: none;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: black;
  color: white;
}

th,
td {
  padding: 0.5vw;
}

td {
  border-top: 1px solid;
}

tr:first-child td {
  border: none;
}


.embelish {
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(#636363, #18181800 75%);
}

.embelish svg {
  position: absolute;
  width: 750px;
  height: 750px;
  transform: scale(1.5);
}


