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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

body {
  min-block-size: 100vh;
  text-rendering: optimizeLegibility;
}

ul,
ol {
  margin-block: 0;
  padding-inline-start: 1.25rem;
}

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

button {
  border: 0;
  cursor: pointer;
}

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

img,
video {
  block-size: auto;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

textarea {
  resize: vertical;
}

:target {
  scroll-margin-block-start: 6rem;
}
