/* ==========================================================================
   Morae Font Configuration
   1st Priority: Local Custom Font (IBM_Plex_Sans.woff2)
   2nd Priority: Google Fonts (IBM Plex Sans)
   3rd Priority: System Font Fallbacks
   ========================================================================== */

/* Google Fonts Fallback */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* Local Custom Font (Primary - 1st Priority) */
@font-face {
  font-family: 'IBM_Plex_Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/IBM_Plex_Sans.woff2') format('woff2');
}

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

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

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

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/IBM_Plex_Sans.woff2') format('woff2');
}

:root {
  --morae-font-family: 'IBM Plex Sans', 'IBM_Plex_Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --morae-font: var(--morae-font-family);
}

html, body {
  font-family: var(--morae-font-family) !important;
}

h1, h2, h3, h4, h5, h6,
p, span, a, button, input, select, textarea {
  font-family: inherit;
}
