@font-face {
    font-family: 'Kanit-black';
    src: url('fonts/Kanit-Black.eot');
    src: url('fonts/fonts/Kanit-Black.eot?#iefix') format('embedded-opentype'),
        url('fonts/fonts/Kanit-Black.woff2') format('woff2'),
        url('fonts/fonts/Kanit-Black.woff') format('woff'),
        url('fonts/fonts/Kanit-Black.ttf') format('truetype');
    font-weight:900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kanit-bold';
    src: url('fonts/fonts/Kanit-Bold.eot');
    src: url('fonts/Kanit-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/Kanit-Bold.woff2') format('woff2'),
        url('fonts/Kanit-Bold.woff') format('woff'),
        url('fonts/Kanit-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kanit-light';
    src: url('fonts/Kanit-Light.eot');
    src: url('fonts/Kanit-Light.eot?#iefix') format('embedded-opentype'),
        url('fonts/Kanit-Light.woff2') format('woff2'),
        url('fonts/Kanit-Light.woff') format('woff'),
        url('fonts/Kanit-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kanit-medium';
    src: url('fonts/Kanit-Medium.eot');
    src: url('fonts/Kanit-Medium.eot?#iefix') format('embedded-opentype'),
        url('fonts/Kanit-Medium.woff2') format('woff2'),
        url('fonts/Kanit-Medium.woff') format('woff'),
        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-Regular.eot');
    src: url('fonts/Kanit-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/Kanit-Regular.woff2') format('woff2'),
        url('fonts/Kanit-Regular.woff') format('woff'),
        url('fonts/Kanit-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}