html, body {
  height: 100%;
  margin: 0;
  font-family: 'Roboto', sans-serif;
}

h1 {
  text-align: center;
}

#header {
  position: absolute;
  height: 100px;
  top: 0;
  width: 100%;
}

#boards {
  position: absolute;
  overflow-y: auto;
  bottom: 200px;
  top: 100px;
}

#keyboard-wrapper {
  position: fixed;
  height: 200px;
  width: calc(100% - 6px);
  bottom: 0;
}

#keyboard {
  user-select: none;
  max-width: 500px;
  flex: 0 1 200px;
  padding-left: 6px;
  margin: 0 auto;
}

.row {
  display: flex;
  width: 100%;
  margin: 0 auto 8px;
}

.row button {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  border-radius: 4px;
  border: 0;
  font-weight: bold;
  background-color: #dcdcdc;
  height: 58px;
  padding: 0;
  user-select: none;
  margin: 0 6px 0 0;
  cursor: pointer;
  touch-action: manipulation;
}

.row button:hover {
  background-color: #cccccc;
}

.row .half {
  flex: 0.5;
}

.row .one-and-a-half {
  flex: 1.5;
}

table.board td {
  height: 50px;
  width: 50px;
  text-align: center;
  vertical-align: center;
  border: 2px solid #cccccc;
  text-transform: uppercase;
  font-weight: bold;
}

table.board {
  display: inline-block;
  margin: 16px;
  border-spacing: 4px;
}

table.board .hit, table.board .almost, table.board .miss, table.board tr.finished td {
  border: 2px solid rgba(0, 0, 0, 0);
  color: #ffffff;
}

table.board .hit {
  background-color: #6aaa64;
}

table.board .almost {
  background-color: #c9b458;
}

table.board .miss {
  background-color: #787c7d;
}

table.board tr.finished td {
  background-color: #333333;
}

table.board tr.incorrect td {
  color: #ff0000;
}

