/*
 * SUIT Webfont
 * 적용 범위: theme/basic을 사용하는 PC / Mobile 전체 화면
 * Font Awesome 같은 icon font에는 영향을 주지 않도록 일반 UI 요소만 지정한다.
 */

@font-face {
    font-family: 'SUIT';
    src: url('../font/SUIT/SUIT-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SUIT';
    src: url('../font/SUIT/SUIT-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SUIT';
    src: url('../font/SUIT/SUIT-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SUIT';
    src: url('../font/SUIT/SUIT-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SUIT';
    src: url('../font/SUIT/SUIT-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SUIT';
    src: url('../font/SUIT/SUIT-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SUIT';
    src: url('../font/SUIT/SUIT-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SUIT';
    src: url('../font/SUIT/SUIT-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SUIT';
    src: url('../font/SUIT/SUIT-Heavy.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/*
 * GNUBOARD basic theme의 기본 Malgun Gothic 선언을 SUIT로 교체한다.
 * icon font(.fa 등)는 별도의 font-family를 사용하므로 그대로 유지된다.
 */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
input,
button,
textarea,
select,
option,
table,
th,
td {
    font-family: 'SUIT', 'Noto Sans KR', sans-serif;
}

/* form control은 운영체제 기본 스타일에서도 글꼴이 달라지지 않도록 상속을 명시한다. */
button,
input,
select,
textarea {
    font-family: 'SUIT', 'Noto Sans KR', sans-serif;
}
