main {
  margin: 0;
  margin-left: -256px;
  position:fixed;
  left: 50%;
}

button {
  background: transparent;
  border: 1px solid #FFF;
  color: #333;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
button:hover {
  background: #FFF;
  color: #371B52;
}
button:focus {
  outline:0;
}
.undoButton {
  margin-bottom: 1rem;
}

.instructions {
}
.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 {
  border: 1px solid #333;
  text-align:center;
}
.configPanel h3 {
  display: inline-block;
  margin: 3px;
  padding: 0;
  cursor: pointer;
}
.configPanel h3:hover {
  text-decoration: underline;
}
.configPanel button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin: 0;
}
.configPanel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.configOptions {
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 0.5rem;
}
.configPanelText {

}
.configPanelText label {
  display: block;
}
.configPanelText input {
  background: #00263f;
  color: #fff;
  border: 1px solid rgba(255, 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(50, 50, 50, 0.40);
  text-align: center;
  vertical-align: middle;
}
