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

html {
  scroll-behavior: smooth;
  interpolate-size: allow-keywords;
}

* {
  margin: 0;
  line-height: calc(4px + 2ex);
}

body {
  -webkit-font-smoothing: antialiased;
}

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

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

p {
  text-wrap: pretty;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

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

#root {
  isolation: isolate;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif;
}

main {
  margin: 1rem;
}

h1, h2, h3 {
  margin: 1rem 0;
}

p {
  margin-bottom: 1rem;
}
:root {
  --progress-bar-color: #29d;
  --progress: 0%;
  --progress-height: 3px;
}

progress-bar {
  width: 100%;
  height: var(--progress-height, 3px);
  pointer-events: none;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
}

progress-bar:not(:defined) {
  display: none;
}

progress-bar .progress-bar-fill {
  width: var(--progress);
  background-color: var(--progress-bar-color);
  height: 100%;
  transition: width .12s linear;
}
