/* https://css-tricks.com/snippets/css/using-font-face/ */
/* TODO later: get rid of FOUC https://github.com/zachleat/web-font-loading-recipes */

/* critical fonts */
@font-face {
  font-display: swap;
  font-family: 'Financier Text';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/FinancierTextWeb-Bold.eot'); /* IE9 Compat Modes */
  src: url('/fonts/FinancierTextWeb-Bold.eot?#iefix') format('embedded-opentype'),
    url('/fonts/FinancierTextWeb-Bold.woff2') format('woff2'), url('/fonts/FinancierTextWeb-Bold.woff') format('woff');
}

@font-face {
  font-display: swap;
  font-family: 'Untitled Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/UntitledSansWeb-Regular.eot'); /* IE9 Compat Modes */
  src: url('/fonts/UntitledSansWeb-Regular.eot?#iefix') format('embedded-opentype'),
    url('/fonts/UntitledSansWeb-Regular.woff2') format('woff2'),
    url('/fonts/UntitledSansWeb-Regular.woff') format('woff');
}

/* non-critical fonts */
@font-face {
  font-display: swap;
  font-family: 'Untitled Sans';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/UntitledSansWeb-Bold.eot'); /* IE9 Compat Modes */
  src: url('/fonts/UntitledSansWeb-Bold.eot?#iefix') format('embedded-opentype'),
    url('/fonts/UntitledSansWeb-Bold.woff2') format('woff2'), url('/fonts/UntitledSansWeb-Bold.woff') format('woff');
}

@font-face {
  font-display: swap;
  font-family: 'Untitled Sans';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/UntitledSansWeb-Medium.eot'); /* IE9 Compat Modes */
  src: url('/fonts/UntitledSansWeb-Medium.eot?#iefix') format('embedded-opentype'),
    url('/fonts/UntitledSansWeb-Medium.woff2') format('woff2'), url('/fonts/UntitledSansWeb-Medium.woff') format('woff');
}

@font-face {
  font-display: swap;
  font-family: 'Untitled Sans';
  font-style: italic;
  font-weight: 400;
  src: url('/fonts/UntitledSansWeb-RegularItalic.eot'); /* IE9 Compat Modes */
  src: url('/fonts/UntitledSansWeb-RegularItalic.eot?#iefix') format('embedded-opentype'),
    url('/fonts/UntitledSansWeb-RegularItalic.woff2') format('woff2'),
    url('/fonts/UntitledSansWeb-RegularItalic.woff') format('woff');
}
