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

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

body {
  font-family: Inter, Arial, sans-serif;
}

/* Apply the Sinhala font only to dictionary words and definitions. */
.word-card h3,
.word-card p,
.word-heading h1,
.meaning-list li {
  font-family: 'NotoSinhala', Inter, Arial, sans-serif;
}
