/* Local fonts: every font file in /fonts is declared below. */

@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/EBGaramond-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/EBGaramond-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/EBGaramond-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/EBGaramond-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/EBGaramond-ExtraBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/EBGaramond-Italic.ttf") format("truetype");
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/EBGaramond-MediumItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/EBGaramond-SemiBoldItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/EBGaramond-BoldItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond";
    src: url("../fonts/EBGaramond-ExtraBoldItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond Variable";
    src: url("../fonts/EBGaramond-VariableFont_wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond Variable";
    src: url("../fonts/EBGaramond-Italic-VariableFont_wght.ttf") format("truetype");
    font-style: italic;
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    font-family: "Noto Serif SC";
    src: url("../fonts/NotoSerifSC-VariableFont_wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --font-sans:
        "EB Garamond",
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        "Noto Sans CJK SC",
        "Noto Sans SC",
        "PingFang SC",
        "Microsoft YaHei",
        sans-serif;

    --font-serif:
        "Noto Serif SC",
        "Noto Serif CJK SC",
        "Source Han Serif SC",
        "Songti SC",
        serif;
}
