/* =========================
   YekanBakh Font Family
   ========================= */

/* Thin - 100 */
@font-face {
  font-family: "YekanBakh";
  src: url("../fonts/YekanBakh/woff2/YekanBakh-Thin.woff2")
      format("woff2"),
    url("../fonts/YekanBakh/woff/YekanBakh-Thin.woff")
      format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/* Light - 300 */
@font-face {
  font-family: "YekanBakh";
  src: url("../fonts/YekanBakh/woff2/YekanBakh-Light.woff2")
      format("woff2"),
    url("../fonts/YekanBakh/woff/YekanBakh-Thin.woff")
      format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Regular - 400 */
@font-face {
  font-family: "YekanBakh";
  src: url("../fonts/YekanBakh/woff2/YekanBakh-Regular.woff2")
      format("woff2"),
    url("../fonts/YekanBakh/woff/YekanBakh-Regular.woff")
      format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Regular - 400 */
@font-face {
  font-family: "YekanBakh";
  src: url("../fonts/YekanBakh/woff2/YekanBakh-Regular.woff2")
      format("woff2"),
    url("../fonts/YekanBakh/woff/YekanBakh-Regular.woff")
      format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* SemiBold - 600 */
@font-face {
  font-family: "YekanBakh";
  src: url("../fonts/YekanBakh/woff2/YekanBakh-SemiBold.woff2")
      format("woff2"),
    url("../fonts/YekanBakh/woff/YekanBakh-SemiBold.woff")
      format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold - 700 */
@font-face {
  font-family: "YekanBakh";
  src: url("../fonts/YekanBakh/woff2/YekanBakh-Bold.woff2")
      format("woff2"),
    url("../fonts/YekanBakh/woff/YekanBakh-Bold.woff")
      format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ExtraBold - 800 */
@font-face {
  font-family: "YekanBakh";
  src: url("../fonts/YekanBakh/woff2/YekanBakh-ExtraBold.woff2")
      format("woff2"),
    url("../fonts/YekanBakh/woff/YekanBakh-ExtraBold.woff")
      format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Black - 900 */
@font-face {
  font-family: "YekanBakh";
  src: url("../fonts/YekanBakh/woff2/YekanBakh-ExtraBlack.woff2")
      format("woff2"),
    url("../fonts/YekanBakh/woff/YekanBakh-ExtraBlack.woff")
      format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* =========================
   Modern Reset - Professional Base
   ========================= */

/* Box sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
* {
  margin: 0;
  padding: 0;
}

/* Root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Body defaults */
body {
  direction: rtl;
  text-align: right;
  min-height: 100vh;
  overflow-x: hidden;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  font-family: "YekanBakh", sans-serif;
}

/* Remove list styles */
ul,
ol {
  list-style: none;
}

/* Images */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Forms */
input,
button,
textarea,
select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  resize: none;
}

/* Buttons */
button {
  cursor: pointer;
  display: inline-block;
}

/* Links */
a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  font: inherit;
}

/* Prevent text overflow */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* Create a stacking context */
#root,
#__next {
  isolation: isolate;
}
