@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}}*,*:after,*:before{box-sizing:border-box}:root{--bg: #fafafa}body{display:flex;align-items:center;justify-content:center;min-height:100vh;background:var(--bg);color:var(--bg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}.container{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px}button{--borderWidth: 5;--boxShadowDepth: 8;--buttonColor: #f00;--fontSize: 3;--horizontalPadding: 16;--verticalPadding: 8;background:transparent;border:calc(var(--borderWidth) * 1px) solid var(--buttonColor);box-shadow:calc(var(--boxShadowDepth) * 1px) calc(var(--boxShadowDepth) * 1px) 0 #888;color:var(--buttonColor);cursor:pointer;font-size:calc(var(--fontSize) * 1rem);font-weight:700;outline:transparent;padding:calc(var(--verticalPadding) * 1px) calc(var(--horizontalPadding) * 1px);position:relative;transition:box-shadow .15s ease}button:hover{box-shadow:calc(var(--boxShadowDepth) / 2 * 1px) calc(var(--boxShadowDepth) / 2 * 1px) 0 #888}button:active{box-shadow:0 0 #888}button span{-webkit-clip-path:var(--clip);bottom:calc(var(--borderWidth) * -1px);clip-path:var(--clip);left:calc(var(--borderWidth) * -1px);position:absolute;right:calc(var(--borderWidth) * -1px);top:calc(var(--borderWidth) * -1px);z-index:1}button span:nth-of-type(1):hover,button span:nth-of-type(2):hover,button span:nth-of-type(3):hover,button span:nth-of-type(4):hover{--clip: polygon(0 0, 100% 0, 100% 100%, 0 100%);z-index:2}button span:nth-of-type(1):hover~b:nth-of-type(1),button span:nth-of-type(2):hover~b:nth-of-type(2),button span:nth-of-type(3):hover~b:nth-of-type(3),button span:nth-of-type(4):hover~b:nth-of-type(4){--clip: inset(0 0 0 0)}button span:nth-of-type(1){--clip: polygon(0 0, 100% 0, 50% 50%, 50% 50%)}button span:nth-of-type(2){--clip: polygon(100% 0, 100% 100%, 50% 50%)}button span:nth-of-type(3){--clip: polygon(0 100%, 100% 100%, 50% 50%)}button span:nth-of-type(4){--clip: polygon(0 0, 0 100%, 50% 50%)}button b{-webkit-clip-path:var(--clip);background:var(--buttonColor);border:calc(var(--borderWidth) * 1px) solid var(--buttonColor);bottom:calc(var(--borderWidth) * -1px);font-weight:700;clip-path:var(--clip);color:var(--bg, #fafafa);left:calc(var(--borderWidth) * -1px);padding:calc(var(--verticalPadding) * 1px) calc(var(--horizontalPadding) * 1px);position:absolute;right:calc(var(--borderWidth) * -1px);top:calc(var(--borderWidth) * -1px);transition:clip-path .25s ease}button b:nth-of-type(1){--clip: inset(0 0 100% 0)}button b:nth-of-type(2){--clip: inset(0 0 0 100%)}button b:nth-of-type(3){--clip: inset(100% 0 0 0)}button b:nth-of-type(4){--clip: inset(0 100% 0 0)}
