body, html { width: 100%; height: 100%; overflow: hidden; margin: 0; padding: 0; } #game-draw { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; } .motajs-input-element { left: 0; top: 0; position: fixed; border: none; z-index: 1000; background-color: transparent; }