@font-face {
    font-family: 'Hanuman';
    src: url('../fonts/Hanuman-Regular.woff2') format('woff2'),
        url('../fonts/Hanuman-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'KhmerOSMuol';
    src: url('../fonts/Khmer-OS-Muol.woff2'),
    url('../fonts/Khmer-OS-Muol.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Siemreap';
    src: url('../fonts/Siemreap-Regular.woff2') format('woff2'),
        url('../fonts/Siemreap-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-Regular.woff2') format('woff2'),
        url('../fonts/Outfit-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.woff2') format('woff2'),
        url('../fonts/Roboto-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    /*Define rgb primary*/
    --color-primary-rgb: 26, 71, 42;
    --color-primary: rgb(var(--color-primary-rgb));
    --color-primary-opacity: rgba(var(--color-primary-rgb), 0.1);

    /*Define rgb secondary*/
    --color-secondary-rgb: 197, 160, 89;
    --color-secondary: rgb(var(--color-secondary-rgb));
    --color-secondary-opacity: rgba(var(--color-secondary-rgb), 0.1);

    --color-highlight: #169145;          /* stronger green text / icon / border */
    --color-highlight-hover: #026646;    /* hover state */
    --color-highlight-soft: #d9f7ea;     /* light background */
    --color-highlight-border: #9fe3c3;   /* soft border */
    --color-highlight-text: #015c3d;     /* text on soft bg */
    --color-overlay-bgprimary:#22A673;
    /* use for contrast with primary color */
    --color-gray: oklch(87% .01 258.3);

    --fontBi: "bootstrap-icons";

    /* Modify color BS 5 */
    --bs-primary-rgb: var(--color-primary-rgb);
    --bs-primary: rgb(var(--color-primary-rgb));
    --bs-secondary-rgb: var(--color-secondary-rgb);
    --bs-secondary: rgb(var(--color-secondary-rgb));
}

html:lang(km) {
    --menufont:'Siemreap','Hanuman','Outfit';
    --primaryfont: 'Siemreap','Hanuman', 'Roboto', 'Helvetica Neue', sans-serif; /* for Body font */
    --headingfont: 'KhmerOSMuol','Outfit'; /* use font Outfit for heading 1-6,input,button and Menu*/
}

html:lang(en) {
    --menufont:'Outfit','Siemreap','Hanuman';
    --primaryfont: 'Roboto', 'Helvetica Neue', sans-serif,'Siemreap-Regular','Hanuman';
    --headingfont: 'Outfit','Siemreap','Hanuman';
}
html:lang(km) body {
    line-height: 1.8;
}
html:lang(en) body {
    line-height: 1.6;
}
html:lang(km) h1,
html:lang(km) h2,
html:lang(km) h3 {
    line-height: 1.7;
    font-weight: 400;
}
html:lang(km) h4,
html:lang(km) h5,
html:lang(km) h6 {
    line-height: 1.6;
    font-weight: 300;
}