@charset "UTF-8";


/*
    ※ 모든 @font-face 에 font-display:swap 을 지정한다.
      기본값(auto)은 폰트를 다 받을 때까지 최대 3초간 글자를 아예 숨기는데(FOIT),
      이 프로젝트의 woff 는 개당 1MB 를 넘어 그동안 본문이 비어 보인다.
      = 구글 코어 웹 바이탈의 LCP/FCP 가 그만큼 늦어진다.
      swap 은 대체 글꼴로 먼저 보여준 뒤 교체하므로 검색 순위에 유리하다.

    ※ 근본 해결은 woff → woff2 변환(용량 약 40~60% 감소)이다. 예:
        npx -y woff2 ...  또는  https://cloudconvert.com/woff-to-woff2
      변환 후 src 를 아래 형태로 바꾸면 지원 브라우저는 woff2 를 먼저 쓴다.
        src: url(../font/Pretendard-Regular.woff2) format("woff2"),
             url(../font/Pretendard-Regular.woff)  format("woff");
*/




/*
    *** 나눔 명조
*/
@font-face {
    font-family: "NanumMj";
    src:url(../font/NanumMyeongjo.woff) format("woff");
    font-display: swap;
}

@font-face {
    font-family: "NanumMjB";
    src:url(../font/NanumMyeongjoBold.woff) format("woff");
    font-display: swap;
}

@font-face {
    font-family: "NanumMjEB";
    src:url(../font/NanumMyeongjoExtraBold.woff) format("woff");
    font-display: swap;
}



/*
    **** pretendard
*/
@font-face {
    font-family: "PretendardL";
    src:url(../font/Pretendard-Light.woff) format("woff");
    font-display: swap;
}

@font-face {
    font-family: "PretendardR";
    src:url(../font/Pretendard-Regular.woff) format("woff");
    font-display: swap;
}

@font-face {
    font-family: "PretendardM";
    src:url(../font/Pretendard-Medium.woff) format("woff");
    font-display: swap;
}

@font-face {
    font-family: "PretendardSB";
    src:url(../font/Pretendard-SemiBold.woff) format("woff");
    font-display: swap;
}

@font-face {
    font-family: "PretendardB";
    src:url(../font/Pretendard-Bold.woff) format("woff");
    font-display: swap;
}



