/* css customisation for silver route */

@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");
  font-style: italic;
  font-display: swap;
}

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

@font-face {
  font-family: plex;
  src: url("/fonts/IBMPlexSans-Light-Latin1.woff2") format("woff2");
  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(40%);
    width: 100%;
}

table {
  width: 100%;
}

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

[data-theme-preference="silver"] blockquote {
  margin: 0em;
  margin-top: 1.1em;
  padding: 1.1em;
  background: linear-gradient(#0e0f14, #313747);
              /* padding-box, url("/silver/img/background-01.jpg") border-box  0 / cover; */
  border: 0.2em solid transparent;
  box-shadow: 5px 3px 33px 33px rgb(132 154  197 / 30%);
  font-size: 1.4em;
  font-family: var(--font-pullquote);
  font-style: italic;
  line-height: 1.3;
}

[data-theme-preference="silver"] .textblock {
  margin: 1.3em;
  padding: 0;
  border: 0.2em transparent;
  // border: 0.2em solid transparent;
  box-shadow: 5px 3px 33px 33px rgba(132, 154, 197, 0.1);
}

[data-theme-preference="silver"] .textblock p {
  margin: 1.3em;
  padding: 0.6em;
  border: 0.2em solid transparent;
  box-shadow: 5px 3px 33px 33px rgba(132, 154, 197, 0.1);
}

html[data-theme-preference="silver"] {
  /* colours for specific routes */
  --colour-text: #9aace0;
  --colour-text-accent: #00e5ff; /* rgba(57, 255, 37, 1)*/
  --colour-bg: #0e0f14;
  --colour-bg-accent: #313747;
  --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: linear-gradient(#0e0f14, #313747);
                      /* 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-padding: 1em; /* 0.8rem; */
  --textblock-background-colour: var(--colour-bg); /* rgba(0, 172, 255, 0.15) */
  --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;

}
