/* ExtraBold */
@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANSansXFaNum-ExtraBold.woff2") format("woff2"),
    url("../fonts/IRANSansXFaNum-ExtraBold.woff") format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

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

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

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


body {
    font-family: "IRANSans", sans-serif;
    font-weight: 400; /* Regular by default */
    direction: rtl;
}


.thin {
    font-weight: 100;
}

.regular {
    font-weight: 400;
}

.medium {
    font-weight: 500;
}

.bold {
    font-weight: 700;
}

.main-font {
    font-family: "IRANSans", sans-serif !important;
    font-weight: 500 !important;
}

.text-brand {
    --tw-text-opacity: 1;
    color: rgb(207 27 26 / var(--tw-text-opacity, 1));
    --tw-space-x-reverse: 0;
    margin-right: calc(2rem * var(--tw-space-x-reverse));
    margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
}