body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #9ac5ee;
}

#gameContainer {
  text-align: center;
  border: 2px solid #333;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#colorBox {
  width: 180px;
  height: 180px;
  margin: 20px auto;
  border: 2px solid #333;
  border-radius: 10px;
}

#colorOptions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.colorOption {
  width: 90px;
  height: 90px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: 5px;
}

.colorOption:active {
  transform: scale(0.95);
}

#gameInstructions, #gameStatus, #scoreContainer, #highScoreContainer {
  margin: 20px 0;
}

#highScore, #score {
  color: green;
}

#scoreContainer, #highScoreContainer {
  color: green;
  font-weight: bold;
  font-family: verdana;
}

#gameInstructions {
  font-family: verdana;
}

#newGameButton  {
  padding: 15px 25px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: #fff;
  transition: background-color 0.2s;
}

#resetHighScoreButton{
  padding: 15px 25px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #f32929;
  color: #fff;
  transition: background-color 0.2s;
}

#newGameButton:hover {
  background-color: #0056b3;
}

#resetHighScoreButton:hover{
  background-color: #d33f3f;
}
/* Media Queries */

/* Tablets and smaller devices */
@media (max-width: 768px) {
  #gameContainer {
    padding: 15px;
  }

  #colorBox {
    width: 120px;
    height: 120px;
  }

  .colorOption {
    width: 60px;
    height: 60px;
  }

  #newGameButton, #resetHighScoreButton {
    padding: 10px 18px;
    font-size: 15px;
  }

  #gameInstructions, #gameStatus, #scoreContainer, #highScoreContainer {
    margin: 15px 0;
  }
}

/* Mobile devices */
@media (max-width: 480px) {
  body {
    padding: 10px;
    height: 100vh;
  }

  #gameContainer {
    width: 100%;
    padding: 10px;
  }

  #colorBox {
    width: 120px;
    height: 120px;
  }

  .colorOption {
    width: 50px;
    height: 50px;
  }

  #newGameButton, #resetHighScoreButton {
    padding: 10px 15px;
    font-size: 12px;
  }

  #gameInstructions, #gameStatus, #scoreContainer, #highScoreContainer {
    margin: 10px 0;
  }
}
