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

* {
  margin: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}

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

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;
}

button {
	cursor: pointer;
	pointer-events: auto;
	touch-action: manipulation;
	user-select: none; 
}

[disabled] {
  pointer-events: none;
}

[hidden] {
  display: none;
}

[id] {
  scroll-margin-top: var(--scroll-top, 2rem);
}

:focus:not(:focus-visible),
:focus:not(:focus-within) {
  outline: none !important;
}
