/* farkle.css */
html,
body {
  height: 100%;
  max-height: 100%;
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.farkle {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
}
.diceContainer {
  flex: 1 1 auto;
  display: flex;
  flex-flow: row wrap;
}
.controls {
  flex: 0 0 auto;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}
.controls button {
  height: 8vh;
  display: block;
  width: 90%;
  margin: 1vmin;
  font-size: xx-large;
}
.dieBox {
  position: relative;
  flex: 1 auto;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
.dieDie {
  position: absolute;
  font-family: sans-serif;
  font-size: 30vmin;
}
.dieFrozen .dieDie {
  color: gray;
}
* {
  user-select: none;
}
.spin .dieDie {
  animation: spin .5s linear;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
.scores {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
}
.scoreCol {
  display: flex;
  flex-flow: column;
  margin: 0 1vmin;
}
.overlayCell {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.inactiveCell {
  background-color: #d3d3d3c2;
}
.confirmButton {
  box-sizing: border-box;
  height: 70%;
  width: 70%;
  border: thick solid black;
}
.invisible {
  visibility: hidden;
}
.center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.redCell {
  background-color: #FFa3a3;
  color: #ff0000;
}
.greenCell {
  background-color: #bcffc1;
  color: #00ff15;
}
.cell {
  text-align: center;
  vertical-align: middle;
  border: thin solid black;
  flex: 1;
  position: relative;
  font-size: 20px;
  font-size: 6vw;
}
.cellRow {
  font-size: 20px;
  font-size: 6vw;
  display: flex;
  flex-flow: row nowrap;
  height: 100%;
}
@media (orientation: portrait) {
  .cellRow {
    width: 100%;
    flex-flow: column nowrap;
    font-size: 4vh;
  }
}
@media (orientation: landscape) {
  .dieBox {
    width: 30%;
  }
}
