:root {
  color: #111;
  background: #f4f1ea;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.4;
}

body {
  margin: 0 auto;
  max-width: 42rem;
  padding: 1rem;
}

h1, h2 {
  line-height: 1.2;
}

button, select {
  font: inherit;
  min-height: 3rem;
  margin: 0.25rem 0.25rem 0.25rem 0;
}

.banner, .warn, .ok, .bad {
  padding: 0.75rem;
  margin: 0.75rem 0;
}

.banner, .warn {
  background: #fff4cc;
  border: 2px solid #111;
}

.ok {
  background: #e5f6e5;
}

.bad {
  background: #ffd9d9;
}

.stage {
  position: relative;
  background: #111;
  min-height: 12rem;
}

video, canvas {
  width: 100%;
  height: auto;
  display: block;
  transform: none;
}

canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

section {
  margin: 1.5rem 0;
}

label {
  display: block;
  margin: 0.4rem 0;
}
