.nb-arrow-button-v8{
    display: flex;
    justify-content: center;
    align-items: center;
    
    cursor: pointer;
    position: relative;

    width: fit-content;
    min-height: var(--dimensions-to);
}
.nb-arrow-button-v8__arrow{
    width: var(--dimensions);
    height: var(--dimensions);

    position: relative;
    overflow: hidden;

    transition: all var(--arrow-duration) var(--arrow-easing);
}
.nb-arrow-button-v8__arrow svg{
    width: 100%;
    height: 100%;

    position: absolute;
    transform: translateX(-100%);

    min-width: unset !important;
    min-height: unset !important;

    stroke: var(--stroke);
    fill: var(--stroke);

    transition: transform var(--arrow-duration) var(--arrow-easing);
}
.nb-arrow-button-v8:hover .nb-arrow-button-v8__arrow svg{
    transform: translateX(0);
}
.nb-arrow-button-v8__text{
    position: relative;
}
.nb-arrow-button-v8__text::after{
    content: "";
    position: absolute;
    --underline-position: 5px; /*underline position*/
    bottom: calc(var(--underline-position) * -1);
    left: 0;
    width: 100%;
    height: 1px; /*underline height*/
    background: #fff; /*underline color*/

    transform-origin: right;

    transition: transform var(--underline-duration) var(--underline-easing);
}
.nb-arrow-button-v8:hover .nb-arrow-button-v8__text::after{
    transform: scaleX(0);
}
.nb-arrow-button-v8:hover .nb-arrow-button-v8__arrow{
    width: var(--dimensions-to);
    height: var(--dimensions-to);
}