:root {
  /* fonts */
  --font-primary: "Inter", sans-serif;
  --font-secondary: "Source Code Pro", monospace;

  /* colors */
  --clr-dark: #030712;
  --clr-slate50: #f8fafc; /* slate50 */
  --clr-slate100: #f1f5f9; /* slate100 */
  --clr-light: #e2e8f0; /* slate200 */
  --clr-slate300: #cbd5e1; /* slate300 */
  --clr-text: #94a3b8; /* slate400 */
  --clr-slate800: #1e293b; /* slate800 */
  --clr-bg: #0a101f;
  --clr-muted: #7f8ea3;

  /* shadow */
  --shadow-xl: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;

  /* sizes */
  --size-xxs: 0.5rem;
  --size-xs: 0.75rem;
  --size-sm: 0.875rem;
  --size-base: 1rem;
  --size-lg: 1.125rem;
  --size-xl: 1.25rem;
  --size-2xl: 1.5rem;
  --size-3xl: 1.875rem;
  --size-4xl: 2.25rem;
  --size-5xl: 3rem;
  --size-6xl: 3.75rem;
  --size-7xl: 4.5rem;
  --size-8xl: 6rem;
  --size-9xl: 8rem;
  --size-10xl: 10rem;
}

* {
  margin: 0;
  padding: 0;
  line-height: calc(1em + 0.5rem);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--clr-dark);
  color: var(--clr-light);
}

img,
picture,
canvas,
video,
svg {
  max-width: 100%;
  display: block;
}

i {
  line-height: 0;
}

button {
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: solid var(--clr-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.025em;
}

p {
  font-family: var(--font-secondary);
  color: var(--clr-text);
}

a {
  color: var(--clr-slate50);
}

strong {
  color: var(--clr-light);
  font-weight: 900;
}

/* scrollbar */

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
}

body::-webkit-scrollbar-thumb {
  background-color: var(--clr-slate50);
  outline: 1px solid var(--clr-slate50);
}
