/* inspired by the configuration found on josh comeau's site */
/* https://www.joshwcomeau.com/css/custom-css-reset/ */

/* more-intuitive box-sizing (pad/border/margin all included in width) */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  /* remove default margins */
  margin: 0;
  /* sans the serifs */
  font-family: Arial, Helvetica, sans-serif;
}

body {
  /* accessible line-height */
  line-height: calc(1em + 0.5rem);
  /* improve text rendering for mac - need to research this more */
  -webkit-font-smoothing: antialiased;
}

/* improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}