@font-face {
    font-family: 'IRANSansX';
    src: url('woff2/IRANSansX-Regular.woff2') format('woff2'),
         url('woff/IRANSansX-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('woff2/IRANSansX-Bold.woff2') format('woff2'),
         url('woff/IRANSansX-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('woff2/IRANSansX-Black.woff2') format('woff2'),
         url('woff/IRANSansX-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('woff2/IRANSansX-ExtraBold.woff2') format('woff2'),
         url('woff/IRANSansX-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('woff2/IRANSansX-DemiBold.woff2') format('woff2'),
         url('woff/IRANSansX-DemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('woff2/IRANSansX-Medium.woff2') format('woff2'),
         url('woff/IRANSansX-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('woff2/IRANSansX-Light.woff2') format('woff2'),
         url('woff/IRANSansX-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('woff2/IRANSansX-UltraLight.woff2') format('woff2'),
         url('woff/IRANSansX-UltraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('woff2/IRANSansX-Thin.woff2') format('woff2'),
         url('woff/IRANSansX-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-iransans: 'IRANSansX', system-ui, -apple-system, sans-serif;
}

* {
    font-family: var(--font-iransans) !important;
} 