body { margin: 0; overflow: hidden; background-color: black; } #gameCanvas { display: block; background-image: url('bg.png'); background-size: cover; background-position: center; cursor: url('gun_cursor.png'), auto; } #score { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); color: yellow; font-size: 2vw; font-weight: bold; text-shadow: 2px 2px 4px #000; } #chances { position: absolute; top: 10px; left: 10px; color: red; font-size: 2vw; font-weight: bold; text-shadow: 2px 2px 4px #000; } #timer { position: absolute; top: 10px; right: 10px; color: white; font-size: 2vw; font-weight: bold; text-shadow: 2px 2px 4px #000; } #gameOver { display: none; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 5vw; font-weight: bold; text-shadow: 4px 4px 8px #000; }