/* =====================================================
   Roboto Slab - self-hosted web fonts (Apache License 2.0, see LICENSE.txt)
   Source: https://github.com/googlefonts/robotoslab

   Two font families are provided:

   1. 'Roboto Slab'           static cuts, weights 100 / 200 / 300 / 400 / 500 / 600 / 700 / 800 / 900
                              (Roboto Slab has no italic cuts)
   2. 'Roboto Slab Variable'  variable font, weight axis 100-900 (any value in between works)

   Usage examples:
     font-family: 'Roboto Slab', serif;           font-weight: 300;   -> Light (page titles in the design)
     font-family: 'Roboto Slab Variable', serif;  font-weight: 350;   -> in-between weight

   Every @font-face ships WOFF2 (all current browsers) with the original TTF as fallback.
   ===================================================== */

@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url('woff2/RobotoSlab-Thin.woff2') format('woff2'),
         url('ttf/RobotoSlab-Thin.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url('woff2/RobotoSlab-ExtraLight.woff2') format('woff2'),
         url('ttf/RobotoSlab-ExtraLight.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('woff2/RobotoSlab-Light.woff2') format('woff2'),
         url('ttf/RobotoSlab-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('woff2/RobotoSlab-Regular.woff2') format('woff2'),
         url('ttf/RobotoSlab-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('woff2/RobotoSlab-Medium.woff2') format('woff2'),
         url('ttf/RobotoSlab-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('woff2/RobotoSlab-SemiBold.woff2') format('woff2'),
         url('ttf/RobotoSlab-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('woff2/RobotoSlab-Bold.woff2') format('woff2'),
         url('ttf/RobotoSlab-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('woff2/RobotoSlab-ExtraBold.woff2') format('woff2'),
         url('ttf/RobotoSlab-ExtraBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('woff2/RobotoSlab-Black.woff2') format('woff2'),
         url('ttf/RobotoSlab-Black.ttf') format('truetype');
}

/* ---------- Roboto Slab Variable (wght 100-900) ---------- */

@font-face {
    font-family: 'Roboto Slab Variable';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('woff2/RobotoSlab[wght].woff2') format('woff2-variations'),
         url('woff2/RobotoSlab[wght].woff2') format('woff2'),
         url('ttf/RobotoSlab[wght].ttf') format('truetype-variations');
}
