.game_container .gameRow {
  display: flex;
}

.playArea {
  flex: auto 3;
}

.scoreArea {
  flex: 3;
}

#board {
  min-width: 220px;
}

.roll-game-unstarted {
  animation: pulse 0.5s ease-out infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.die {
  color: black;
  border-radius: 4px;
  border: 3px solid #ccc;
  display: inline-block;
  margin-top: 5px;
  width: 45px;
  height: 45px;
}

.die.active {
  background: rgb(168, 168, 168);
  background: linear-gradient(
    293deg,
    rgba(168, 168, 168, 1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}

.die.inactive {
  background: rgb(255, 220, 220);
  background: linear-gradient(
    345deg,
    rgba(255, 220, 220, 1) 0%,
    rgba(210, 119, 119, 1) 100%
  );
  border-color: #e89696;
}

.face {
  width: 45px;
  height: 45px;
  position: relative;
  cursor: pointer;
}

.circle {
  background-color: #333;
  width: 18%;
  height: 18%;
  border-radius: 50%;
  position: absolute;
}

.circle-tl {
  top: 11%;
  left: 11%;
}

.circle-tr {
  top: 11%;
  left: 55%;
}

.circle-ml {
  top: 33%;
  left: 11%;
}

.circle-m {
  top: 33%;
  left: 33%;
}

.circle-mr {
  top: 33%;
  left: 55%;
}

.circle-bl {
  top: 55%;
  left: 11%;
}

.circle-br {
  top: 55%;
  left: 55%;
}

#scores.table-sm td {
  vertical-align: middle;
}

.scoreCell.userCell {
  cursor: pointer;
  height: 33px;
}

@media (max-height: 670px) {
  .scoreCell.userCell {
    height: 30px;
  }
}

#scores.table-sm td.score-label.calculated {
  font-size: 0.7em;
}

.score-label::first-letter {
  text-transform: capitalize;
}

.tentative {
  color: #ff6666;
  font-weight: bold;
}

.scored {
  font-weight: bold;
}

.highlightRow {
  background-color: #22ffff;
}

#scores {
  margin-bottom: 0px;
}

#scores.table-sm td {
  font-size: 0.8em;
  padding: 0.13rem 0.2rem;
  border: 1px solid black;
}

#scores.table-sm tr.row-sixes,
#scores.table-sm tr.row-bonus,
#scores.table-sm tr.row-doubleyahtzee {
  border-bottom: 3px solid black;
}

#rollSpace {
  width: 400px;
  height: 400px;
  position: relative;
  margin: 0 auto;
}

.die {
  position: absolute;
}

.userTurn #die1 {
  bottom: 200px;
  left: 75px;
}

.userTurn #die2 {
  bottom: 200px;
  left: 125px;
}

.userTurn #die3 {
  bottom: 200px;
  left: 175px;
}

.userTurn #die4 {
  bottom: 200px;
  left: 225px;
}

.userTurn #die5 {
  bottom: 200px;
  left: 275px;
}

.scoreTotalBg {
  background-color: #c5f8d0;
  font-weight: bold;
}

.highlightPlayerBg {
  background-color: #fff3cd;
}

#doubleyahtzeeMsg {
  font-size: 0.8em;
  font-weight: bold;
  padding: 2px 5px;
}

#yahtzeeStatus {
  font-size: 0.8em;
  padding: 2px 5px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translate(-50%, 0);
}

#computerTurn,
#youTurn {
  background-color: #3d7433;
  border-radius: 25px;
  font-size: 1.5em;
  display: inline-block;
  padding: 2px 60px;
  position: relative;
}

#computerTurn span {
  position: relative;
  top: 3px;
  left: 20px;
}

#computerTurn .freda-image {
  position: absolute;
  width: 150px;
  height: 97px;
  top: -30px;
  transform: translate(-85%);
  background-size: contain;
}

#yahtzeeScoreModal .freda-image {
  position: absolute;
  width: 150px;
  height: 97px;
  top: 16px;
  transform: translate(-50%);
  background-size: contain;
  background-repeat: no-repeat;
}

.freda-curious {
  background-image: url("/images/yahtzee/freda-curious-350.png");
}

.freda-happy {
  background-image: url("/images/yahtzee/freda-happy-350.png");
}

.freda-anxious {
  background-image: url("/images/yahtzee/freda-anxious-350.png");
}

.freda-suspense {
  background-image: url("/images/yahtzee/freda-suspense-350.png");
}

.freda-waiting {
  background-image: url("/images/yahtzee/freda-waiting-350.png");
}

.freda-mad {
  background-image: url("/images/yahtzee/freda-mad-350.png");
}

.scoreBg {
  max-width: 300px;
}

.yahtzeeStatusMessageContainer {
  position: relative;
}

@media (max-width: 1018px) {
  .scoreArea {
    flex: 5;
  }
}

@media (max-width: 550px) {
  .game_container .gameRow {
    display: flex;
  }

  #computerTurn,
  #youTurn {
    font-size: 1.25em;
  }

  #computerTurn .freda-image {
    width: 132px;
  }

  .playArea {
    flex: auto 3;
  }

  .scoreArea {
    flex: 6;
  }

  .die,
  .face {
    width: 34px;
    height: 34px;
  }

  .userTurn #die1 {
    left: 50%;
  }

  .userTurn #die2 {
    left: 50%;
  }

  .userTurn #die3 {
    left: 50%;
  }

  .userTurn #die4 {
    left: 50%;
  }

  .userTurn #die5 {
    left: 50%;
  }

  #board {
    min-width: auto;
  }

  .scoresBg {
    max-width: 100%;
    font-size: 0.75em;
  }

  #rollSpace {
    width: 100%;
    height: 300px;
    position: relative;
    margin: 0 auto 0 10px;
  }

  .gameRow {
    margin-right: 0px;
    margin-left: 0px;
  }

  #yahtzeeStatus {
    display: none !important;
  }
}
