/**
 * Global fonts
 */

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 100;
  font-display: swap;
  src: url("../../static/fonts/Inter-Thin.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-Thin.woff?v=3.18") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 100;
  font-display: swap;
  src: url("../../static/fonts/Inter-ThinItalic.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-ThinItalic.woff?v=3.18") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 200;
  font-display: swap;
  src: url("../../static/fonts/Inter-ExtraLight.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-ExtraLight.woff?v=3.18") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 200;
  font-display: swap;
  src: url("../../static/fonts/Inter-ExtraLightItalic.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-ExtraLightItalic.woff?v=3.18") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 300;
  font-display: swap;
  src: url("../../static/fonts/Inter-Light.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-Light.woff?v=3.18") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 300;
  font-display: swap;
  src: url("../../static/fonts/Inter-LightItalic.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-LightItalic.woff?v=3.18") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../static/fonts/Inter-Regular.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-Regular.woff?v=3.18") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 400;
  font-display: swap;
  src: url("../../static/fonts/Inter-Italic.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-Italic.woff?v=3.18") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 500;
  font-display: swap;
  src: url("../../static/fonts/Inter-Medium.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-Medium.woff?v=3.18") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 500;
  font-display: swap;
  src: url("../../static/fonts/Inter-MediumItalic.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-MediumItalic.woff?v=3.18") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 600;
  font-display: swap;
  src: url("../../static/fonts/Inter-SemiBold.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-SemiBold.woff?v=3.18") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 600;
  font-display: swap;
  src: url("../../static/fonts/Inter-SemiBoldItalic.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-SemiBoldItalic.woff?v=3.18") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../static/fonts/Inter-Bold.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-Bold.woff?v=3.18") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 700;
  font-display: swap;
  src: url("../../static/fonts/Inter-BoldItalic.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-BoldItalic.woff?v=3.18") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 800;
  font-display: swap;
  src: url("../../static/fonts/Inter-ExtraBold.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-ExtraBold.woff?v=3.18") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 800;
  font-display: swap;
  src: url("../../static/fonts/Inter-ExtraBoldItalic.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-ExtraBoldItalic.woff?v=3.18") format("woff");
}

@font-face {
  font-family: 'Inter';
  font-style:  normal;
  font-weight: 900;
  font-display: swap;
  src: url("../../static/fonts/Inter-Black.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-Black.woff?v=3.18") format("woff");
}
@font-face {
  font-family: 'Inter';
  font-style:  italic;
  font-weight: 900;
  font-display: swap;
  src: url("../../static/fonts/Inter-BlackItalic.woff2?v=3.18") format("woff2"),
       url("../../static/fonts/Inter-BlackItalic.woff?v=3.18") format("woff");
}

@font-face {
  font-family: 'Inter var';
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  font-named-instance: 'Regular';
  src: url("../../static/fonts/Inter-roman.var.woff2?v=3.18") format("woff2");
}
@font-face {
  font-family: 'Inter var';
  font-weight: 100 900;
  font-display: swap;
  font-style: italic;
  font-named-instance: 'Italic';
  src: url("../../static/fonts/Inter-italic.var.woff2?v=3.18") format("woff2");
}

:root {
  --ifm-font-family-base: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

body {
  font-family: var(--ifm-font-family-base);
  line-height: 1.45; /* from Practical Typography */
}

/* Opportunistically use variable fonts to reduce download size */
@supports (font-variation-settings: normal) {
  :root {
    --ifm-font-family-base: 'Inter var', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  }
}

/* Enable tnum to make versions align in the sidebar */
a.menu__link {
  font-feature-settings: "tnum";
}
