/* Reset default browser margins */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Centering the entire content on the page */
body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh; /* Full viewport height */
  background-color: #f7f7f7; /* Optional: Background color for visibility */
}

/* Container for the game and score */
#codeContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Centering and overlapping divs */
#gameContainer {
  position: relative;
  width: 400px; 
  height: 400px; 
  border: 1px solid grey;
  text-align: center;
}

/* Styling for the overlapping boxes */
.boxes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
}

#greyBox {
  background-color: grey;
  z-index: 1;
}

#blackBox {
  background-color: black;
  z-index: 2;
}

/* Score container styling */
#scoreContainer {
  margin-top: 40px; /* Space between gameContainer and score */
}

#buttonContainer{
  margin-top:20px;
  text-align: center;
}

#actionButton{
  border-radius:50%;
  width:100px;
  height:100px;
  background-image: radial-gradient(lightGreen 5%, green 95%);
  border: 2px solid darkgreen;
  margin:30px;
  box-shadow: 0 0 8px;
}

#timer{
  text-align: center;
  margin-top: 40px;
}