.cust_btn_slide
{
    position: relative;
    display: inline-block;
    width: 160px;
    height: 50px;
    box-shadow: 0 5px 25px rgba(64, 32, 0, 0.25);
}
.cust_btn_slide span
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff4ea;
    background: #1e0b52;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 18px;
}

.cust_btn_slide span:nth-child(2)
{
    color: #402000;
    background: #fff4ea;
    overflow: hidden;
    z-index: 2;
    transition: 0.5s;
    /* clip-path: polygon(60% 0, 100% 0%, 100% 100%, 60% 100%, 40% 53%); */
    clip-path:polygon(55% 0, 100% 0%, 100% 100%, 55% 100%, 50% 53%)
}

.cust_btn_slide span:nth-child(2):hover
{
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0 100%, 0 50%);
}

.cust_btn_slide span:nth-child(1):hover ~ span:nth-child(2)
{
    clip-path: polygon(100% 0, 100% 0%, 100% 100%, 100% 100%, 100% 50%);
}


.cust_btn{
    /* border: 1px solid #000; */
    border: 2px solid #8f8ff0;
    background: none;
    padding: 15px 25px;
    text-decoration: none !important;
    font-size: 16px;
    /* font-family: "montserrat"; */
    cursor: pointer;
    width:200px;
    margin: 10px;
    font-weight: 900;;
    overflow: hidden;
    text-transform: uppercase;
    z-index: 0;
    border-radius: 5px;;
    position: relative;
    transition: 0.8s
}

.cust_btn1,.cust_btn2{
    /* color: #000; */
    color: #15159d;
}

.cust_btn3,.cust_btn4{
    color: #fff;
    /* color:#0640e0; */
}

.cust_btn1:hover,.cust_btn2:hover{
    color: #fff;
    /* color: #0640e0; */
}

.cust_btn3:hover,.cust_btn4:hover{
    /* color: #000; */
    color:#15159d;
}


.cust_btn::before{
    content:"";
    position: absolute;
    left: 0;
    width: 100%;
    height: 0%;
    /* background: #000; */
    background: #1b1bca;
    /* background: linear-gradient(92.56deg, #98C255 0%, #52BAEC 100%); */
    /* background: radial-gradient(circle at center, #ff761a , #1b1bca); */
    /* color: #fff; */
    z-index: -1;
    transition: 0.8s;;

}

.cust_btn1::before,.cust_btn3::before
{
    top:0;
    border-radius: 0 0 50% 50%;
}

.cust_btn2::before,.cust_btn4::before
{
    bottom:0;
    border-radius: 50% 50% 0 0;
}

.cust_btn3::before, .cust_btn4::before{
    height:180%;
}

.cust_btn1:hover::before,.cust_btn2:hover::before{
    height:180%;
}

.cust_btn3:hover::before,.cust_btn4:hover::before{
    height:0%;
}

@media (max-width: 480px){
    .cust_btn
    {
        font-size: 14px !important;
        padding: 5px 10px !important;
    }
}



/*****Dark Button******/
.cust_dark_btn_z_index
{
    z-index: 0;
}
.cust_dark_btn{
    border: 1px solid #402000;
    /* border: 1px solid #fff; */
    background: none;
    padding: 10px 20px;
    font-size: 20px;
    font-family: "montserrat";
    cursor: pointer;
    margin: 10px;
    overflow: hidden;
    position: relative;
}

.cust_dark_btn1,.cust_dark_btn2{
    color: #402000;
    /* color: #fff; */
}

.cust_dark_btn3,.cust_dark_btn4{
    color: #fff4ea;
    /* color: #000; */
}

.cust_dark_btn1:hover,.cust_dark_btn2:hover{
    color: #fff4ea;
    /* color: #000; */
}

.cust_dark_btn3:hover,.cust_dark_btn4:hover{
    color: #402000;
    /* color: #fff; */
}

.cust_dark_btn::before{
    content:"";
    position: absolute;
    left: 0;
    width: 100%;
    height: 0%;
    background: #402000;
    /* background: #fff; */
    z-index: -1;
    transition: 0.4s;;

}

.cust_dark_btn1::before,.cust_dark_btn3::before
{
    top:0;
    border-radius: 0 0 50% 50%;
}

.cust_dark_btn2::before,.cust_dark_btn4::before
{
    bottom:0;
    border-radius: 50% 50% 0 0;
}

.cust_dark_btn3::before, .cust_dark_btn4::before{
    height:180%;
}

.cust_dark_btn1:hover::before,.cust_dark_btn2:hover::before{
    height:180%;
}

.cust_dark_btn3:hover::before,.cust_dark_btn4:hover::before{
    height:0%;
}

@media (max-width: 480px){
   
    .cust_dark_btn
    {
        font-size: 14px !important;
        padding: 5px 10px !important;
    }
}
























.btn-cutom
{
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    background: #E9751E;
    font-size: 16px;
    font-weight: bold;
    margin: 10px;
    text-transform: capitalize;
    letter-spacing: 2px;
    border: 0;
}

.btn-cutom:hover
{
    background: #3864ad;
    transition:0.5s;
    transition-delay:1s;
    color: #fff;
}

.btn-cutom span
{
    position: absolute;
    display: block;
    background: #3864ad;
}

.btn-cutom span:nth-child(1)
{
    left: 0;
    bottom: 0;
    width: 2px;
    height:100%;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.25s;
    
}

.btn-cutom:hover span:nth-child(1)
{
    transform: scaleY(1);
    transform-origin: bottom;
    transition: transform 0.25s;
    
}

.btn-cutom span:nth-child(2)
{
    left: 0;
    top: 0;
    width: 100%;
    height:2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s;
    transition-delay: 0.25s;
}

.btn-cutom:hover span:nth-child(2)
{
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.25s;
    transition-delay: 0.25s;
}

.btn-cutom span:nth-child(3)
{
    right: 0;
    bottom: 0;
    width: 2px;
    height:100%;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.25s;
    transition-delay: 0.5s;
}

.btn-cutom:hover span:nth-child(3)
{
    transform: scaleY(1);
    transform-origin: top;
    transition: transform 0.25s;
    transition-delay: 0.5s;
}

.btn-cutom span:nth-child(4)
{
    bottom: 0;
    left: 0;
    width: 100%;
    height:2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s;
    transition-delay: 0.75s;
}

.btn-cutom:hover span:nth-child(4)
{
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 0.25s;
    transition-delay: 0.75s;
}
