html {
  /* background: #371B52; */
  /* Stop scrolling issue on short monitors visible|hidden|scroll|auto|initial|inherit; */
  /* overflow-y: hidden;  */
}
body {
  color: #aaa;
  font-family: montserrat, helvetica, arial, sans-serif;
}
main {
  margin: 4em auto;
}

a, a:link, a:hover, a:active, a:visited {
  color: #11c5bf;
  text-decoration: underline;
}
a:link {
  text-decoration: none;
}

button {
  background: transparent;
  border: 1px solid #aaa;
  color: #aaa;
  font-family: montserrat, helvetica, arial, sans-serif;

  padding: 0.5rem 1rem;
  cursor: pointer;
}
button:hover {
  background: #aaa;
  color: #371B52;
}
button:focus {
  outline:0;
}
.undoButton {
  margin-bottom: 1rem;
}

.instructions {
  font-size: 11px;
  color: black;
}
.app {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}
.scoreWrapper {
  flex: 0 1 auto;
  order: 2;
  margin-left: 1rem;
}
.scoreboardText {
  min-width: 10rem;
}

.gameWrapper {
  flex: 0 1 auto;
  order: 1;
  position: relative;
}
.nextPiece {
}
.nextPiece canvas {
  transform-origin: top left;
  transform: scale(0.5);
}

.configPanel {
  font-size: 10px;
}
.configPanel h3 {
  display: inline-block;
  margin: 0 0 0.5rem 0.5rem;
  font-size: 12px;
  font-weight: normal;
  cursor: pointer;
}
.configPanel h3:hover {
  text-decoration: underline;
}
.configPanel button {
  border: none;
  background: transparent;
  color: #aaa;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  margin: 0;
}
.configPanel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.configPanel div {
  margin-bottom: 0.5rem;
}
.configOptions {
  border: 1px solid rgba(0, 255, 255, 0.6);
  padding: 0.5rem;
}
.configPanelText {

}
.configPanelText label {
  display: block;
}
.configPanelText input {
  background: #ccc;
  color: #aaa;
  border: 1px solid rgba(0, 255, 255, 0.3);
  padding: 0.25rem;
}

.credits {
  font-size: 10px;
}

.modalText {
  position: absolute;
  top: 45%;
  left: 0;
  width: 100%;
  margin: auto 0;
  padding: 1rem 0;

  background: rgba(0, 50, 50, 0.40);
  color: #aaa;
  font-size: 24px;
  text-align: center;
  vertical-align: middle;
}
