*{
    --backArrow:url('data:image/svg+xml,<svg width="23" height="10" viewBox="0 0 23 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.75138 9.984L0.583375 5.304L6.75138 0.623999V4.44H22.4234V6.168H6.75138V9.984ZM5.04738 6.552V4.056L3.39138 5.304L5.04738 6.552Z" fill="white"/></svg>');
}
.buttonText{
    height: 60px !important;
    display: flex !important;
    cursor: pointer !important;
    justify-content: center;
    align-items: center;
    border:solid 1px #fff !important;
    background: rgba(0, 0,0,0.1) !important;
    transition: background 0.2s ease;
    padding: 0 min(1rem, 1vw);
}
body.hasHover .buttonText:hover{
    background: rgba(0, 0,0,0.5) !important;
}
.buttonText > div{
    color:#fff !important;
    position: relative !important;
    background-color: transparent !important;
    pointer-events: none !important;
    user-select: none;
    white-space: normal !important;
    overflow-y: hidden !important;
    height: auto !important;
}
.button{
    pointer-events: all !important;
    border:none !important;
    width:60px !important;
    height: 60px !important;
    display: flex !important;
    background: transparent !important;
    cursor:pointer !important;
    user-select: none;
    justify-content: center;
    align-items: center;
    text-align: center !important;
    font-family: var(--fontSerif) !important;
    font-size:24px !important;
    position: relative;
    overflow: hidden;
}
.buttonBlack{

}
.buttonSpecial{
    background: #00000080 !important;
    z-index: 1000000 !important;
    border: solid 1px #ffffff80 !important;
}
.button > div{
    pointer-events: none;
    font-size: 24px !important;
    top: 0 !important;
    left: 0 !important;
    position:relative !important;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 1px;
    box-sizing: border-box;
    -webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0, 0 0, 0 0);
    clip-path: polygon(0 0, 0 0, 0 0, 0 0, 0 0, 0 0);
    -webkit-transition: -webkit-clip-path 0.3s ease-out;
    transition: clip-path 0.3s ease-out;
}

.button.buttonBlack::before {
    border: 1px solid rgba(0,0,0,0.5);
}

body.hasHover .button:hover::before,
body.hasHover .button.hovered::before{
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 100%, 0 0);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 100%, 0 0);
}

.backArrow{
    background: var(--backArrow);
    background-image: var(--backArrow) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 40% !important;
}
