body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 100vh;
  background: linear-gradient(
    0deg,
    rgb(92, 92, 92) 0%,
    rgb(172, 172, 172) 100%
  );
  margin: 0;
}

canvas {
  background-color: black;
}

button:hover {
  background-color: #0056b3 !important;
}

.menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    0deg,
    rgb(92, 92, 92) 0%,
    rgb(172, 172, 172) 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
}

.menu h1 {
  font-size: 80px;
  color: white;
  text-transform: uppercase;
  margin: 0;
}

.menu button {
  font-size: 24px;
  padding: 10px 20px;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.menu button:hover {
  background-color: #0056b3;
}

.final-text-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.9);
  z-index: 100;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.final-text {
  font-size: 48px;
  color: white;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: center;
}

.hidden {
  display: none;
}

#restart-button,
#menu-button {
  font-size: 20px;
  padding: 10px 20px;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 5px;
}

#pause-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  z-index: 10;
}

.pause-text {
  font-size: 48px;
  margin-bottom: 20px;
}

.continue-text {
  font-size: 24px;
  opacity: 0.8;
}

.continue-button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 18px;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.continue-button:hover {
  background-color: #0056b3;
}

#level-display {
  position: absolute;
  top: 20px;
  left: 20px;
  color: white;
  font-size: 24px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 5px;
}

#level-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  z-index: 10;
}

.level-text {
  font-size: 48px;
  margin-bottom: 20px;
}

.continue-button {
  padding: 10px 20px;
  font-size: 18px;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#start-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: white;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 20px 40px;
  border-radius: 10px;
  text-align: center;
  z-index: 20;
}
