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

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

:root {
  --clr-bg: #0b0b0e;
  --clr-bg-alt: #121216;
  --clr-bg-alt2: #19191d;
  --clr-text: #ffffff;
  --clr-text-secondary: #bfbfbf;
  --clr-accent: #ffffff;
  --clr-cta: #c49a3c;
  --clr-cta-text: #0b0b0e;
  --clr-cta-disabled: #717171;
  --radius-l: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.55;
}

h1,
h2,
h3,
h4 {
  font-family: "JetBrainsMono", serif;
  font-weight: 600;
}

body,
p,
a,
button {
  font-family: "CabinCondensed", sans-serif;
}

a {
  color: var(--clr-accent);
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes flicker {
  0%,
  18%,
  22%,
  25%,
  53%,
  57%,
  100% {
    opacity: 1;
  }

  20%,
  24%,
  55% {
    opacity: 0.35;
  }
}
