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

html {
  font-size: 62.5%;
}

body {
  background-color: #000;
}

canvas {
  display: block;
}

#controls {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 250px;
  padding: 10px;
}

#controls:hover {
  background: #000;
}

h1 {
  font: normal 1.3rem/1 "PT Sans", "PTSansRegular", "Tahoma", sans-serif;
  color: #eee;
  text-transform: uppercase;
  margin-bottom: 10px;
}

p {
  font: normal 1.3rem/1 "PT Sans", "PTSansRegular", "Tahoma", sans-serif;
  color: #fff;
}

p span {
  font: bold 1.1rem/1 "PT Sans", "PTSansRegular", "Tahoma", sans-serif;
  text-transform: uppercase;
  margin-right: 10px;
}

#random-show-wrapper {
  margin-top: 20px;
}

#random-show {
  display: none;
}

#random-show:checked ~ label {
  background: #0a409f !important;
}

#random-show-wrapper label,
#clear {
  display: inline-block;
  font: bold 1.1rem "PT Sans";
  color: #111;
  text-transform: uppercase;
  background: #ddd;
  padding: 8px;
  border-radius: 3px;
  cursor: pointer;
}

#random-show-wrapper label:hover,
#clear:hover {
  background: #bbb;
}

#clear {
  display: none;
}

#mode-selection {
  margin-top: 20px;
}

#mode-selection h2 {
  font: normal 1.3rem/1 "PT Sans", "PTSansRegular", "Tahoma", sans-serif;
  color: #fff;
  margin-bottom: 3px;
}

.mode {
  display: inline-block;
}

.mode input[type="radio"] {
  display: none;
}

.mode input[type="radio"]:checked ~ label {
  background: #0a409f;
}

.mode label {
  display: inline-block;
  font: bold 1.1rem "PT Sans", "PTSansRegular", "Tahoma", sans-serif;
  color: #111;
  text-transform: uppercase;
  background: #ddd;
  padding: 8px 12px;
  border-radius: 3px;
  cursor: pointer;
}

.mode label:hover {
  background: #bbb;
}
