*, *::before, *::after {
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
  font: inherit;
}

:target {
  scroll-margin-block: calc(5ex + var(--nav-header-height));
}

html {
  /* color-scheme: dark light; */
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body, h1, h2, h3, h4, h5, h6, p, figure, figcaption, blockquote, li, dl, dd {
  margin-block-end: 0;
}

body {
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  line-height: 1.5;
}

header, footer, main, section, article {
  container-type: inline-size;
}

h1, h2, h3, h4, h5, h6 button, input, label {
  line-height: 1.1;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 1rem;
}

input, button, textarea, select {
  all: unset;
}

p, li, figcaption, blockquote, dl, dd {
  text-wrap: pretty;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  font-family: 'Century Gothic';
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
  cursor: pointer;
}

textarea:not([rows]) {
  min-height: 10em;
}

main {
  isolation: isolate;
}

menu {
  all: unset;
  list-style: none;
}