/* main style of the entire page */
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #f4f4f4;
}

/* container layout and size */
.container {
  width: 100vw;
  min-height: 100vh;
  display: grid;

  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 160px auto auto 125px;
  gap: 10px;
  padding: 15px;
  box-sizing: border-box;
}

/* general container style */
.container div {
  padding: 20px;
  background-color: white;
  border-radius: 12px;
}

/* specific container styles */
header {
  background-color: white;
  text-align: center;
  border-radius: 12px;
  padding: 20px;
  grid-column: 1 / 5;
}

footer {
  background-color: white;
  text-align: center;
  border-radius: 12px;
  padding: 20px;
  grid-column: 1 / 5;
}

button {
  background-color: #222;
  width: 125px;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background-color: #444;
}

.box0 { 
  grid-column: 1 / 4; 
  grid-row: 2 / 4; 
  height: 900px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.box0Header { text-align: center;}
.gameContent { text-align: center;}
.mainMenu{ text-align: center; }
.difficultyMenu{ text-align: center; }

.box1 { grid-column: 4 / 5; grid-row: 2 / 3; }
.box2 { grid-column: 4 / 5; grid-row: 3 / 4; }

.hidden{
  display: none;
}

#gameBoard{
  border: 1px solid;
}

#scoreLabel{
  font-size: 20px;
}

#score{
  font-size: 20px;
}