/**
 * Font faces
 * Keep only weights used by the current UI to reduce font transfer.
 */

@font-face {
    font-family: 'Formular';
    src: url('/assets/fonts/Formular-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Formular';
    src: url('/assets/fonts/Formular-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Formular';
    src: url('/assets/fonts/Formular-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lack';
    src: url('/assets/fonts/Lack-Regular.woff2') format('woff2'),
         url('/assets/fonts/Lack-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lack';
    src: url('/assets/fonts/Lack-Regular.woff2') format('woff2'),
         url('/assets/fonts/Lack-Regular.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lack';
    src: url('/assets/fonts/Lack-Regular.woff2') format('woff2'),
         url('/assets/fonts/Lack-Regular.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lack';
    src: url('/assets/fonts/Lack-Regular.woff2') format('woff2'),
         url('/assets/fonts/Lack-Regular.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lack';
    src: url('/assets/fonts/Lack-Italic.woff2') format('woff2'),
         url('/assets/fonts/Lack-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
