﻿

/* 300 Light */
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 300;
    src: url('/styles/fonts/fonts/Vazirmatn-Light.woff2') format('woff2');
    font-display: swap;
}

/* 400 Regular */
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 400;
    src: url('/styles/fonts/fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-display: swap;
}

/* 500 Medium */
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 500;
    src: url('/styles/fonts/fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-display: swap;
}

/* 600 SemiBold */
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 600;
    src: url('/styles/fonts/fonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-display: swap;
}

/* 700 Bold */
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 700;
    src: url('/styles/fonts/fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-display: swap;
}

/* Vazirmatn Variable Font (برای مرورگرهای مدرن) */
@font-face {
    font-family: 'Vazirmatn';
    font-style: normal;
    font-weight: 300 700; /* محدود به وزن‌های مورد نیاز */
    src: url('/styles/fonts/fonts/Vazirmatn[wght].woff2') format('woff2-variations');
    font-display: swap;
}
