@font-face {
    font-family: "SUIT";
    font-weight: 100;
    src: url("/fonts/SUIT-Thin.woff2") format("woff2");
    font-display: fallback;
}

@font-face {
    font-family: "SUIT";
    font-weight: 200;
    src: url("/fonts/SUIT-ExtraLight.woff2") format("woff2");
    font-display: fallback;
}

@font-face {
    font-family: "SUIT";
    font-weight: 300;
    src: url("/fonts/SUIT-Light.woff2") format("woff2");
    font-display: fallback;
}

@font-face {
    font-family: "SUIT";
    font-weight: 400;
    src: url("/fonts/SUIT-Regular.woff2") format("woff2");
    font-display: fallback;
}

@font-face {
    font-family: "SUIT";
    font-weight: 500;
    src: url("/fonts/SUIT-Medium.woff2") format("woff2");
    font-display: fallback;
}

@font-face {
    font-family: "SUIT";
    font-weight: 600;
    src: url("/fonts/SUIT-SemiBold.woff2") format("woff2");
    font-display: fallback;
}

@font-face {
    font-family: "SUIT";
    font-weight: 700;
    src: url("/fonts/SUIT-Bold.woff2") format("woff2");
    font-display: fallback;
}

@font-face {
    font-family: "SUIT";
    font-weight: 800;
    src: url("/fonts/SUIT-ExtraBold.woff2") format("woff2");
    font-display: fallback;
}

@font-face {
    font-family: "SUIT";
    font-weight: 900;
    src: url("/fonts/SUIT-Heavy.woff2") format("woff2");
    font-display: fallback;
}

@font-face {
    font-family: "D2Coding";
    src: url("/fonts/D2Coding.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: fallback;
}

@font-face {
    font-family: "FallbackSans";
    font-weight: 400;
    src: local("Malgun Gothic");
    size-adjust: 87.3%;
}

@font-face {
    font-family: "FallbackSans";
    font-weight: 700;
    src: local("Malgun Gothic Bold");
    size-adjust: 92%;
}

body {
    font-family: "SUIT", "Pretendard", "Pretendard Variable", "FallbackSans",
        "BlinkMacSystemFont", system-ui, Roboto, "Helvetica Neue", "Segoe UI",
        "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic",
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.5;
    padding: 1rem;
    word-break: keep-all;
    text-align: justify;
}

article * {
    max-width: 100%;
}

article img {
    max-height: 70vh;
    width: auto;
    object-fit: contain;
}

article p:has(> img) {
    text-align: center;
}

pre {
    padding: 1rem;
    font-size: 0.8rem;
    border-radius: 0.2rem;
    background-color: #f9f9f9;
    overflow-x: auto;
}

pre code {
    font-family: "D2Coding", monospace;
}

h2 {
    font-size: 1.3rem;
}

h3 {
    font-size: 1.1rem;
}

blockquote {
    padding: 0.1rem 1rem;
    background-color: #f9f9f9;
    border-left: 0.25rem solid #ccc;
    margin: 1rem 0;
}