body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.1em;
}


.rootContainer {
    position: relative;
    width:800px;
}

.gameBoard {
            display: flex;
            flex-direction: column;
            align-items: center;
			position: relative;
			width:800px;
        }
        .gameRow,.flip-horizontal {
            height: 44px;
            width: 800px;
        }
		
		.flip-horizontal {
			transform: scaleX(-1);
		}
		
.score-overlay {
position: absolute;
  bottom: 5px;
  left: 10px;
  right: 0;
  display: none; /* will be set to flex */
  justify-content: space-between;
  width: 780px;
}


.score-element {
  font-weight: bold;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  background-color: rgba(255, 255, 50, 0.7); /* semi-transparent yellow */
  width: 74px;
  padding: 3px;
  border: 1px solid black;
  border-radius: 5px;
}

.score-label {
  color: rgba(100, 100, 0);
}

.score-value {
  color: black;
  text-align: right;
  margin-left: auto;
}


.nextPieceOverlay {
  position: absolute;
  z-index: 1000;
  top: 10px;
  left: 20px;
  right: 0;
  display: none; /* will be set to flex */
  justify-content: space-between;
  width: 770px;
  }

.piece-hint {
		position: relative;
		width:80px;
        }

.cell {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: rgba(50, 128, 255, 0.7); /* semi-transparent blue */
  border: 1px solid black;
}


.paused-cell {
  position: absolute;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(0, 0, 0, 0.5);
}

.pausedOverlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 354px;
	height: 706px;
    border-left: 5px solid rgba(255, 255, 255, 0.7);
    border-right: 5px solid rgba(255, 255, 255, 0.7);
    border-bottom: 5px solid rgba(255, 255, 255, 0.7);
	background-color: rgba(0, 0, 0, 0.5);
    display: none;
}


.game-over-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: none;
}

.game-over-text {
  font-size: 48px;
  font-weight: bold;
  color: red;
  text-shadow: 2px 2px 4px black;
}

.final-score {
  font-size: 24px;
  font-weight: bold;
  margin-top: 10px;
  color: yellow;
  text-shadow: 2px 2px 4px black;
}

.player-name-input {
  display: none;
  margin-top: 10px;
}

.submit-button-container {
  margin-top: 10px;
}


.progressBarContainer {
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background-color: rgba(50, 128, 255, 0.75); /* Optional: semi-transparent black background */
  border: 2px solid black;
  border-radius: 5px;
}



.overlay {
  display: none; /* will be set to block */
  position: absolute;
  top: 50%;
  left: 50%;
  width: 55%;
  height: 620px;
  transform: translate(-50%, -50%);
  text-align: center;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
	border: 2px solid black;
	border-radius: 10px;
}


#startGameButton,
.submit-score-button
 {
	width:70%;
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0%);
	padding: 5px 10px;
    font-size: 1.25em;
	background-color: rgba(249, 235, 80, 0.5);
	border-radius: 10px;
}

.submit-score-button:hover,
#startGameButton:hover 
{
    background-color: rgba(255, 255, 50, 1); /* Change background color on hover */
}

.submit-score-button:active,
#startGameButton:active {
    background-color: rgba(0, 0, 0, 0.8); /* Change background color on click */
	color: rgba(249, 235, 80, 1.0);;
}

#startGameButton
 {
    bottom: 20px;
}



.divCenter {
  position: relative;
  left: 50%;
  transform: translate(-50%, 0%);
}

