/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/

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

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* font-size: 62.5%; 1ren = 10px */
  font-family: "Figtree", sans-serif;
  font-weight: var(--font-weight-nornal);
  font-optical-sizing: auto;
}

img,
picture,
video,
canvas,
svg {
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

#root,
#__next {
  isolation: isolate;
}

:root {
  --fs-base: 1rem;
  /* Abstract scale */
  --fs-100: 0.75rem;

  /* Theme */
  /* Grayscale */
  --color-gray-100: #f8f9fa;
  --color-gray-200: #e9ecef;
  --color-gray-500: hsl(0, 0%, 42%);
  --color-gray-900: hsl(0, 0%, 7%);
  /* White */
  --color-white-900: hsl(0, 0%, 100%);
  /* Primary Brand Color */
  --color-primary-900: hsl(47, 88%, 63%);

  /* Font weight */
  --font-weight-nornal: 500;
  --font-weight-bold: 800;
  /* Semantic variable */
  --fs-body: var(--fs-100);

  /* Color */
  --color-text: var(--color-gray-900);
  --color-sub-text: var(--color-gray-500);
}
