@font-face {
    font-family: "IRANSansXFaNum";
    src: url("../fonts/iransansx/IRANSansXFaNum-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansXFaNum";
    src: url("../fonts/iransansx/IRANSansXFaNum-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansXFaNum";
    src: url("../fonts/iransansx/IRANSansXFaNum-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansXFaNum";
    src: url("../fonts/iransansx/IRANSansXFaNum-DemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansXFaNum";
    src: url("../fonts/iransansx/IRANSansXFaNum-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansXFaNum";
    src: url("../fonts/iransansx/IRANSansXFaNum-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansXFaNum";
    src: url("../fonts/iransansx/IRANSansXFaNum-Black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --hamsaye-fa-font: "IRANSansXFaNum", Tahoma, Arial, sans-serif;
}

html[lang="fa"],
html[lang="fa"] body,
html[lang="fa"] button,
html[lang="fa"] input,
html[lang="fa"] textarea,
html[lang="fa"] select {
    font-family: var(--hamsaye-fa-font);
}

html[lang="fa"] :not(i):not(svg):not(path):not([class^="fa"]):not([class*=" fa-"]):not([class^="fi"]):not([class*=" fi-"]):not([class^="feather"]):not([class*=" feather"]):not([class^="ti-"]):not([class*=" ti-"]):not([class^="icon-"]):not([class*=" icon-"]):not([class^="la"]):not([class*=" la-"]):not([class^="ri-"]):not([class*=" ri-"]):not([class^="bi"]):not([class*=" bi-"]) {
    font-family: var(--hamsaye-fa-font);
}
