@font-face {
  font-family: 'Kanit'; /* ตั้งชื่ออะไรก็ได้ที่จะเอาไปใช้ใน CSS */
  font-style: normal;
  font-weight: 400;
  font-display: swap; /* สำคัญมาก: ช่วยให้ข้อความแสดงทันทีไม่ต้องรอฟอนต์โหลดเสร็จ */
  
  /* ตรวจสอบ Path ของไฟล์ฟอนต์ให้ถูกต้อง */
  src: url('kanit.woff2') format('woff2'); 
}


/* dancing-script-regular - latin_latin-ext_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 400;
  src: url('dancing-script-v29-latin_latin-ext_vietnamese-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* noto-sans-thai-100 - latin_latin-ext_thai */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 100;
  src: url('noto-sans-thai-v29-latin_latin-ext_thai-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* noto-sans-thai-200 - latin_latin-ext_thai */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 200;
  src: url('noto-sans-thai-v29-latin_latin-ext_thai-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* noto-sans-thai-300 - latin_latin-ext_thai */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 300;
  src: url('noto-sans-thai-v29-latin_latin-ext_thai-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* noto-sans-thai-regular - latin_latin-ext_thai */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 400;
  src: url('noto-sans-thai-v29-latin_latin-ext_thai-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* noto-sans-thai-500 - latin_latin-ext_thai */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 500;
  src: url('noto-sans-thai-v29-latin_latin-ext_thai-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* noto-sans-thai-600 - latin_latin-ext_thai */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 600;
  src: url('noto-sans-thai-v29-latin_latin-ext_thai-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}