/* static/css/fonts.css */

@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansX-Regular.woff') format('woff'),
         url('../fonts/IRANSansX-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansX-Bold.woff') format('woff'),
         url('../fonts/IRANSansX-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'XBVNiloofar';
    src: url('../fonts/XBVNiloofar.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Anjoman';
    src: url('../fonts/Anjoman.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Global styles */
html, body {
    font-family: 'IRANSansX', system-ui, -apple-system, sans-serif;
}

/* For elements that you want to use the alternative font */
.font-niloofar {
    font-family: 'XBVNiloofar', 'IRANSansX', system-ui, -apple-system, sans-serif;
}

.font-anjoman {
    font-family: 'Anjoman', 'IRANSansX', system-ui, -apple-system, sans-serif;
}