@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/JetBrainsMono-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arabic Sans";
  src: local("Arial"), local("Helvetica"), local("Tahoma");
  unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF;
}

:root {
  --sp-px: 1px;
  --sp-2px: 2px;
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 1rem;
  --sp-4: 2rem;
  --sp-5: 4rem;
  --sp-6: 8rem;
  --sp-65: 12em;

  --color-black: #000000;
  --color-white: #ffffff;

  --theme-freezing-bg: #64B5F6;
  --theme-cold-bg: #4DD0E1;
  --theme-cool-bg: #81C784;
  --theme-mild-bg: #FFF176;
  --theme-warm-bg: #FFB74D;
  --theme-hot-bg: #FF8A65;
  --theme-scorching-bg: #E57373;

  --theme-day-text: #000000;

  --theme-freezing-night: #90CAF9;
  --theme-cold-night: #80DEEA;
  --theme-cool-night: #A5D6A7;
  --theme-mild-night: #FFF59D;
  --theme-warm-night: #FFCC80;
  --theme-hot-night: #FFAB91;
  --theme-scorching-night: #EF9A9A;

  --size-icon-header: 10em;
  --size-icon-list: 6em;
  --size-icon-scroll: 3em;

  --border-thin: 1px solid var(--color-black);
  --border-bold: 2px solid var(--color-black);
  --border-heavy: 8px solid var(--color-black);

  --font-sm: 16px;
  --font-base: 18px;
  --font-lg: 24px;
}

.theme-freezing {
  --current-bg: var(--theme-freezing-bg);
  --current-text: var(--theme-day-text);
  --current-night: var(--theme-freezing-night);
}

.theme-cold {
  --current-bg: var(--theme-cold-bg);
  --current-text: var(--theme-day-text);
  --current-night: var(--theme-cold-night);
}

.theme-cool {
  --current-bg: var(--theme-cool-bg);
  --current-text: var(--theme-day-text);
  --current-night: var(--theme-cool-night);
}

.theme-mild {
  --current-bg: var(--theme-mild-bg);
  --current-text: var(--theme-day-text);
  --current-night: var(--theme-mild-night);
}

.theme-warm {
  --current-bg: var(--theme-warm-bg);
  --current-text: var(--theme-day-text);
  --current-night: var(--theme-warm-night);
}

.theme-hot {
  --current-bg: var(--theme-hot-bg);
  --current-text: var(--theme-day-text);
  --current-night: var(--theme-hot-night);
}

.theme-scorching {
  --current-bg: var(--theme-scorching-bg);
  --current-text: var(--theme-day-text);
  --current-night: var(--theme-scorching-night);
}

.themed-bg {
  background-color: var(--current-bg);
  color: var(--current-text);
}

.themed-bg.is-night {
  background-color: var(--color-black);
  color: var(--current-night);
}

.themed-bg.is-night .week-symbol {
  color: var(--current-night);
}
