﻿.wrap {
    /*height: 100%;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.btnFormulario {
    min-width: 293px;
    min-height: 53px;
    font-family: "Lato-Heavy";
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-weight: 700;
    color: rgb(255 255 255);
    background: linear-gradient(90deg, #9b61ca 0%, #AE63EC 100%);
    border: none;
    border-radius: 1000px;
    box-shadow: 12px 12px 24px rgb(174 99 236 / 64%);
    transition: all 0.3s ease-in-out 0s;
    cursor: pointer;
    outline: none;
    position: relative;
    padding: 10px;
    z-index: 10;
}

    .btnFormulario::before {
        content: '';
        border-radius: 1000px;
        min-width: calc(400px + 12px);
        min-height: calc(60px + 12px);
        border: 6px solid #AE63EC;
        box-shadow: 0 0 60px rgb(0 121 255 / 64%);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: all .3s ease-in-out 0s;
    }

.btnFormulario:hover, .btnFormulario:focus {
    color: rgb(255 255 255);
    transform: translateY(-6px);
}

    .btnFormulario:hover::before, button:focus::before {
        opacity: 1;
    }

    .btnFormulario::after {
        content: '';
        width: 30px;
        height: 30px;
        border-radius: 100%;
        border: 6px solid #AE63EC;
        position: absolute;
        z-index: -1;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: ring 2s infinite;
    }

    .btnFormulario:hover::after, button:focus::after {
        animation: none;
        display: none;
    }

@keyframes ring {
    0% {
        width: 30px;
        height: 30px;
        opacity: 1;
    }

    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}



.btn-flotante {
    position: fixed;
    bottom: 40px;
    right: 40px;
}

/*.btn-flotante:hover {
        background-color: #2c2fa5;*/ /* Color de fondo al pasar el cursor */
/*box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
        transform: translateY(-7px);
    }*/

@media only screen and (max-width: 1000px) {
    .btn-flotante {
        font-size: 14px;
        padding: 12px 20px;
        bottom: 20px;
        right: 20px;
    }
    .btnFormulario {
        min-width: 200px !important;
        font-size: 10px;
        width: 10px;
    }
        .btnFormulario::before {
            min-width: calc(210px + 12px);
        }
}
