/*
Copyright (c) 2021 Kil Hyung-jin, with Reserved Font Name Pretendard.
https://github.com/orioncactus/pretendard

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
*/

@font-face {
	font-family: 'font-H';
	font-weight: 900;
	font-display: swap;
	src: local('Pretendard Black'), url(./woff2/Pretendard-Black.woff2) format('woff2'), url(./woff/Pretendard-Black.woff) format('woff');
}


@font-face {
	font-family: 'font-B';
	font-weight: 700;
	font-display: swap;
	src: local('Pretendard Bold'), url(./woff2/Pretendard-Bold.woff2) format('woff2'), url(./woff/Pretendard-Bold.woff) format('woff');
}

@font-face {
	font-family: 'font-R';
	font-weight: 400;
	font-display: swap;
	src: local('Pretendard Regular'), url(./woff2/Pretendard-Regular.woff2) format('woff2'), url(./woff/Pretendard-Regular.woff) format('woff');
}


/* ── 'Pretendard' 라는 이름으로도 등록합니다 ──────────────────────────
   위쪽은 굵기마다 이름이 다릅니다(font-R / font-B / font-H).
   그래서 글자를 굵게 하면 글꼴 이름 자체가 바뀌어야 하고, 그 사이 굵기
   (600, 800 같은)는 아예 못 씁니다.
   같은 글꼴 파일을 'Pretendard' 한 이름에 굵기별로 다시 걸어 두면
   font-weight 만 바꿔도 자연스럽게 이어집니다. */
@font-face {
	font-family: 'Pretendard';
	font-weight: 400;
	font-display: swap;
	src: local('Pretendard Regular'), url(./woff2/Pretendard-Regular.woff2) format('woff2'), url(./woff/Pretendard-Regular.woff) format('woff');
}
@font-face {
	font-family: 'Pretendard';
	font-weight: 500 700;
	font-display: swap;
	src: local('Pretendard Bold'), url(./woff2/Pretendard-Bold.woff2) format('woff2'), url(./woff/Pretendard-Bold.woff) format('woff');
}
@font-face {
	font-family: 'Pretendard';
	font-weight: 800 900;
	font-display: swap;
	src: local('Pretendard Black'), url(./woff2/Pretendard-Black.woff2) format('woff2'), url(./woff/Pretendard-Black.woff) format('woff');
}

/* 따로 지정하지 않은 곳은 모두 프리텐다드로.
   (!important 를 쓰지 않으므로 아이콘 글꼴 같은 건 그대로 둡니다) */
body, input, textarea, select, button, table, th, td {
	font-family: 'Pretendard', 'font-R', 'Malgun Gothic', sans-serif;
}
