/* Pisma javnog weba — na našem poslužitelju (bez Google Fonts).
 * Izvor: github.com/google/fonts (OFL licenca). Svaki rez je JEDNA datoteka s
 * latinicom i hrvatskim slovima (U+0000-017F, interpunkcija, €), napravljena s:
 *   pyftsubset Barlow-Medium.ttf --unicodes="U+0000-017F,U+0192,U+02C6,U+02C7,
 *     U+02D8-02DD,U+2000-206F,U+20AC,U+2122,U+2212" --flavor=woff2
 * Cormorant je varijabilni font, prije rezanja fiksiran na težinu 600
 * (fontTools.varLib.instancer). Preglednik preuzima samo reze koje stranica koristi. */

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fnt/p/barlow-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fnt/p/barlow-400i.woff2) format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fnt/p/barlow-500.woff2) format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fnt/p/barlow-500i.woff2) format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fnt/p/barlow-700.woff2) format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fnt/p/barlow-700i.woff2) format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fnt/p/barlow-800.woff2) format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fnt/p/barlow-800i.woff2) format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fnt/p/barlow-cond-500.woff2) format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fnt/p/barlow-cond-500i.woff2) format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fnt/p/barlow-cond-700.woff2) format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fnt/p/barlow-cond-700i.woff2) format('woff2');
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fnt/p/barlow-semi-500.woff2) format('woff2');
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fnt/p/barlow-semi-500i.woff2) format('woff2');
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fnt/p/barlow-semi-700.woff2) format('woff2');
}
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fnt/p/barlow-semi-700i.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fnt/p/cormorant-600.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fnt/p/cormorant-600i.woff2) format('woff2');
}
@font-face {
  font-family: 'Style Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fnt/p/style-script-400.woff2) format('woff2');
}

/* Zamjenska pisma: Arial / Roboto (Android) / Liberation Sans, skalirana tako da
 * tekst zauzima gotovo isti prostor kao Barlow. Dok se Barlow učitava, prijelom
 * redaka je isti, pa stranica ne "skače" kad pismo stigne (CLS). U CSS-u se
 * navode odmah iza pravog pisma: font-family: 'Barlow', 'Barlow fb', sans-serif. */
@font-face {
  font-family: 'Barlow fb';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Roboto'), local('Roboto-Regular');
  size-adjust: 97%;
  ascent-override: 103%;
  descent-override: 20.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Barlow Semi Condensed fb';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Roboto'), local('Roboto-Regular');
  size-adjust: 88.5%;
  ascent-override: 113%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Barlow Condensed fb';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('LiberationSans'), local('Roboto'), local('Roboto-Regular');
  size-adjust: 78%;
  ascent-override: 128%;
  descent-override: 25.5%;
  line-gap-override: 0%;
}
