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

html {
  color-scheme: light;
  min-width: 320px;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text-color);
  background: var(--background-color);
  font-family: var(--font-sans);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

button {
  font: inherit;
}

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