/* Keep element dimensions predictable across browsers. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Clear browser-provided spacing before adding intentional layout styles. */
* {
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/* Retain list markers while making their indentation consistent. */
ul,
ol {
  padding-inline-start: 1.5em;
}

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

img,
video {
  height: auto;
}

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

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

[hidden] {
  display: none !important;
}