/* IRANSansX Font Family for Web */

@font-face {
  font-family: 'IRANSansX-Regular';
  src: url('./IRANSansX-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX-Light';
  src: url('./IRANSansX-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX-Medium';
  src: url('./IRANSansX-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX-Bold';
  src: url('./IRANSansX-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX-DemiBold';
  src: url('./IRANSansX-DemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* CSS Variables for easy usage */
:root {
  --font-light: 'IRANSansX-Light', 'Tahoma', sans-serif;
  --font-regular: 'IRANSansX-Regular', 'Tahoma', sans-serif;
  --font-medium: 'IRANSansX-Medium', 'Tahoma', sans-serif;
  --font-demibold: 'IRANSansX-DemiBold', 'Tahoma', sans-serif;
  --font-bold: 'IRANSansX-Bold', 'Tahoma', sans-serif;
}

/* Base font family */
* {
  font-family: var(--font-regular);
}
