/* Make content area fill the entire browser window */
html,
.fullscreen {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;  
}

html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;  
}

/* Center the content in the browser window */
.container {
  margin: auto;
}

.title {
  font-size: 3rem;
}


.gameOverScreen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  color: white;
  align-items: center;
  justify-content: center;
  cursor: initial;
}

.gameOverContent {
  width: fit-content;
  height: fit-content;
  background-color: #222222;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px black;
}

.gameOverDiv {
  font-size: 60px;
  text-align: center;
}

.controlPanel {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.controlPanel button {
  background-color: #FFFFFF;
  color: #222222;
  border: solid;
  border-width: 1px;
  border-radius: 5px;
  border-color: #222222;
  padding: 6px 18px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  cursor: pointer;
  height: fit-content;
  width: fit-content;
  transition: .2s;
}

.controlPanel button:hover {
  background-color: #DADADA;
  color: #222222;
  transition: .2s;
}

.controlPanel .restartButton:hover {
  background-color: #3498DB;
}

.controlPanel .exitButton:hover {
  background-color: #E74C3C;
}

#score, #time, #invertedControls {
  background-color: rgb(34, 34, 34, 0.7);
  padding: 10px;
  border-radius: 10px;
}

#score {
  position: absolute;
  top: 10px;
  left: 10px;
  color: white;
  font-size: 2em;
}

#time {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 2em;
}

#outOfBounds {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  color: red;
  font-size: 2em;
  display: none;
}

#invertedControls {
  position: absolute;
  bottom: 10px;
  left: 10px;
  text-align: center;
  color:white
}