html, body {
  margin: 0;
  width: 100%;
  height: 100%;
}

body {
  background: url("img/testOzadje.png") no-repeat center center;
  background-size: 100% 100%;
  font-family: Arial, sans-serif;
  color: white;
  overflow: hidden;
}

.top-bar {
  position: absolute;
  top: 15px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: bold;
  z-index: 20;
}

mark {
  background: yellow;
  color: black;
  padding: 2px 6px;
}

.game-frame {
  position: relative;
  width: 100vw;
  height: 100vh;
}

canvas {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: 1320px;
  height: 560px;
  display: block;
  background: transparent;
}

#overlay {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: 1320px;
  height: 480px;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  z-index: 10;
}

#overlay h2 {
  margin: 0;
  font-size: 34px;
}

.level-buttons,
.main-buttons {
  display: flex;
  gap: 10px;
}

button {
  padding: 10px 20px;
  background: #00c400;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

button:hover {
  background: #00a000;
}