@import url("https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
@import url("https://use.typekit.net/tzx4ase.css");

@font-face {
  font-family: "Vazir";
  src: url("/fonts/Vazirmatn-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Vazir";
  src: url("/fonts/Vazirmatn-Regular.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Vazir";
  src: url("/fonts/Vazirmatn-Bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Vazir";
  src: url("/fonts/Vazirmatn-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

:root {
  --backgroundColor: #22272e;
  --frameBackgroundColor: #1b1f23;
  --textColor: #96a6ba;
  --secondaryTextColor: #bfc5c5;
  --lineColor: #3a434d;
  --mutedTextColor: #48535f;
  --linkColor: #6488a9;
  --activeColor: #d5b06a;
  --sansSerif: "Ubuntu", sans-serif;
  --loRes: "lores-12", sans-serif;
}

/* Selection styles */
::-moz-selection,
::selection {
  color: var(--activeColor);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: var(--activeColor);
}
::-webkit-scrollbar-thumb {
  background: var(--activeColor);
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: auto; /* or 'auto' or 'none' */
  scrollbar-color: var(--activeColor) #ffffff00; /* thumb and track color */
  overflow-x: hidden;
}

html,
body {
  position: relative;
  width: 100vw;
  height: calc(100vh - 50px);
}

body {
  margin: 0;
  padding: 8px;
  box-sizing: border-box;
  font-size: 1rem;
  font-weight: 300;
  font-family: var(--sansSerif);
  cursor: -webkit-image-set(
        url(/img/icon_cursor.png) 1x,
        url(/img/icon_cursor.png) 2x
      )
      0 0,
    pointer !important;
  --primary-grid-rgb: 255 255 255;
  --opacity: 0.04;
  background-image: linear-gradient(
      to right,
      rgb(var(--primary-grid-rgb) / var(--opacity)) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgb(var(--primary-grid-rgb) / var(--opacity)) 1px,
      transparent 1px
    );
  background-size: 4rem 4rem;
}

a {
  color: var(--linkColor);
}

a.email {
  color: #d5b06a !important;
  text-decoration: underline dotted;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: var(--linkColor);
}

label {
  display: block;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  -webkit-padding: 0.4em 0;
  padding: 0.4em;
  margin: 0 0 0.5em 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 2px;
}

input:disabled {
  color: #ccc;
}

button {
  color: #333;
  background-color: #f4f4f4;
  outline: none;
}

button:disabled {
  color: #999;
}

button:not(:disabled):active {
  background-color: #ddd;
}

button:focus {
  border-color: #666;
}

.hover-image {
  position: absolute;
  width: 150px;
  height: auto;
  pointer-events: none;
  z-index: 1000;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
