/* Register custom fonts located in ../fonts/ (relative to this css file)
   Notes:
   - fonts.css is under webapps/.../css/, font files are in webapps/.../fonts/
   - Use relative URLs (../fonts/...) so the CSS works regardless of the app
     context path or deployment mapping.
   - We reference the files that exist in the repo (some SourceSans3 files
     use a .ttf.woff2 filename). Keep format declarations accurate (woff2,
     woff, truetype) and prefer woff2 when available.
*/


/* JetBrains Mono - add your JetBrains Mono font files to ../fonts/
   Expected filenames (adjust if yours differ):
     JetBrainsMono-Regular.woff2
     JetBrainsMono-Italic.woff2
     JetBrainsMono-Bold.woff2
     JetBrainsMono-BoldItalic.woff2
   Keep fallback entries for .woff / .ttf if you have them in the fonts/ folder.
*/
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-Regular.woff2') format('woff2'),
       url('../fonts/JetBrainsMono-Regular.woff') format('woff'),
       url('../fonts/JetBrainsMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-Italic.woff2') format('woff2'),
       url('../fonts/JetBrainsMono-Italic.woff') format('woff'),
       url('../fonts/JetBrainsMono-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-Bold.woff2') format('woff2'),
       url('../fonts/JetBrainsMono-Bold.woff') format('woff'),
       url('../fonts/JetBrainsMono-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-BoldItalic.woff2') format('woff2'),
       url('../fonts/JetBrainsMono-BoldItalic.woff') format('woff'),
       url('../fonts/JetBrainsMono-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* SourceSans3 (only woff2 files are present in fonts/). Use exact filenames. */
@font-face {
  font-family: 'SourceSans3';
  src: url('../fonts/SourceSans3-Regular.ttf.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SourceSans3';
  src: url('../fonts/SourceSans3-It.ttf.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SourceSans3';
  src: url('../fonts/SourceSans3-Bold.ttf.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SourceSans3';
  src: url('../fonts/SourceSans3-BoldIt.ttf.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}


