@font-face {
    font-family: "Kanit";
    src: url("fonts/Kanit-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Kanit";
    src: url("fonts/Kanit-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Kanit";
    src: url("fonts/Kanit-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Kanit";
    src: url("fonts/Kanit-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Kanit";
    src: url("fonts/Kanit-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Kanit";
    src: url("fonts/Kanit-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --app-font-family: "Kanit", "Segoe UI", Tahoma, sans-serif;
    --mud-typography-default-family: var(--app-font-family);
}

html,
body {
    font-family: var(--app-font-family);
}

body,
button,
input,
select,
textarea,
.mud-typography,
.mud-button,
.mud-input,
.mud-input-control,
.mud-list-item,
.mud-table,
.mud-dialog,
.mud-popover,
.mud-snackbar,
.mud-tooltip,
.mud-nav-link,
.mud-menu,
.mud-card,
.mud-alert {
    font-family: var(--app-font-family) !important;
}

code,
kbd,
pre,
samp {
    font-family: "Cascadia Mono", "Consolas", monospace;
}
