* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #111;
  font-family: Arial, sans-serif;
}

#game-container {
  position: relative;
  cursor: none; 
}

#gameCanvas {
  background-image: url('zombie_city_background.jpg'); 
  width: 1200px;
  height: 900px;
}

#hud {
  position: absolute;
  top: 10px;
  left: 10px;
  color: red;
  font-size: 18px;
  font-weight: bold;
}

#win-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 10; 
}

#win-image {
  width: 400px; 
  height: auto;
}
#win-message {
  font-size: 24px;
  color: white;
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 5px black;
}
#start-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 15px 30px;
  font-size: 20px;
  font-weight: bold;
  color: white;
  background-color: red;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 100;
}

#start-button:hover {
  background-color: darkred;
}

#start-button:active {
  transform: translate(-50%, -50%) scale(0.95);
}

#game-over-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none; 
  text-align: center;
  z-index: 1000; 
  background-color: rgba(0, 0, 0, 0.8); 
  padding: 20px;
  border-radius: 10px;
}

#game-over-image {
  width: 400px; 
  height: auto;
}

#game-over-message {
  font-size: 24px;
  color: white;
  margin-top: 20px;
  text-shadow: 2px 2px 5px black;
}


.back-btn {
  background-color: #f44336; 
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  font-size: 18px;
  margin-top: 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.back-btn:hover {
  background-color: #d32f2f; 
}


