/* Additions for the static (Cloudflare Workers) version of the site. */

/* Cabin Condensed, self-hosted (SIL Open Font License, see /fonts/CabinCondensed-OFL.txt).
   Previously loaded from Google Fonts over plain http. */
@font-face { font-family: 'Cabin Condensed'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/cabin-condensed-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cabin Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/cabin-condensed-latin-700-normal.woff2) format('woff2'); }

/* Home page slider. Replaces the jQuery Nivo Slider with CSS + js/site.js.
   Same look: 970x462 slides, fade transition, bullet control nav under the slide. */
#slider { background: #fff; }
#slider img { display: block; opacity: 0; transition: opacity 500ms ease; }
#slider img:first-child { opacity: 1; }
#slider.ready img:first-child:not(.active) { opacity: 0; }
#slider img.active { opacity: 1; z-index: 2; }
