.btn {
    padding: 20px 20px 20px 32px;
    display: flex;
    align-items: center;
    border-radius: 99px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.btn .text {
    line-height: 1;
    position: relative;
    z-index: 5;
    margin-right: 24px;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.btn svg {
    display: inline-block;
    position: relative;
    z-index: 5;
    transform: rotate(0deg) translateX(0);
    transform-origin: left;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.btn svg path{
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.btn::before {
    content: '';
    width: 32px;
    height: 32px;
    display: block;
    position: absolute;
    z-index: 1;
    border-radius: 99px;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.btn:hover svg {
    transform: rotate(45deg) translateX(-8px);
}
.btn:hover::before {
    content: '';
    width: 100%;
    height: 100%;
    right: 0;
}
