/* Bounce circles */

.wrapper {
    width: 200px;
    height: 60px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.circle {
    width: 20px;
    height: 20px;
    position: absolute;
    border-radius: 50%;
    background-color: #FF4F00;
    left: 15%;
    transform-origin: 50%;
    animation: circle .5s alternate infinite ease;
}

@keyframes circle {
    0% {
        top: 60px;
        height: 5px;
        border-radius: 50px 50px 25px 25px;
        transform: scaleX(1.7);
    }
    40% {
        height: 20px;
        border-radius: 50%;
        transform: scaleX(1);
    }
    100% {
        top: 0%;
    }
}

.circle:nth-child(2) {
    left: 45%;
    animation-delay: .2s;
}

.circle:nth-child(3) {
    left: auto;
    right: 15%;
    animation-delay: .3s;
}

.shadow {
    width: 20px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    top: 62px;
    transform-origin: 50%;
    z-index: -1;
    left: 15%;
    filter: blur(1px);
    animation: shadow .5s alternate infinite ease;
}

@keyframes shadow {
    0% {
        transform: scaleX(1.5);
    }
    40% {
        transform: scaleX(1);
        opacity: .7;
    }
    100% {
        transform: scaleX(.2);
        opacity: .4;
    }
}

.shadow:nth-child(4) {
    left: 45%;
    animation-delay: .2s
}

.shadow:nth-child(5) {
    left: auto;
    right: 15%;
    animation-delay: .3s;
}

.wrapper span {
    position: absolute;
    top: 75px;
    font-family: inherit;
    font-size: 20px;
    letter-spacing: 7px;
    color: #f5f5f5;
    left: 15%;
    font-weight: 700;
}


/* End bounce circles */

.abrir {
    padding: 15px 30px;
    background: rgba(red, green, blue, 0.4);
}

.modalFontA {
    font-size: 4em;
    text-align: center;
    margin: 0 0 0.3em 0;
    color: #00e059;
}

.modal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: .2s;
    z-index: -1;
    opacity: 0;
}

.show {
    /* opacity: 1 !important;
    z-index: 9999 !important; */
}

.modal-container {
    width: 600px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 9px;
}

.modal-content {
    position: relative;
    padding: 2em;
    background: none;
    border-radius: 0.7em;
}

@media only screen and (max-width: 1200px) and (min-width: 540px) {
    .modal-container {
        width: 500px;
        top: 40%;
    }
    .modal-content {
        padding: 4em 2em 1em 2em;
    }
}

@media only screen and (max-width: 539px) and (min-width: 0px) {
    .modal-container {
        width: 310px;
    }
    .modal-content {
        padding: 4em 2em 1em 2em;
    }
/*     iframe {
        min-width: 0px;
        max-width: 500px;
    } */
}



.modal-content .cerrar {
    position: absolute;
    top: 0;
    right: 0;
    border: 1px solid rgba(224, 147, 11, .5);
    color: #e0930b;
    padding: 0.45em;
    margin: 1em;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    transition: .2s;
}

.modal-content .cerrar:hover {
    border: 1px solid rgba(224, 147, 11, 1);
    transform: translateY(-2px);
}

.modal-content h1 {
    text-align: center;
    color: #222;
    margin-bottom: 20px;
}

.modal-content p {
    color: #222;
    margin-bottom: 20px;
}

.modal-simulador {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3200px;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

.container-simulador {
    text-align: center;
    background: white;
    width: 90%;
    height: 100%;
    border-radius: .5em;
    height: 1800px;
    transition: all 1s;
}

.fade-modal-simulador {
    display: none;
}

#btnModalSimulador {
    background-color: #bad670;
    border: #bad670;
    color: black;
    width: 150px;
    height: 45px;
    font-weight: bold;
}

.primerModal {
    margin-top: 40%;
}

/* #primerModal {
    background-color: black;
} */

.logoModal {
    margin-bottom: 10%;
}

.selection-button {
    background: #131348;
    border: none;
    border-radius: 0.3em;
    font-size: 19px;
    font-weight: 500;
    padding: 5px 15px;
    transition: .2s all;
    color: white;
    width: 100px;
}
.selection-button:hover {
    background: #FF4F00;
    color: white;
    border: none;
    border-radius: .3em;
    font-size: 19px;
    font-weight: 500;
    padding: 5px 15px;
}