#formContacto *::selection{
    background-color: #B4D5FE;
}

.g-recaptcha {
    visibility: hidden !important;
}

#contacto{
    height: 800px;
    background-image: url('../../assets/Imagen fondo landing.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 150%;
    padding: 100px 0;
}
#contacto .titulo {
    font-family: 'BebasNeueBold';
    font-weight: 700;
}
#contacto .cajaFormulario {
    width: 90%;
    max-width: 1200px;
    height: 600px;
    border-radius: 35px 30px 30px 35px;
    background-color: #fff;
    margin: 0px auto;
}
#contacto .cajaFormulario > * {
    padding: 40px;
}
#contacto .cajaFormulario .izq {
    float: left;
    width: 320px;
    height: 100%;
    background-color: #1a1a1a;
    border-radius: 30px 0 0 30px;
}
#contacto .cajaFormulario .der {
    float: right;
    width: calc( 100% - 320px);
    height: 100%;
}
#contacto .cajaFormulario .enviado {
    display: none;
    
    float: right;
    width: calc( 100% - 320px);
    height: 100%;
}
#contacto .cajaFormulario .enviado .checkmark {
    margin-top: 10%;
}
#contacto .cajaFormulario .enviado .titulo {
    text-align: center;
    margin-top: 35px;
}
#contacto .cajaFormulario .enviado .texto {
    font-family: 'Montserrat';
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: #808080;
    text-align: center;
    margin: 25px auto 0 auto;
    max-width: 500px;
}
#contacto .cajaFormulario .derFail .boton {
    float: none;
    text-align: center;
    margin: 40px auto 0 auto;
}
#contacto .cajaFormulario .titulo {
    font-size: 40px;
}
#contacto .cajaFormulario .izq .titulo {
    color: white;
}
#contacto .cajaFormulario .izq .filaContacto {
    width: 100%;
}
#contacto .cajaFormulario .izq .filaContacto:hover .texto {
    color: #ddd;
}
#contacto .cajaFormulario .izq .filaContacto:hover svg {
    fill: #ddd;
}
#contacto .filaContacto .icono {
    margin-bottom: 15px;
    fill: #808080;
    width: 30px;
    height: 30px;
    transition: 0.2s ease-out;
}
#contacto a:first-child .filaContacto {
    margin-top: 20px;
}
#contacto .filaContacto .texto {
    float: right;
    width: calc(100% - 50px);
    font-size: 15px;
    font-weight: 500;
    color: #ccc;
    margin-left: 20px;
    line-height: 30px;
    transition: 0.15s ease-out;
}
#contacto .der .titulo {
    margin-bottom: 20px;
}
#contacto .input {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance:none;
    appearance: none;
    width: 100%;
    height: 44px;
    border-radius: 24px;
    border: 2px solid #e6e6e6;
    color: black;
    padding: 13px 20px;
    font-size: 15px;
    margin-bottom: 10px;
    transition: 0.2s ease-out;
}
#contacto .input:focus {
    border: 2px solid #ccc;
    transition: 0.2s ease-out;
}
#contacto .input.vacio {
    border: 2px solid #e61b0e;
    transition: 0.2s ease-out;
}
#contacto .input:placeholder {
    color: #848484;
}
::-webkit-input-placeholder {
    font-family: 'Montserrat';
    font-weight: 500;
}
:-moz-placeholder {
    font-family: 'Montserrat';
    font-weight: 500;
}
::-moz-placeholder {
    font-family: 'Montserrat';
    font-weight: 500;
}
:-ms-input-placeholder {
    font-family: 'Montserrat';
    font-weight: 500;
}
#contacto #formContacto textarea {
    resize: none;
    height: 280px;
    padding: 20px;
    font-family: 'Montserrat';
    font-weight: 500;
}
#contacto #formContacto textarea:placeholder {
    color: #848484;
}
#contacto .checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance:none;
    appearance: none;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border-radius: 5px;
    border: 2px solid #e6e6e6;
    background-color: #fff;
    cursor: pointer;
    transition: 0.2s ease-out;
}
#contacto .link{
    text-decoration: underline;
    color: #505050;
    margin-left: 4px;
    transition: 0.2s ease;
}
#contacto .link:hover {
    color: #202020;
    transition: 0.2s ease;
}
#contacto label {
    float: left;
    font-size: 11px;
    font-weight: 500;
    color: #505050;
    line-height: 28px;
    display: inline-flex;
    cursor: pointer;
    position: relative;
}
#contacto .textoConforme {
    max-width: 433px;
}
#contacto #tick {
    width: 12px;
    height: 12px;
    fill: white;
    position: absolute;
    top: 6px;
    left: 8px;
}
#contacto .checkbox:hover {
    border: 2px solid #e61b0e;
    transition: 0.2s ease-out;
}
#contacto .checkbox.vacio {
    border: 2px solid #e61b0e;
    transition: 0.2s ease-out;
    /* animation: pulse 1s 1;
    -moz-animation: pulse 1s 1;
    -webkit-animation: pulse 1s 1; */
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0px 0px rgba(230,27,14, 0.4);
  }
  70% {
      box-shadow: 0 0 4px 15px rgba(230,27,14, 0);
  }
  100% {
      box-shadow: 0 0 0px 0px rgba(230,27,14, 0);
  }
}
@-moz-keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0px 0px rgba(230,27,14, 0.4);
  }
  70% {
      -moz-box-shadow: 0 0 4px 15px rgba(230,27,14, 0);
  }
  100% {
      -moz-box-shadow: 0 0 0px 0px rgba(230,27,14, 0);
  }
}
@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0px 0px rgba(230,27,14, 0.4);
  }
  70% {
      -webkit-box-shadow: 0 0 4px 15px rgba(230,27,14, 0);
  }
  100% {
      -webkit-box-shadow: 0 0 0px 0px rgba(230,27,14, 0);
  }
}
#contacto .checkbox:checked {
    border: 2px solid #e61b0e;
    background-color: #e61b0e;
    transition: 0.15s ease-out;
}
#contacto .boton {
    width: 220px;
    height: 44px;
    font-family: 'Montserrat';
    font-size: 13px;
    line-height: 20px;
    font-weight: 700;
    padding: 10px 0px;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease-out;

    box-shadow: 0 3px 6px 0 rgb(230 27 14 / 50%);
    color: white;
    background-color: #e61b0e;
    border: 2px solid #e61b0e;

    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance:none;
    appearance: none;
    float: right;
    cursor: pointer;
    outline: none;
}
#contacto .boton::-moz-focus-inner {
  border: 0;
}
.checkmark {
    width: 100%;
    max-width: 140px;
    height: 140px;
    border-radius: 50%;
    position: relative;
    transform: translate(-50%, 0);
    margin: 0px auto 0 auto;
  display: block;
  stroke-width: 2;
  stroke: white;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #8fe617;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #8fe617;
  fill: none;
  animation: stroke .6s cubic-bezier(0.650, 0.000, 0.450, 1.000) forwards;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke .3s cubic-bezier(0.650, 0.000, 0.450, 1.000) .8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 100px #8fe617;
  }
}

/* Animación fail rojo */
.checkmark__circle.fail { 
    stroke-dasharray: 166; 
    stroke-dashoffset: 166; 
    stroke-width: 2; 
    stroke-miterlimit: 10; 
    stroke: #e61b0e; 
    fill: none; 
    animation: strokeFail 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards; 
} 
.checkmark.fail { 
    width: 100%;
    max-width: 140px;
    height: 140px;
    border-radius: 50%; 
    display: block; 
    stroke-width: 2; 
    stroke: #fff; 
    stroke-miterlimit: 10; 
    box-shadow: inset 0px 0px 0px #e61b0e; 
    animation: fillFail .4s ease-in-out .4s forwards, scaleFail .3s ease-in-out .9s both; 
} 
.checkmark__check.fail { 
    transform-origin: 50% 50%; 
    stroke-dasharray: 48; 
    stroke-dashoffset: 48; 
    animation: strokeFail 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
} 
@keyframes strokeFail { 
    100% { 
        stroke-dashoffset: 0; 
    } 
} 
@keyframes scaleFail { 
    0%, 100% { 
        transform: none; 
    } 
    50% { 
        transform: scale3d(1.1, 1.1, 1); 
    } 
} 
@keyframes fillFail { 
    100% { 
        box-shadow: inset 0px 0px 0px 100px #e61b0e; 
    } 
}


@media screen and (max-width: 1430px) {
#contacto {
    background-size: 180%;
}
}

@media screen and (max-width: 1220px) {
#contacto .boton {
    width: 180px;
}
}

/* VERSION TABLET */
@media screen and (max-width: 1200px) {
#contacto {
    height: 958px;
    padding: 30px 0;
    background: linear-gradient(
          rgba(0, 0, 0, 0.5), 
          rgba(0, 0, 0, 0.5)), url('../../assets/Imagen fondo contacto movil.webp');
    background-size: 100%;
}
#contacto .cajaFormulario {
    height: 898px;
}
#contacto .cajaFormulario > * {
    padding: 30px;
}
#contacto .cajaFormulario .der,
#contacto .cajaFormulario .derOK,
#contacto .cajaFormulario .derFail {
    float: none;
    width: 100%;
    height: 650px;
}
#contacto .cajaFormulario .der .titulo{
    text-align: center;
}
#contacto .cajaFormulario .izq {
    float: none;
    width: 100%;
    height: 248px;
    border-radius: 0px 0px 28px 28px;
}
#contacto .cajaFormulario .izq .titulo{
    text-align: center;
}
#contacto .boton {
    width: 220px;
    float: right;
    display: block;
    margin: 30px auto;
}
#contacto .izq .filasContacto {
    margin: 0 auto;
    max-width: 235px;
}
#contacto .filaContacto.whatsApp {
    margin-top: 10px;
}
#contacto .cajaFormulario .enviado .texto {
    font-size: 15px;
    line-height: 20px;
}
}

@media screen and (max-width: 1050px) {
#contacto{
    background-size: 200%;
}
}

@media screen and (max-width: 700px) {
#contacto .boton {
    float: none;
    margin-top: 70px;
}
}

@media screen and (max-width: 550px) {
#contacto .cajaFormulario .der,
#contacto .cajaFormulario .derOK,
#contacto .cajaFormulario .derFail {
    height: 700px;
}
#contacto .boton {
    margin-top: 100px;
}
}

@media screen and (max-width: 430px) {
#contacto {
    background-size: 250%;
}
#contacto .cajaFormulario > * {
    padding: 30px 20px;
}
#contacto .boton {
    margin: 20px auto;
}
#contacto .cajaFormulario .enviado .checkmark {
    margin-top: 17%;
}
}

@media screen and (max-width: 340px) {
#contacto {
    background-size: 280%;
}
}