
.josefin-sans,h1,h2,h3,h4,h5,p {
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/*COLORS*/
/*Background*/
.bg-azul {
    background-color:#19233E;
}
.bg-celeste {
    background-color:#EBF2FF;
}
.bg-naranjo {
    background-color:#E9540D;
}
.bg-gris-claro {
    background-color:#F9F9F9;
}
/*Text*/
.text-blanco {
    color:#ffff;
}
.text-azul {
    color:#19233E;
}
.text-celeste {
    color:#EBF2FF;
}
.text-naranjo {
    color:#E9540D;
}
.text-gris {
    color:#5E5E5E;
}
.title-text {
    font-size: 4em;
    font-weight: 700;
    line-height: 1.2em;
    margin-left: 1em;
    color:#19233E;
}
.title-text span {
    background-color: #E9540D;
    color: #ffff;
}
.frase-action {
    font-size: 2.5em;
    font-weight: 620;
    line-height: 1em;
    color:#19233E;
}
.frase-action span{
    color: #E9540D;
}
.box-head {
    position:relative;
    margin-top: 90px !important;
}
.navbar {
  position: fixed; 
  width: 100%; 
  z-index: 15;
  top: 0;
}
.box-banner {
    position:absolute;
    top: 0;
    z-index: 2;
}
.box-text {
    z-index: 10;
    margin-top:100px;
}

.box-form {
    z-index: 8;
}
.box-2 {
    margin-top:28%;
    color:#19233E;
}
.box-2 h2{
    font-weight: 620;
}
.card-step h1 {
    font-size: 6em;
}
.card-step h2 {
    font-size:2em;
}
.card-step p {
    font-size:1.2em;
}
/*Buttons*/
.btn-action {
    color:#E9540D;
    border: 3px solid #E9540D;
    font-weight: 600;
    background-color: transparent;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1.2em;
    text-decoration: none;
}
.btn-action:hover {
    background-color: #E9540D;
    color: #ffff;
    transition: 0.15s;
}
.btn-action-2 {
    margin-top: 1em;
    color:#ffff;
    font-weight: 600;
    border: 3px solid #E9540D;
    background-color: #E9540D;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1.2em;
    text-decoration: none;
}
.btn-action-2:hover {
    background-color: #bf3f04;
    transition: 0.15s;
}
.navbar {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 4px 20px 0 rgba(0, 0, 0, 0.15)
}
/*Formulario*/
.form-financia {
    background-color:#E0E5ED;
    padding:2em;
    border-radius: 15px;
}
.form-financia.loading:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    z-index: 1;
}
.form-financia.loading:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid #f3f3f3;
    border-top: 5px solid #E9540D;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    z-index: 2;
}
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.form-financia h3 {
    letter-spacing: -1px;
}
.form-financia button {
    background-color: #E9540D;
    color: #ffff;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: 600;
    border: 3px solid #E9540D;
}
.opiniones h4{
    font-size:1.3em;
    font-weight: 650;
}

/*footer*/
.footer-financia {
    background-color: #19233E;
    padding:3em;
    color: #ffff;
}
.sub-footer {
    background-color: #101729;
    padding: 15px;
}

/*Breakpoints*/
@media (min-width: 340px) {
  .container-sm, .container {
    max-width: 540px;
  }
  .title-text {
    font-size: 2.4em;
    margin-left: 0;
    text-align:center;
    text-shadow: 0 0 8px rgb(230, 237, 243);
  }
  .title-text span{
    text-shadow: none;
  }
  .title-text br {display:initial;}
  .box-form-movil {
    margin-top:40vw;
  }
  .box-2 {
    margin-top:0;
  }
  .box-2 h2{
    font-size:1.8em;
  }
  .subtitulo {
    display: none;
  }
  .btn-action {
    margin-top: 0.5em;
    margin-left: 1.7em;
    background-color: #E9540D;
    color: #ffff;
  }
  .opiniones {
    border-right: 0px;
    border-radius: 10px;
    border-left: 15px solid #ffff;
    background-color: #fffdf0;
}
.card-step {
    border-radius: 55px 10px 10px 10px;
    border-right: 0px;
}
.opiniones p{
    font-size:1.2em;
    margin-bottom: 0;
}
.box-text {
    margin-top:105px;
    text-align:center;
  }
}
@media (min-width: 400px) {
    .box-form-movil {
      margin-top:50vw;
    }
}
@media (min-width: 450px) {
  .title-text {
    font-size: 2.5em;
    margin-left: 1em;
    text-align:left;
  }
  .box-text {
    text-align:left;
  }
    .box-form-movil {
      margin-top:60vw;
    }
}
@media (min-width: 576px) {
  .title-text {
    font-size: 2.5em;
    margin-left: 1em;
    text-align:left;
  }
  .box-text {
    margin-top:20px;
    text-align:left;
  }
  .box-2{
    margin-top:10vw;
  }
}
@media (min-width: 650px) {
  .title-text {
    font-size: 2.5em;
    margin-left: 1em;
  }
  .box-text {
    margin-top:35px;
  }
  .box-2{
    margin-top:15vw;
  }
}
@media (min-width: 750px) {
.box-2 {
    margin-top:15vw;
  }
}
@media (min-width: 768px) {
  .container-sm, .container {
    max-width: 540px;
  }
  .sticky-lg-top {
    top:100px;
  }
  .title-text {
    font-size: 2.5em;
    margin-left: 1em;
  }
  .title-text br {display:none;}
  .box-form-movil {
    margin-top:48%;
  }
  .box-2 {
    margin-top:30%;
  }
  .box-2 h2{
    font-size:1.8em;
  }
  .subtitulo {
    display: none;
  }
  .btn-action {
    margin-top: 0.5em;
    margin-left: 1.7em;
    color:#E9540D;
    border: 3px solid #E9540D;
    background-color: transparent;
  }
  .opiniones {
    border-right: 0px;
    border-radius: 10px;
    border-left: 15px solid #ffff;
    background-color: #fffdf0;
}
.card-step {
    border-radius: 55px 10px 10px 10px;
    border-right: 0px;
}
.opiniones p{
    font-size:1.2em;
    margin-bottom: 0;
}
.box-text {
    margin-top:45px;
  }
  .container-md, .container-sm, .container {
    max-width: 720px;
  }
  .subtitulo {
    display: none;
  }
}
@media (min-width: 815px) {
  .title-text{
    font-size:2.5em;
  }
}
@media (min-width: 800px) {
  .box-2 {
    margin-top:35%;
  }
}
@media (min-width: 992px) {
  .container-lg, .container-md, .container-sm, .container {
    max-width: 960px;
  }
  .box-text {
    margin-top:50px;
  }
  .title-text {
    font-size: 3.2em;
    margin-left: 1em;
  }
  .title-text br {display:initial;}
  .box-2 {
    margin-top:35%;
  }
  .subtitulo {
    display: none;
  }
  .btn-action {
    margin-top: 1em;
    margin-left: 2.7em;
    display: block;
  }
}
@media (min-width: 1200px) {
  .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1140px;
  }
  .subtitulo {
    display: block;
  }
  .box-text .subtitulo {
    margin-left: 2.5em;
    font-size: 1.4em;
  }
  .btn-action {
      margin-top: 1em;
      margin-left: 2.7em;
    }
  .sticky-lg-top {
    top:100px;
  }
  .box-2{
    margin-top:20%;
  }
}
@media (min-width: 1400px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1440px;
  }
   .box-text {
    margin-top:100px;
  }
  .box-text .subtitulo {
    margin-left: 3em;
    font-size: 1.4em;
  }
  .title-text {
    font-size: 4em;
  }
  .card-step {
    border-radius: 55px 10px 10px 10px;
    border-right: 15px solid #ffff;
  }
  .box-2 {
    margin-top:23%;
  }
  .box-2 p{
    font-size: 1.1em;
    color: #5E5E5E;
    letter-spacing: -0.5px;
  }
  .box-2 h2{
    font-size:2.3em;
  }
  .subtitulo {
    display: block;
  }
  .btn-action {
    margin-top: 1em;
    margin-left: 3.5em;
  }
  .opiniones {
    border-right: 8px solid #ffff;
    border-radius: 20px;
    background-color: #fffdf0;
}
.opiniones p{
    font-size:1em;
    margin-bottom: 0;
}
.sticky-lg-top {
  top:100px
}
}

/*Animations*/

#svg-exito{
  animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

#bg-circle-01 {
  transform: scale(0);
  animation: showUp .25s ease-in-out forwards;
}

#bg-circle-02 {
  transform: scale(0);
  animation: showUp .25s ease-in-out forwards;
  animation-delay: 0.1s;
}

#plane-01 {
  animation: flyRight 5s ease-in-out infinite;
}

#line-01 {
  opacity: 0;
  animation: drawLine 2s linear infinite, flyLine 1s linear infinite;
}

#line-02 {
  opacity: 0;
  animation: drawLine 3s linear infinite, flyLine 2s linear infinite;
  animation-delay: 0.5s;
}

#line-03 {
  opacity: 0;
  animation: drawLine 4s linear infinite, flyLine 3s linear infinite;
  animation-delay: 1s;
}

@keyframes showUp {
  0% { transform: scale(0); opacity: 0; transform-origin: center; }
  100% { transform: scale(1); opacity: 1; transform-origin: center; }
}

@keyframes drawLine {
  0% { stroke-dasharray: 0, 200; }
  50% { stroke-dasharray: 200, 200; }
  100% { stroke-dasharray: 0, 200; }
}

@keyframes flyRight {
  0% { transform: translateX(-5px) translateY(5px); }
  50% { transform: translateX(5px) translateY(-5px); }
  100% { transform: translateX(-5px) translateY(5px); }
}

@keyframes flyLine {
  0% { transform: translateX(-40px) translateY(40px); opacity: 0; }
  50% { transform: translateX(40px) translateY(-40px); opacity: 0; }
  55% { opacity:1; }
  95% { opacity:1; }
  100% { transform: translateX(-40px) translateY(40px); opacity: 0; }
}
