@font-face {
    font-family: IRANSansX;
    src: url('../fonts/IRANSansX-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: IRANSansX;
    src: url('../fonts/IRANSansX-UltraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: IRANSansX;
    src: url('../fonts/IRANSansX-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

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

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

@font-face {
    font-family: IRANSansX;
    src: url('../fonts/IRANSansX-DemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

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

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

@font-face {
    font-family: IRANSansX;
    src: url('../fonts/IRANSansX-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --kh-font: IRANSansX, Tahoma, "Segoe UI", sans-serif;
}

body {
    font-family: var(--kh-font);
    -webkit-font-smoothing: antialiased;
}

.bi::before {
    vertical-align: -0.15em;
}

.ql-container,
.ql-editor,
.ql-toolbar {
    font-family: var(--kh-font) !important;
}
