.text { position: absolute; width: 100%; top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); color: white; font-size: 48px; font-weight: bold; z-index: 5; } .game-container { width: 100vw; height: calc(100vh - var(--header-height)); cursor: pointer; overflow: hidden; position: relative; } .bird { position: relative; width: 50px; height: 50px; top: 50%; left: 50%; transform: translate(0, -10px); color: black; display: flex; align-items: center; justify-content: center; } .points { position: fixed; top: 70px; left: 10px; background-color: var(--Rotkehlchen-gray); padding: 5px 10px; border-radius: 10px; box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); display: flex; justify-content: center; align-items: center; user-select: none; pointer-events: none; z-index: 50; } .gameOver { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: rgba(13, 10, 56, 0.71); color: white; padding: 30px; border-radius: 15px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); text-align: center; z-index: 1000; } .tree-trunk { width: 60px; position: absolute; background: repeating-linear-gradient( 45deg, #8b5a2b, #8b5a2b 10px, #a0522d 10px, #a0522d 20px ); box-shadow: inset 0 0 10px #5c4033; } .bottom { border-start-start-radius: 20px; border-start-end-radius: 20px; } .top { border-end-start-radius: 20px; border-end-end-radius: 20px; }