@font-face {
  font-family: sgkara;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/sgkara/SGKara-FaNum-Light.woff") format("woff"); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}
@font-face {
  font-family: sgkara;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/sgkara/SGKara-FaNum-SemiBold.woff") format("woff"); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}

@font-face {
  font-family: sgkara;
  font-style: normal;
  font-weight: bold;
  font-display: swap;
  src: url("../fonts/sgkara/SGKara-FaNum-Bold.woff") format("woff"); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}
@font-face {
  font-family: sgkara;
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url("../fonts/sgkara/SGKara-FaNum-Regular.woff") format("woff"); /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
}
@font-face {
  font-family: dn;
  font-display: swap;
  src: url('../fonts/dn/danstevis.otf') format("opentype");
}
:root {
  --primary: #D71920;
  --secondary: #1C489F;
  --txt: #424242;
  --txtl: #494952;
}
* {
  margin: 0;
  padding: 0;
  direction: rtl;
  box-sizing: border-box;
  font-family: "sgkara", sans-serif;
  font-weight: normal;
}
html {
  scroll-behavior: smooth;
  /* scrollbar-gutter: stable; */
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  line-height: 1.55;
  color: #000;
}
p {
  color: var(--blck);
  line-height: 2.2;
}
a {
  text-decoration: none;
  line-height: 2.2;
}
div,
span,
button,
a,
li {
  line-height: inherit;
}
i {
  font-style: normal;
}
/* برای Chrome، Edge و Safari */

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  *::-webkit-scrollbar {
    width: 10px;
  }

  *::-webkit-scrollbar-track {
    background: #fff;
  }

  *::-webkit-scrollbar-thumb {
    background-color: var(--secondary);
    border-radius: 10px;
    border: 3px solid #fff;
  }
}

/* برای Firefox */
@-moz-document url-prefix() {
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) #fff;
  }
}

::selection {
  background: var(--secondary);
  color: #fff;
}

/* Hide number arrows */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
button {
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
