/**
 * Yekan Bakh — self-hosted site-wide typography
 *
 * @package FixaMag
 */

@font-face {
	font-family: "Yekan Bakh FaNum";
	src: url("../fonts/yekan-bakh-fanum-100.ttf") format("truetype");
	font-weight: 100;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Yekan Bakh FaNum";
	src: url("../fonts/yekan-bakh-fanum-200.ttf") format("truetype");
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Yekan Bakh FaNum";
	src: url("../fonts/yekan-bakh-fanum-300.ttf") format("truetype");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Yekan Bakh FaNum";
	src: url("../fonts/yekan-bakh-fanum-400.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Yekan Bakh FaNum";
	src: url("../fonts/yekan-bakh-fanum-500.ttf") format("truetype");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Yekan Bakh FaNum";
	src: url("../fonts/yekan-bakh-fanum-700.ttf") format("truetype");
	font-weight: 600 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Yekan Bakh FaNum";
	src: url("../fonts/yekan-bakh-fanum-800.ttf") format("truetype");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Yekan Bakh FaNum";
	src: url("../fonts/yekan-bakh-fanum-900.ttf") format("truetype");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Yekan Bakh";
	src: url("../fonts/yekan-bakh-en-400.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--fixa-font-family: "Yekan Bakh FaNum", "Yekan Bakh", sans-serif;
	--fixa-font: var(--fixa-font-family);
	--font-sans: var(--fixa-font-family);
	--font-serif: var(--fixa-font-family);
}

html {
	font-family: var(--fixa-font-family);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
	font-family: inherit;
}
