/* The two Dota 2 typefaces, self-hosted.
 *
 * This file OVERRIDES the @font-face blocks that dota2_2014.css already carries, so it
 * must be linked AFTER it. Same trick as any duplicate @font-face: the later declaration
 * for a given family wins outright. The point is to drop the original's .eot (IE8) and
 * SVG-font entries, which we don't ship -- leaving them in costs two 404s per family per
 * page load.
 *
 * The family names are therefore NOT ours to choose: dota2_2014.css asks for
 * "goudy_trajan_boldbold" (a Font Squirrel generated name) and "Radiance-SemiBold"
 * verbatim, and a typo here silently drops the nav bar back to Times New Roman.
 *
 * Goudy Trajan: nav bar, headings, buttons (all-caps, wide letter-spacing).
 * Radiance: the in-game UI face, used for body copy.
 */

@font-face {
    font-family: 'goudy_trajan_boldbold';
    src: url('/static/fonts/goudytrajan-bold-pro-webfont.woff') format('woff'),
         url('/static/fonts/goudytrajan-bold-pro-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'goudy_trajan_mediummedium';
    src: url('/static/fonts/goudytrajan-medium-pro-webfont.woff') format('woff'),
         url('/static/fonts/goudytrajan-medium-pro-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'goudy_trajan_regularregular';
    src: url('/static/fonts/goudytrajan-regular-pro-webfont.woff') format('woff'),
         url('/static/fonts/goudytrajan-regular-pro-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Radiance ships as three separate FAMILIES in the original stylesheet (not one family
 * with three weights), so the overrides have to be shaped the same way. */
@font-face {
    font-family: 'Radiance';
    src: url('/static/fonts/radiance.woff') format('woff'),
         url('/static/fonts/radiance.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Radiance-SemiBold';
    src: url('/static/fonts/radiance-semibold.woff') format('woff'),
         url('/static/fonts/radiance-semibold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Radiance-Bold';
    src: url('/static/fonts/radiance-bold.woff') format('woff'),
         url('/static/fonts/radiance-bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
