/*  wabisabi style */

@font-face {
  font-family: Baskervville;
  src: url("/fonts/Baskervville-Regular.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Baskervville;
  src: url("/fonts/Baskervville-Italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: plex;
  /* src: url("/fonts/IBMPlexSans-LightItalic-Latin1.woff2") format("woff2"); */
  src: url("/fonts/IBMPlexSans-LightItalic.ttf");
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: plex;
  /* src: url("/fonts/IBMPlexSans-BoldItalic-Latin1.woff2") format("woff2"); */
  src: url("/fonts/IBMPlexSans-BoldItalic.ttf");
  font-style: bold;
  font-display: swap;
}

@font-face {
  font-family: plex;
  src: url("/fonts/IBMPlexSans-Light.ttf");
  font-style: normal;
  font-display: swap;
}

body, html {
  height: 100%;
}

.calligraphic {
  background-image: url("/wabisabi/img/calligraphy.jpg");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: grayscale(50%);
  opacity: 0.85;
  z-index: 0;
}

span.image-container {
  background-blend-mode: screen;
}

img {
  filter: grayscale(50%) drop-shadow(5px 3px 22px rgb(132 154 197 / 50%));
  width: 100%;
  z-index: 999;
}

a {
  text-decoration: none; /* underline wavy; */
  background-color: rgb(20 87 97 / 5%);
  transition: 2.3s;
}

a:hover {
  text-decoration: none;
  background-color: rgb(20 87 97 / 65%);
  transition: 0.5s;
}

table {
  width: 100%;
}

th,
td {
  vertical-align: top;
  border: 1px dotted #ddd;
}

ul.route {
  background-color: transparent;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ul.route a {
  text-decoration: none;
}

.fleuron {
  text-align: center;
  font-size: 1.4em;
  filter: drop-shadow(1px 2px 3px rgb(132 154 197 / 50%));
}

.fleuron-sr {
    text-align: center;
    font-size: 1.4em;
    font-family: 'SymbolaRegular';
    font-weight: normal;
    font-style: normal;
}

#footer {
    bottom: 1em;
    right:  1em;
    position: fixed;
}

[data-theme-preference="wabisabi"] blockquote {
  margin: 3.7em, auto;
  padding: 1.1em;
  border: 0.2em solid transparent;
  box-shadow: 5px 3px 33px 33px rgba(132, 154, 197, 0.1);
  font-size: 1.4em;
  font-family: var(--font-pullquote);
  font-style: italic;
  line-height: 1.3;
}

[data-theme-preference="wabisabi"] h2,h3 {
  background: linear-gradient(45deg,
                              rgba(147 206 91 / 5%),
                              rgb(210 147 17 / 15%),
                              rgb(20 87 97  / 0%));
}

[data-theme-preference="wabisabi"] .textblock {
   background: linear-gradient(60deg,
                               rgba(247 206 91 / 45%),
                               rgb(20 187 97 / 15%),
                               rgb(20 87 97  / 45%));
}

html[data-theme-preference="wabisabi"] {
  --main-background-colour: #eee;
  --background-color: #eee;
  --font-text: plex, sans-serif;
  --font-heading: baskervville, serif;
  --font-sidenote: plex, sans-serif;
  --heading-font-style: italic;
  --route-padding: 0.2em 0.8em;
  --route-border-radius: var(--space-xs);
  --route-font-weight: bold;
  --font-author: baskervville, serif;
  --text-author-size: var(--step-0);
  --author-font-style: italic;
  --font-date: plex, sans-serif;
  --date-font-style: italic;
  --text-date-size: var(--step--1);

  /* textblocks */
  --textblock-font: plex, sans-serif;
  --textblock-padding: 1em; /* 0.8rem; */

  /* quotes. margin and inline? */
  --text-pullquote-size: var(--step-1);
  --font-pullquote: baskervville, serif;
  --pullquote-font-style: italic;
  --pullquote-padding: 0.5rem;

  /* citations */
  --font-cite: baskervville;
  --text-cite-size: var(--step-0);
  --cite-font-weight: normal;
  --cite-font-style: italic;
  --cite-padding: 0;

  /* captions */
  --font-caption: var(--font-sidenote);
  --text-caption-size: var(--step--1);
  --caption-font-weight: normal;
  --caption-font-style: normal;

}
