/* 이 파일은 scripts/build_fonts.py가 만든다. 직접 고치지 말고 design/fonts.json을 고친 뒤 `npm run fonts`를 돌린다. */

@font-face {
  font-family: 'Allright Round';
  src: url('/fonts/nanum-square-round-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Allright Round';
  src: url('/fonts/nanum-square-round-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Allright Round';
  src: url('/fonts/nanum-square-round-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* 글꼴에 없는 글자(2,350자 밖)는 뒤의 시스템 글꼴로 보인다. */
:root {
  --font-body: 'Allright Round', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  --font-display: 'Allright Round', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  --font-display-weight: 800;
}
