/* Reset styles */
/* General */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:where(html) {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
:where(body) {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Media */
:where(img, picture, video, canvas, svg) {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Forms */
:where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
}
:where(button) {
  cursor: pointer;
  background: none;
  border: none;
}

/* Text */
:where(a) {
  text-decoration: none;
  color: inherit;
}
:where(ul, ol) {
  list-style: none;
}
:where(h1, h2, h3, h4, h5, h6) {
  font-size: inherit;
  font-weight: inherit;
}
:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}

/* Spacing */
:where(hr) {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}
