/* 웹폰트. 인터넷이 끊겨도 떠야 하므로 CDN을 쓰지 않고 파일을 저장소에 둔다.
   저장소에 함께 올리므로 웹 서버에 배포해도 참가자 모바일에서 그대로 뜬다.

   woff2만 둔다. 이 덱이 도는 곳(발표 노트북의 크롬·엣지, 참가자 모바일의
   iOS 사파리·안드로이드 크롬)은 전부 woff2를 읽는다. TTF까지 함께 두면
   용량이 4배가 되고 얻는 것이 없다. 원본 TTF/OTF는 저장소 루트의
   nanum-square/ 와 Paperlogy-1.000/ 에 보관돼 있고 배포에는 나가지 않는다.

   font-display: swap — 폰트를 받는 동안 글자가 사라지지 않게 한다.
   프로젝터는 로컬 파일이라 즉시 뜨지만 참가자 모바일은 데이터로 받는다.
   이 값이 없으면 그동안 글자가 통째로 안 보인다.

   두 폰트 모두 SIL Open Font License다. assets/fonts/LICENSES.md 참고. */

/* 제목용 — 페이퍼로지. 굵은 고딕의 무게가 필요한 자리에만 쓴다. */
@font-face {
  font-family: 'Paperlogy';
  src: url('../assets/fonts/Paperlogy-7Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('../assets/fonts/Paperlogy-9Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* 손글씨 — 개구(Gaegu) Bold. 팀 빌딩 보드(#8/3)의 채워 넣은 글씨에만 쓴다.
   유성매직으로 눌러 쓴 느낌을 내는 자리다.

   **보드에 실제로 쓰인 114자만 남긴 조각 파일이다(2.9MB → 19KB).** 한글
   폰트를 통째로 얹으면 인터넷 없이 떠야 하는 이 덱에 너무 무겁다.
   보드 문구를 고치면 없는 글자가 네모로 뜬다 — 다시 자르는 법은
   assets/fonts/LICENSES.md에 적어 두었다. */
@font-face {
  font-family: 'Gaegu';
  src: url('../assets/fonts/Gaegu-Bold-board.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 본문·소제목용 — 나눔스퀘어. 뒷줄 가독성이 이 폰트에 걸려 있다. */
@font-face {
  font-family: 'NanumSquare';
  src: url('../assets/fonts/NanumSquareR.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NanumSquare';
  src: url('../assets/fonts/NanumSquareB.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NanumSquare';
  src: url('../assets/fonts/NanumSquareEB.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
