/* Prefer WOFF2 for modern browsers and keep TTF only as fallback. */

@font-face {
    font-family: 'DM Sans';
    src: local('DM Sans Light'),
         local('DMSans-Light'),
         url('../fonts/DMSans/DMSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: local('DM Sans Regular'),
         local('DMSans-Regular'),
         url('../fonts/DMSans/DMSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: local('DM Sans Medium'),
         local('DMSans-Medium'),
         url('../fonts/DMSans/DMSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: local('DM Sans SemiBold'),
         local('DMSans-SemiBold'),
         url('../fonts/DMSans/DMSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: local('DM Sans Bold'),
         local('DMSans-Bold'),
         url('../fonts/DMSans/DMSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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