/*
 * Roboto font family for body text
 *
 * Standard Roboto with specific weights for better performance
 * Used for all body text and UI elements
 */

/* Roboto Regular (400) */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/roboto-v30-latin-regular.woff2) format('woff2');
}

/* Roboto Medium (500) */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/roboto-v30-latin-500.woff2) format('woff2');
}

/* Roboto Bold (700) */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/roboto-v30-latin-700.woff2) format('woff2');
}

/*
 * Roboto Flex variable font for headlines
 *
 * Roboto Flex supports multiple axes including:
 * - Weight (wght): 100-1000
 * - Width (wdth): 25-151 (accessible via font-stretch in CSS)
 * - Slant (slnt): -10 to 0
 *
 * We use font-stretch to control the width axis for condensed/expanded headlines
 */
@font-face {
  font-family: 'Roboto Flex';
  font-style: normal;
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-display: swap;
  src: url(../fonts/roboto-flex-latin-variable.woff2) format('woff2');
}

/*
 * Fira Code for code blocks
 *
 * Fira Code is a monospace font with programming ligatures
 * Variable font with weight range: 300-700
 */
@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/fira-code-latin-variable.woff2) format('woff2');
}
@font-face {
   font-family: 'Material Icons';
   font-style: normal;
   font-weight: 400;
   src: url(../fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
   src: local('Material Icons'),
        local('MaterialIcons-Regular'),
        url(../fonts/MaterialIcons-Regular.woff2) format('woff2'),
        url(../fonts/MaterialIcons-Regular.woff) format('woff'),
        url(../fonts/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}