body {
  font-size: 18px;
  font-family: "Open Sans", "Lucida Grande", "Arial", sans-serif;
  background-color: #4a2511;
  padding: 2em;
}

.keyboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: auto;
  width: auto;
}

.logo {
  font-family: "Pacifico", cursive, sans-serif;
  color: white;
  font-size: 2rem;
  text-align: center;
}

button.init {
  margin: 1em;
}

.key {
  position: relative;
  cursor: pointer;
  float: left;
  display: inline-block;
  padding: 0.2em;
  height: 8em;
}

.key .label {
  display: none;
  position: absolute;
  bottom: -2em;
  left: 0;
  right: 0;
  width: 100%;
  text-align: center;
}

.key.white {
  color: grey;
  width: 1.75em;
  z-index: 1;
  border-left: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  border-radius: 0 0 0.3em 0.3em;
  box-shadow: -1px 0 0 rgba(255, 255, 255, 0.8) inset, 0 0 5px #ccc inset,
    0 0 3px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to bottom, #eee 0%, #fff 100%);
}

.key.black {
  z-index: 2;
  box-shadow: -1px -1px 2px rgba(255, 255, 255, 0.2) inset,
    0 -5px 2px 3px rgba(0, 0, 0, 0.6) inset, 0 2px 4px rgba(0, 0, 0, 0.5);
  background: linear-gradient(45deg, #222 0%, #555 100%);
  color: white;
  width: 1em;
  margin-left: -0.5em;
  height: 5em;
  border: 1px solid black;
  border-radius: 0 0 0.2em 0.2em;
}

.key.white.pressed {
  border-top: 1px solid #777;
  border-left: 1px solid #999;
  border-bottom: 1px solid #999;
  box-shadow: 2px 0 3px rgba(0, 0, 0, 0.1) inset,
    -5px 5px 20px rgba(0, 0, 0, 0.2) inset, 0 0 3px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to bottom, #fff 0%, #e9e9e9 100%);
}

.key.black.pressed {
  box-shadow: -1px -1px 2px rgba(255, 255, 255, 0.2) inset,
    0 -2px 2px 3px rgba(0, 0, 0, 0.6) inset, 0 1px 2px rgba(0, 0, 0, 0.5);
  background: linear-gradient(to right, #444 0%, #222 100%);
}

.key.black + .key.white {
  margin-left: -0.5em;
}

.key.black .label {
  display: none;
}

.vibratoControls {
  color: white;
}

.vibratoControls > * {
  margin: 0.5em;
}
