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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  overflow-y: auto;
}

body.is-overlay-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  border: 0;
  outline: 0;
}

:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}

button {
  background: transparent;
  color: inherit;
}

a {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

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

::-webkit-scrollbar-thumb {
  background: var(--color-scrollbar);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-track {
  background: transparent;
}
