/**
 * CSS for Bahnschrift
 * Generated by Wakamai Fondue - https://wakamaifondue.com
 * by Roel Nieskens/PixelAmbacht - https://pixelambacht.nl
 */

/* Set custom properties for each layout feature */
:root {
    --bahnschrift-aalt: "aalt" off;
    --bahnschrift-case: "case" off;
    --bahnschrift-frac: "frac" off;
    --bahnschrift-ordn: "ordn" off;
    --bahnschrift-pnum: "pnum" off;
    --bahnschrift-sups: "sups" off;
    --bahnschrift-tnum: "tnum" off;
}

/* If class is applied, update custom property and
   apply modern font-variant-* when supported */
.bahnschrift-aalt {
    --bahnschrift-aalt: "aalt" on;
}

.bahnschrift-case {
    --bahnschrift-case: "case" on;
}

.bahnschrift-frac {
    --bahnschrift-frac: "frac" on;
}

@supports (font-variant-numeric: diagonal-fractions) {
    .bahnschrift-frac {
        --bahnschrift-frac: "____";
        font-variant-numeric: diagonal-fractions;
    }
}

.bahnschrift-ordn {
    --bahnschrift-ordn: "ordn" on;
}

@supports (font-variant-numeric: ordinal) {
    .bahnschrift-ordn {
        --bahnschrift-ordn: "____";
        font-variant-numeric: ordinal;
    }
}

.bahnschrift-pnum {
    --bahnschrift-pnum: "pnum" on;
}

@supports (font-variant-numeric: proportional-nums) {
    .bahnschrift-pnum {
        --bahnschrift-pnum: "____";
        font-variant-numeric: proportional-nums;
    }
}

.bahnschrift-sups {
    --bahnschrift-sups: "sups" on;
}

@supports (font-variant-position: super) {
    .bahnschrift-sups {
        --bahnschrift-sups: "____";
        font-variant-position: super;
    }
}

.bahnschrift-tnum {
    --bahnschrift-tnum: "tnum" on;
}

@supports (font-variant-numeric: tabular-nums) {
    .bahnschrift-tnum {
        --bahnschrift-tnum: "____";
        font-variant-numeric: tabular-nums;
    }
}

/* Apply current state of all custom properties
   whenever a class is being applied */
.bahnschrift-aalt,
.bahnschrift-case,
.bahnschrift-frac,
.bahnschrift-ordn,
.bahnschrift-pnum,
.bahnschrift-sups,
.bahnschrift-tnum {
    font-feature-settings: var(--bahnschrift-aalt), var(--bahnschrift-case), var(--bahnschrift-frac), var(--bahnschrift-ordn), var(--bahnschrift-pnum), var(--bahnschrift-sups), var(--bahnschrift-tnum);
}

/* Variable instances */
.bahnschrift-light {
    font-variation-settings: "wght" 300, "wdth" 100;
}

.bahnschrift-semilight {
    font-variation-settings: "wght" 350, "wdth" 100;
}

.bahnschrift-regular {
    font-variation-settings: "wght" 400, "wdth" 100;
}

.bahnschrift-semibold {
    font-variation-settings: "wght" 600, "wdth" 100;
}

.bahnschrift-bold {
    font-variation-settings: "wght" 700, "wdth" 100;
}

.bahnschrift-light-semicondensed {
    font-variation-settings: "wght" 300, "wdth" 87.5;
}

.bahnschrift-semilight-semicondensed {
    font-variation-settings: "wght" 350, "wdth" 87.5;
}

.bahnschrift-semicondensed {
    font-variation-settings: "wght" 400, "wdth" 87.5;
}

.bahnschrift-semibold-semicondensed {
    font-variation-settings: "wght" 600, "wdth" 87.5;
}

.bahnschrift-bold-semicondensed {
    font-variation-settings: "wght" 700, "wdth" 87.5;
}

.bahnschrift-light-condensed {
    font-variation-settings: "wght" 300, "wdth" 75;
}

.bahnschrift-semilight-condensed {
    font-variation-settings: "wght" 350, "wdth" 75;
}

.bahnschrift-condensed {
    font-variation-settings: "wght" 400, "wdth" 75;
}

.bahnschrift-semibold-condensed {
    font-variation-settings: "wght" 600, "wdth" 75;
}

.bahnschrift-bold-condensed {
    font-variation-settings: "wght" 700, "wdth" 75;
}

