/* General body setup */
body {
  background-color: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: white;
  font-family: Arial, sans-serif;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Container to hold everything (canvas + menus) */
.container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Canvas styling */
canvas {
  background-color: #222;
  border: 4px solid white;
  display: block;
  margin: auto;
  max-width: 95vw;
  max-height: 90vh;
}

/* Menu screens */
.menu, #gameOver {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 500px;
  background-color: rgba(0, 0, 0, 0.8);
  text-align: center;
  padding-top: 120px;
  box-sizing: border-box;
  border-radius: 10px;
}

/* Buttons */
button {
  background-color: #ff3c00;
  color: white;
  border: none;
  padding: 10px 25px;
  margin: 10px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #ff5e3a;
}

/* Hide elements */
.hidden {
  display: none;
}
