/* a minimalist set of CSS resets */

/* default to border-box */
html {
  box-sizing: border-box;
  font-size: 16px;
}

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

/* adjust typography defaults */
body {
  margin: 1rem;
  font-family: sans-serif;
  line-height: 1.5;
}

body.yellow {
  background-color: yellow;
}

body.violet {
  background-color: violet;
}

body.red {
  background-color: red;
}

body.green {
  background-color: green;
}

/* images and videos max out at full width */
img,
video {
  height: auto;
  max-width: 100%;
}


/* Counter flash of unstyled custom elements */
:not(:defined) { visibility: hidden; }


p, li {
  word-wrap: break-word;
}

button {
  border: 1px solid black;
  border-radius: 5px;
  padding: 0.5rem;
  user-select: none;
}

#green {
  background-color: green;
  color: white;
}

#yellow {
  background-color: yellow;
}

#violet {
  background-color: violet;
}

#red {
  background-color: red;
  color: white;
}