.cta{
    position: relative;
    border-radius: 10px !important;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    width: fit-content !important;
    margin-left: auto;
    margin-right: auto;
    line-height: 125%;
    padding: 0px !important;
    background: var(--primary2);
  }
  
.cta:before{
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: var(--primary2);
    z-index: 0;
  }
  
.cta:after{
    content: "";
    position: absolute;
    right: 8px;
    top: 53%;
    transform: translateY(-50%);
    height: 25px;
    width: 25px;
    background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxOSAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTAuNzUgMUwxNi43NSA3TDEwLjc1IDEzIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBkPSJNMTYuMjUgN0gwLjI1IiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiLz4KPC9zdmc+");
    z-index: -1;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    z-index: 1;
  }
  
  
.cta span{
    width: 100%;
    display: block;
    padding: 10px 40px !important;
    transition: 0.15s all linear;
    background: var(--secondary1);
    border-radius: 10px;
    z-index: 4;
  }
  
.cta:hover span{
     transform: translateX(-20px) !important;
     width: calc(100% - 20px) !important;
}

@media (min-width: 1000px){
    .cta:hover span{
        transform: translateX(-30px) !important;
        width: calc(100% - 30px) !important;
    }

    .cta:after{
        height: 30px;
        width: 30px;
        right: 16px;
    }
}