/* Typography */

@font-face {
    font-display: swap;
    font-family: "Source Sans 3";
    src: url("../assets/SourceSans3-Variable.woff2") format("woff2");
    font-weight: 200 900;
    font-style: normal;
}

@font-face {
    font-display: swap;
    font-family: "Source Sans 3";
    src: url("../assets/SourceSans3-Variable-Italic.woff2") format("woff2");
    font-weight: 200 900;
    font-style: italic;
}

@font-face {
    font-display: swap;
    font-family: "JetBrains Mono";
    src: url("../assets/JetBrainsMono-Variable.woff2") format("woff2");
    font-weight: 100 800;
    font-style: normal;
}

@font-face {
    font-display: swap;
    font-family: "JetBrains Mono";
    src: url("../assets/JetBrainsMono-Italic-Variable.woff2") format("woff2");
    font-weight: 100 800;
    font-style: italic;
}

:root {
    --md-text-font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --md-code-font: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

body {
    -webkit-font-smoothing: auto;
}

/* Header */

.md-header__topic:first-child {
    font-weight: 400;
}

.md-header__title {
    letter-spacing: normal;
}

/* Navigation */

.md-nav {
    font-size: 0.85rem;
}

.md-nav__item--section>.md-nav__link {
    font-weight: 600;
}

.md-nav--secondary .md-nav__title {
    font-weight: 600;
}

.md-nav__item--nested .md-nav__icon::after {
    height: 150%;
}

/* Content */

.md-typeset {
    font-size: 1rem;
    letter-spacing: normal;
}

.md-path {
    font-size: 1rem;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
    font-weight: 500;
}

h2 code,
h3 code,
h4 code {
    font-weight: 400;
}

.md-typeset h1 {
    font-size: 2.4rem;
}

.md-typeset .admonition,
.md-typeset details {
    font-size: 0.9rem;
}

.md-typeset code {
    font-size: 0.8em;
}

.md-typeset table:not([class]) {
    font-size: 0.8rem;
}

.md-typeset code,
.md-typeset kbd,
.md-typeset pre {
    font-feature-settings: "calt", "liga";
}