/* css customisation for green route */

@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-Latin1.woff2") format("woff2"); */
  src: url("/fonts/IBMPlexSans-Light.ttf");
  font-style: normal;
  font-display: swap;
}

span.image-container {
  background: linear-gradient(#999, red);
  background-blend-mode: screen;
}

img {
  /* mix-blend-mode: screen; */

  /* opacity: 0.75; */
  filter: grayscale(50%);
  width: 100%;
}

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.5em;
}

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

[data-theme-preference="green"] blockquote {
  margin: 3.7em, auto;
  padding: 1.1em;
  background: linear-gradient(30deg, #384236, rgb(158 193 124 / 20%)) padding-box, url("/img/background-01.jpg") border-box  0 / cover;
  border: 0.2em solid transparent;
  box-shadow: 5px 3px 33px 33px rgb(132 154  197 / 50%);
  font-size: 1.4em;
  font-family: var(--font-pullquote);
  font-style: italic;
  line-height: 1.3;
}

html[data-theme-preference="green"] {
  /* colours for specific routes */
  --colour-text: #a3af9e;
  --colour-text-accent: #39ff25; /* rgba(57, 255, 37, 1) */
  --colour-bg: #3f4a3c;
  --colour-bg-accent: #00e5ff;
  --colour-bg-shadow: #00acff;  /* rgba(0, 172, 255, 1) */
  --colour-primary: #00e5ff;
  --colour-secondary: #7095b2;

  /* override custom properties */
  --main-background-colour: var(--colour-bg);

  /* --background-image: url("/img/green-background.jpg"); */
  --background-image: linear-gradient(#525c4f, #5b7c87, #3f4a3c);
  --main-text-colour: var(--colour-text);
  --main-heading-colour: var(--colour-text-accent);
  --link-colour: var(--colour-text-accent);
  --link-hover-colour: var(--colour-bg-accent);

  /* thus... */
  --font-text: plex, sans-serif;
  --font-heading: baskervville, serif;
  --font-sidenote: plex, sans-serif;
  --heading-font-style: italic;
  --highlight-colour: rgb(57 255 37 / 15%);
  --route-background-colour: var(--colour-bg); /* rgba(0, 0, 0, 0.05); */
  --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-colour: var(--colour-text);
  --author-font-style: italic;
  --font-date: plex, sans-serif;
  --date-colour: var(--colour-text);
  --date-font-style: italic;
  --text-date-size: var(--step--1);

  /* textblocks */
  --textblock-font: plex, sans-serif;
  --textblock-background-colour: var(--colour-bg); /* rgba(0, 172, 255, 0.15) */
  --textblock-padding: 1em; /* 0.8rem; */
  --textblock-text-colour: var(--colour-secondary);

  /* 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);   /* var(--text-sidenote-size) */  /* var(--step-0) */
  --caption-font-weight: normal;
  --caption-font-style: normal;
}
