/* Huisstijl van Dagwerk: een scheurkalender. Papier, één rood (het kalenderrood), blauwe inkt voor werk
   en groene inkt voor privé, gele markeerstift voor de focus van de dag.
   Het thema staat als data-thema op <html> (licht of donker); zie js/stijl.js. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-cursief.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: italic;
  font-display: swap;
}

:root {
  --papier: #f1eee7;      /* ondergrond: het karton achter de kalender */
  --vel: #fffdf9;         /* een blaadje */
  --vel-2: #f8f5ef;       /* ingedrukt of tweede laag */
  --inkt: #1b1d26;        /* tekst */
  --grijs: #686b77;       /* bijzaken */
  --lijn: #dbd5c8;        /* schrijflijnen */
  --rood: #dd3b17;        /* kalenderrood: het enige accent */
  --rood-diep: #b92d0e;
  --op-rood: #fffdf9;
  --werk: #2545d3;        /* blauwe inkt */
  --prive: #12805a;       /* groene inkt */
  --stift: #ffe066;       /* markeerstift */
  --schaduw: 27 29 38;

  --font-kop: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --font-tekst: "Instrument Sans", Arial, sans-serif;

  --r-1: 4px;
  --r-2: 8px;
  --r-3: 14px;

  --kolom: 720px;
  --tabhoogte: 62px;
  --onder: env(safe-area-inset-bottom, 0px);
  --boven: env(safe-area-inset-top, 0px);

  --veer: cubic-bezier(.34, 1.56, .64, 1);
  --glij: cubic-bezier(.22, 1, .36, 1);
}

:root[data-thema="donker"] {
  --papier: #14151a;
  --vel: #1e2027;
  --vel-2: #262932;
  --inkt: #f2eee5;
  --grijs: #9da0ac;
  --lijn: #353843;
  --rood: #ff5630;
  --rood-diep: #e2401c;
  --op-rood: #14151a;
  --werk: #8499ff;
  --prive: #4dcb96;
  --stift: #6b5a12;
  --schaduw: 0 0 0;
}
