/* Reset: clear the browser's own styles so every site starts from the same place. */

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

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%; /* iPhone Safari: stops text growing when the phone is turned sideways */
}

body {
  min-height: 100vh;  /* fallback for browsers without dvh */
  min-height: 100dvh; /* iPhone Safari: 100vh runs behind the address bar; dvh follows the visible screen */
}

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

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

button {
  cursor: pointer;
  background: none;
  border: 0;
}

fieldset {
  min-width: 0; /* all browsers: a fieldset is otherwise as wide as its widest content, so it pushes past small screens */
  border: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

h1, h2, h3, h4, h5, h6, p {
  overflow-wrap: break-word;
}
