body {
  padding: 1em;
  background-color: #EEE;
  font-size: smaller;
}

h1 { margin-top: 0 }
label { font-weight: bold }
.figure { width: 80%; text-align: center }

#relationship, #before, #after, #result {
  width: 99%;
  min-height: 1em;
  height: auto;
  margin-bottom: 10px;
  background-color: white;
  border: solid 1px black;
  border-radius: 5px;
  padding: 5px;
  font-family: sans-serif;
  font-size: 120%;
  white-space: pre-wrap;
}


