.slice{--c1:#E3FAEA;--c2:#1b522c;--size-letter:clamp(1rem,4vw,32px);padding:.5em 1em;font-size:var(--size-letter);background-color:transparent;border:calc(var(--size-letter) / 6) solid var(--c2);border-radius:.2em;cursor:pointer;overflow:hidden;position:relative;transition:.3s cubic-bezier(.83,0,.17,1);&>.text{font-weight:700;color:var(--c2);position:relative;z-index:1;transition:color .7s cubic-bezier(.83,0,.17,1),font-weight .2s ease}}.slice:hover>.text{font-weight:800}.slice:after{content:"";width:0;height:calc(300% + 1em);position:absolute;translate:-50% -50%;inset:50%;rotate:30deg;background-color:var(--c2);transition:1s cubic-bezier(.83,0,.17,1)}.slice:hover{&>.text{color:var(--c1)}&:after{width:calc(120% + 1em)}}.slice:active{scale:.98;filter:brightness(.9)}