/*
  Defines the @font-face for the self-hosted Material Symbols Outlined font.
  This allows us to serve the font locally instead of relying on Google Fonts,
  which improves performance and privacy.
*/
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700; /* This is a variable font */
  font-display: block; /* Prevents icon flickering by blocking until font loads */
  src: url('../assets/fonts/material-symbols-outlined.woff2') format('woff2');
}

/*
  Apply the self-hosted font to elements with the .material-symbols-outlined class.
  This ensures the preloaded font is actually used, resolving the console warning.
*/
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
}