@layer normalize{html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}}*{box-sizing:border-box;transform-style:preserve-3d}:root{--perspective: 1200;--rotate-x: -40;--rotate-y: -45;--transform-style: preserve-3d;--cuboid-width: 30;--cuboid-height: calc((270 / 480) * var(--cuboid-width));--cuboid-depth: calc((270 / 480) * var(--cuboid-width));--plane-width: var(--cuboid-width);--plane-height: calc((270 / 480) * var(--cuboid-width));--exploded: 0;--transition: .2s;--speed: .5s;--stagger: -.1s;--bg: hsl(205, 32%, calc((10 + (var(--toggled, 0) * 20)) * 1%))}body{min-height:100vh;overflow:hidden;background:var(--bg);margin:0}[type=checkbox]{height:0;width:0;position:absolute;left:100%}label{height:100vh;width:100vw;position:absolute;z-index:10}:checked~.scene,:checked~.backdrop{--toggled: 1}.shadow{--bg: hsl(45, 80%, calc((0 + (var(--toggled, 0) * 90)) * 1%));height:100%;width:100%;position:absolute;background:radial-gradient(ellipse,var(--bg),transparent);transform:translate3d(0,calc((50 - (var(--toggled, 0) * 100)) * 1%),1px) scale(1.15,1.3);will-change:transform;transition:transform .2s,background .2s;filter:blur(10px)}.seat{height:100%;width:100%;transform-origin:50% 0;transform:translateY(50%) rotateX(calc(var(--toggled, 0) * 90deg));transition:transform .2s}.scene{perspective:calc(var(--perspective, 800) * 1px);transform-style:var(--transform-style);height:100vh;width:100vw;display:flex;align-items:center;justify-content:center;transform:translateZ(calc((1 * var(--cuboid-depth)) * 2vmin))}.backdrop{--bg: hsl(205, 32%, calc((5 + (var(--toggled, 0) * 5)) * 1%));height:100vh;width:100vw;background:var(--bg);position:fixed;top:0;left:0;transition:background var(--transition)}.plane{height:calc(var(--plane-height, 25) * 1vmin);width:calc(var(--plane-width, 25) * 1vmin);transform-style:var(--transform-style);transform:rotateX(calc(var(--rotate-x, -24) * 1deg)) rotateY(calc(var(--rotate-y, -24) * 1deg)) rotateX(90deg) translateZ(0)}.cuboid{--width: var(--cuboid-width, 15);--height: var(--cuboid-height, 10);--depth: var(--cuboid-depth, 4);height:calc(var(--depth) * 1vmin);width:calc(var(--width) * 1vmin);position:absolute;transform:translate3d(calc(var(--x, 0) * 1vmin),calc(var(--y, 0) * 1vmin),calc(var(--z, 0) * 1vmin)) rotateX(calc(var(--rotate-cuboid-x, 0) * 1deg)) rotateY(calc(var(--rotate-cuboid-y, 0) * 1deg)) rotate(calc(var(--rotate-cuboid-z, 0) * 1deg));transform-style:var(--transform-style)}.cuboid__side{transform-style:var(--transform-style);transition:transform .25s ease}.cuboid>div:nth-of-type(1){height:calc(var(--height) * 1vmin);width:100%;transform-origin:50% 50%;transform:rotateX(-90deg);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotateX(-90deg) translateZ(calc((var(--depth) / (2 - var(--exploded))) * 1vmin))}.cuboid>div:nth-of-type(2){height:calc(var(--height) * 1vmin);width:100%;transform-origin:50% 50%;transform:translate(-50%,-50%) rotateX(-90deg) rotateY(180deg) translateZ(calc((var(--depth) / (2 - var(--exploded))) * 1vmin));position:absolute;top:50%;left:50%}.cuboid>div:nth-of-type(3){height:calc(var(--height) * 1vmin);width:calc(var(--depth) * 1vmin);transform:translate(-50%,-50%) rotateX(-90deg) rotateY(90deg) translateZ(calc((var(--width) / (2 - var(--exploded))) * 1vmin));position:absolute;top:50%;left:50%}.cuboid>div:nth-of-type(4){height:calc(var(--height) * 1vmin);width:calc(var(--depth) * 1vmin);transform:translate(-50%,-50%) rotateX(-90deg) rotateY(-90deg) translateZ(calc((var(--width) / (2 - var(--exploded))) * 1vmin));position:absolute;top:50%;left:50%}.cuboid>div:nth-of-type(5){height:calc(var(--depth) * 1vmin);width:calc(var(--width) * 1vmin);transform:translate(-50%,-50%) translateZ(calc((var(--height) / (2 - var(--exploded))) * 1vmin));position:absolute;top:50%;left:50%}.cuboid>div:nth-of-type(6){height:calc(var(--depth) * 1vmin);width:calc(var(--width) * 1vmin);transform:translate(-50%,-50%) translateZ(calc((var(--height) / (2 - var(--exploded))) * -1vmin)) rotateX(180deg);position:absolute;top:50%;left:50%}.cuboid{--z: calc(var(--cuboid-height) / 2)}.cuboid div{background:#080808}.cuboid div:nth-of-type(1),.cuboid div:nth-of-type(3),.cuboid div:nth-of-type(4),.cuboid div:nth-of-type(6){overflow:hidden}.cuboid div:nth-of-type(1):before,.cuboid div:nth-of-type(3):before,.cuboid div:nth-of-type(4):before,.cuboid div:nth-of-type(6):before{content:"";height:calc((2 * var(--cuboid-height)) * 1vmin);width:calc((2 * var(--cuboid-width)) * 1vmin);position:absolute;background-size:cover}.cuboid div:nth-of-type(1){filter:brightness(calc(1 + (var(--toggled, 0) * 1)));background-color:#0d0d0d}.cuboid div:nth-of-type(1) h1{opacity:calc(1 - var(--toggled, 0));transition:opacity var(--transition) calc((1 - var(--toggled, 0)) * var(--transition))}.cuboid div:nth-of-type(1):before{top:0;left:50%;transform:translate(-50%);transform-origin:0 0}.cuboid div:nth-of-type(3){filter:brightness(calc(1 + (var(--toggled, 0) * 2)));background-color:#141414}.cuboid div:nth-of-type(3):before{bottom:100%;left:0;transform:rotate(-90deg) translate(-100%,50%);transform-origin:0 100%}.cuboid div:nth-of-type(4):before{top:0;left:100%;transform:rotate(90deg) translateY(-50%);transform-origin:0 0}.cuboid div:nth-of-type(6) h1{opacity:var(--toggled, 0)}.cuboid div:nth-of-type(6):before{bottom:0;left:50%;transform:translate(-50%)}:checked~.scene .cuboid div:nth-of-type(1):before,:checked~.scene .cuboid div:nth-of-type(3):before,:checked~.scene .cuboid div:nth-of-type(4):before,:checked~.scene .cuboid div:nth-of-type(6):before{background-size:cover;background-image:url(https://media.giphy.com/media/PmSQHu3vBiWG5CbUZh/giphy.gif)}h1{margin:0;position:absolute;font-size:10vmin;font-weight:700;color:#fff;font-family:sans-serif;top:50%;left:50%;transform:translate(-50%,-50%);white-space:nowrap}h1 span{display:inline-block;animation:jump calc(var(--toggled, 0) * var(--speed)) calc(var(--index) * var(--stagger)) infinite}h1 span:nth-of-type(1){--index: 0}h1 span:nth-of-type(2){--index: 1}h1 span:nth-of-type(3){--index: 2}h1 span:nth-of-type(4){--index: 3}.cuboid__side:nth-of-type(1) h1{color:#b3b3b3}.cuboid__side:nth-of-type(1) h1 span{filter:drop-shadow(0 0 2px #fff)}.cuboid__side:nth-of-type(1) h1 span:nth-of-type(4){animation:blinkers 5s infinite}.cuboid__side:nth-of-type(6) h1{color:#fff}.cuboid__side:nth-of-type(6) h1 span{filter:drop-shadow(0 0 5px var(--light, #f00))}.cuboid__side:nth-of-type(6) h1 span:nth-of-type(1){--light: #f07575}.cuboid__side:nth-of-type(6) h1 span:nth-of-type(2){--light: #75f09e}.cuboid__side:nth-of-type(6) h1 span:nth-of-type(3){--light: #75b2f0}.cuboid__side:nth-of-type(6) h1 span:nth-of-type(4){--light: #db75f0}@keyframes jump{0%,to{transform:translate(0)}50%{transform:translateY(-30%)}}@keyframes blinkers{52%,54%,56%{opacity:.1;filter:none}50%,53%,55%,57%,to{filter:drop-shadow(0 0 2px #fff);opacity:1}}
