@charset "UTF-8"; section.tetris { width: 100%; height: 100%; position: absolute; z-index: 6; top: 0; left: 0; display: flex; background: rgba(0, 0, 0, 0.31); visibility: visible; opacity: 1; transition: opacity 0.15s ease-in-out, visibility 0.15s ease-in-out; } section.tetris.hide { visibility: hidden; opacity: 0; pointer-events: none; } section.tetris > canvas { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: auto; }