/* Generated from site.toml. This is newcanaan.town's own copy of the shared template
   (templates/assets/css/site.css), with the photo served as AVIF (D43). */
:root {
  --accent: #2F5D7C;
  --accent-alt: #7C9BB5;
  /* The JPEG: every browser can show it, so it is the default and the fallback. */
  --bg-image: url("/assets/img/background.fe32854e564e8f11.jpg");
}
/* Browsers that understand image-set() with type() pick the AVIF, which is about half the
   size. The rest keep the JPEG above. Phones get the smaller 1200 px file. */
@supports (background-image: image-set(url("/assets/img/background.660f79d19bbb56ef.avif") type("image/avif"))) {
  :root {
    --bg-image: image-set(
      url("/assets/img/background.660f79d19bbb56ef.avif") type("image/avif"),
      url("/assets/img/background.fe32854e564e8f11.jpg") type("image/jpeg"));
  }
}
@media (max-width: 800px) {
  @supports (background-image: image-set(url("/assets/img/background-sm.2a05eae502a26a8b.avif") type("image/avif"))) {
    :root {
      --bg-image: image-set(
        url("/assets/img/background-sm.2a05eae502a26a8b.avif") type("image/avif"),
        url("/assets/img/background.fe32854e564e8f11.jpg") type("image/jpeg"));
    }
  }
}
