* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width:100%;
    /* font-family: 'Montserrat', sans-serif; */
    font-family: 'Roboto Mono', monospace;
    font-weight: normal;
    background: #ffffff; /* Old browsers */
}

a {
	outline:none;
}

.container {
    width: 78%;
    margin: 0 auto;
}

.main-header {
    width: 100%;
    height: 110px;
    background-color: white;
    position: fixed;
    top: 0;
    z-index: 99;
    /* border-bottom: 2px solid black; */
}

.header-shadow {
    transition: all .5s ease-in-out;
    -webkit-box-shadow: 0px 2px 11px 0px rgba(77,77,77,0.4);
-moz-box-shadow: 0px 2px 11px 0px rgba(77,77,77,0.4);
box-shadow: 0px 2px 11px 0px rgba(77,77,77,0.4);
}

.border-gradient {
    border-bottom: 4px solid;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-image-slice: 1;
    /* border-width: 4px; */
}

.border-gradient-purple {
    border-image-source: linear-gradient(to left, #1a2982, #46d6fd);
}

.content-header {
    width: 100%;
    height: 110px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav {
    display: flex;
}

.main-nav li {
    list-style: none;
    margin: 1em 2em;
}

.main-nav li:last-child {
    margin: 1em 0 1em 2em;
}

.main-nav li a {
    text-transform: uppercase;
    text-decoration: none;
    color: #202e85;
    position: relative;
}


/* .main-nav li a.activoNav::after {
    content: '';
    display: block;
    width: 100%;
    height: 7px;
    background: linear-gradient(to left, #1a2982, #46d6fd);
    position: absolute;
    top: 3.9em;
    border-radius: 4px;
} */

.main-nav li a i {
    font-size: 1.5em;
    color: #202e85;
}

.nav-responsive {
    display: none;
}

.nav-responsive a i {
    font-size: 1.2em;
    color: #1a2982;
}


.options-nav-responsive {
    display: none;
    position: absolute;
    right: 10%;
    width: 60%;
    background-color: white;
    -webkit-box-shadow: 0px 2px 11px 0px rgba(77,77,77,0.4);
    -moz-box-shadow: 0px 2px 11px 0px rgba(77,77,77,0.4);
    box-shadow: 0px 2px 11px 0px rgba(77,77,77,0.4);
}

.content-link-resp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 2em;
}

.content-link-resp a {
    text-decoration: none;
    color: #202e85;
    margin: 1em;
}

.content-link-resp a:hover {
    text-decoration: underline;
    color: #46d6fd;
}

.iconos-social-responsive a i {
    font-size: 1.5em;
    color: #202e85;
}

#scroll-1 {
    width: 100%;
    height: 2em;
}

#scroll-2 {
    width: 100%;
    height: 2em;
}

#scroll-3 {
    width: 100%;
    height: 2em;
}

#scroll-5 {
    width: 100%;
    height: 2em;
}

.cabecera {
    width: 100%;
    margin-top: 8em;
}

.content-cabecera {
    width: 100%;
    display: flex;
    align-items: center;
}

.texto-principal {
    flex: 1;
    margin-right: 1.5em;
}

.texto-principal h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 8em;
    color: #1a2982;
}

.texto-principal p {
    font-size: 1.5em;
    color: #4e4e4e;
}

.imagen-principal {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.imagen-principal img {
    max-width: 100%;
}

.line-main {
    width: 100%;
    display: flex;
    justify-content: center;
}

.contacto {
    width: 100%;
    display: flex;
    margin-top: -5em;
}

.imagen-contacto {
    background-image: url('../img/contacto.jpg');
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagen-contacto h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5em;
    font-weight: 800;
    color: #1a2982;
}

.formulario-contacto {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6em 0;
}

.content-formulario {
    width: 70%;
}

.content-formulario svg {
    width: 45px;
    height: 45px;
    fill: #1a2982;
    margin-bottom: 1em;
}

.content-formulario p {
    color: #4e4e4e;
    font-size: 1.2em;
    margin-bottom: 2em;
    text-align: justify;
}

.grupo-form {
    margin:5px 10px;
    position: relative;
}

.grupo-form label {
    position:absolute;
    top: 14px;
    left: 16px;
    padding: 0 .5em;
    color: #202e85;
    background-color:#ffffff;
}

.grupo-form input[type=text] {
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 1px solid #AEA8BA;
    border-radius: 8px;
    outline: none;
    font-size: 1em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #494454;
    margin-top: 1.5em;
}

.grupo-form input[type=email] {
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 1px solid #AEA8BA;
    border-radius: 8px;
    outline: none;
    font-size: 1em;
    font-family: 'Montserrat', sans-serif;
    color: #494454;
    margin-top: 1.5em;
}

.grupo-form input[type="text"]::-webkit-input-placeholder {
    color: #494454;
    font-weight: 400;
}

.grupo-form input[type="email"]::-webkit-input-placeholder {
    color: #494454;
    font-weight: 400;
}

.btn-contactar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    height: 60px;
    background-color: #ffffff;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 1px solid #AEA8BA;
    border-radius: 8px;
    outline: none;
    font-size: 1em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #202e85;
    margin-top: 1.5em;
    cursor: pointer;
}

.btn-contactar svg {
    margin-top: 17px;
    margin-left: 10px;
}

.alinear-right {
    display: flex;
    justify-content: flex-end;
}


.servicios {
    width: 100%;
    display: flex;
    margin: 6em 0;
}

.servicios-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.content-navServ {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content-navServ h3 {
    width: 70%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3em;
    color: #202e85;
}

.tab-servicio-responsive {
    display: none;
    width: 90%;
}

.tab-servicio-responsive div {
    height: 55px;
    background: #ffffff;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 1px solid #494454;
    border-radius: 8px;
    font-size: 1em;
    margin-top: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.tab-servicio-responsive div:hover {
    background: rgb(2,101,255);
    background: linear-gradient(140deg, rgba(2,101,255,1) 0%, rgba(26,41,130,1) 100%);
    border: none;
}

.tab-servicio-responsive div:hover p {
    color: white;
}

.tab-servicio-responsive div:hover i {
    color: white;
}

.tab-servicio-responsive div p {
    margin-right: 1em;
}

.todas-las-tabs {
    width: 90%;
    background: #ffffff;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 1px solid #494454;
    border-radius: 8px;
    font-size: 1em;
    margin-top: 0.5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.todas-las-tabs div {
    border-bottom: 1px solid;
    width: 90%;
    text-align: center;
    cursor: pointer;
}

.todas-las-tabs div:last-child {
    border-bottom: none;
}

.todas-las-tabs div p {
    margin: 1.2em 0;
}

.tab-servicio {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tab-servicio li {
    list-style: none;
    width: 70%;
    height: 60px;
    background: #ffffff;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 1px solid #494454;
    border-radius: 8px;
    font-size: 1em;
    margin-top: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.tab-servicio li.activeServ {
    background: rgb(2,101,255);
    background: linear-gradient(140deg, rgba(2,101,255,1) 0%, rgba(26,41,130,1) 100%);
    border: none;
}

.tab-servicio li.activeServ p {
    color: #ffffff;
}

.tab-servicio li:hover {
    background: rgb(2,101,255);
    background: linear-gradient(140deg, rgba(2,101,255,1) 0%, rgba(26,41,130,1) 100%);
    border: none;
}

.tab-servicio li:hover p {
    color: #ffffff;
}

.tab-servicio li p {
    color: #494454;
    text-align: center;
}

.servicios-content {
    flex: 1.5;
}

.servicios-content img {
    margin-bottom: 2em;
    max-width: 100%;
}

.servicios-content p {
    color: #4e4e4e;
        font-size: 1em;
    margin-bottom: 0.5em;
    padding-right: 9em;
    text-align: justify;

}

.servicios-content h4 {
    color: #4e4e4e;
    font-size: 1.2em;
    text-transform: uppercase;
}

.servicioCincoList li {
    list-style: none;
    padding-right: 10%;
}

.servicioCincoList li div {
    color: #4e4e4e;
    font-size: 1.0em;
    margin-bottom: .5em;
    text-align: justify;
}


.nosotros {
    position: relative;
    width: 100%;
    background: rgb(71,215,253);
    background: linear-gradient(140deg, rgba(71,215,253,1) 0%, rgba(2,101,255,1) 31%, rgba(26,41,130,1) 75%);;
}

.barra-nosotros {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 0;
    right: 0;
}

.content-nosotros {
    width: 100%;
    padding: 8em 0 30em 0;
}

.logo-nosotros {
    margin-bottom: 3em;
}

.content-nosotros h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 8em;
    color: #202e85;
}

.content-nosotros p {
    color: #ffffff;
    font-size: 1.2em;
    margin: 1em 0 3em 0;
    padding-right: 0em;
    text-align: justify;
}

.content-nosotros p span {
    font-weight: bold;
}

.certificado {
    width: 100%;
    background: rgb(238,238,238);
    background: linear-gradient(140deg, rgba(238,238,238,1) 17%, rgba(241,242,241,1) 17%, rgba(241,242,241,1) 46%, rgba(238,238,238,1) 46%); 
}

.content-certificado {
    padding: 9em 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.texto-certificado {
    flex: 1;
    display: flex;
    justify-content: center;
}

.inner-cert {
    width: 70%;
}

.texto-certificado h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3.6em;
    color: #214086;
    margin-bottom: .3em;
}

.texto-certificado p {
    font-size: 1.2em;
    color: #4e4e4e;
    margin-bottom: 1em;
    text-align: justify;
    
}

.img-certificado {
    flex: 1;
    display: flex;
    justify-content: center;
}

.img-certificado img {
    max-width: 50%;
    /* height: 100%; */
}

/* .img-certificado img {
    width: 80%;
    height: auto;
} */

.mensaje-error-formulario h5 {
    text-align: center;
    color: #ff4e4e;
}

.enviado-exitoso h5 {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    color: #202e85;
}

.main-footer {
    width: 100%;
    height: 50px;
    /* background: linear-gradient(to left, #1a2982, #46d6fd); */
    background: linear-gradient(90deg, #46d6fd 0%, #1a2982 62%);
}

.content-footer {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-footer p {
    color: white;
    font-size: .8em;
}

.content-footer a {
    color: white;
    text-decoration: none;
}

.text-bold {
    font-weight: bold;
}


/* CARROUSEL */

.carrouselFinal {
    position: absolute;
    bottom: -100px;
}

.embla {
    overflow: hidden;
}
.embla__container {
    display: flex;
    /* margin-left: 230px; */
}
.embla__slide {
    position: relative;
    flex: 0 0 25%;
}

.embla__slide img {
    cursor: grab;
    width: 90%;
    height: auto;
}


/* ANIMATE CSS */

:root {
    --animate-duration: 1s;
    --animate-delay: 1s;
    --animate-repeat: 1;
  }
  .animate__animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: var(--animate-duration);
    animation-duration: var(--animate-duration);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }

  @-webkit-keyframes fadeIn {
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }
  .animate__fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
  }

  @-webkit-keyframes fadeInUp {
    from {
      opacity: 0;
      -webkit-transform: translate3d(0, 100%, 0);
      transform: translate3d(0, 100%, 0);
    }
  
    to {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }
  @keyframes fadeInUp {
    from {
      opacity: 0;
      -webkit-transform: translate3d(0, 100%, 0);
      transform: translate3d(0, 100%, 0);
    }
  
    to {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }
  .animate__fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
  }





/* MEDIA QUERYS*/

@media (max-width: 1600px) {
    .texto-principal h1 {
        font-size: 7em;
    }

    .tab-servicio li {
        width: 75%;
    }

    .content-nosotros {
        padding: 8em 0 26em 0;
    }

    /* .barra-nosotros svg {
        viewport-fit: 0 0 0 0;
    } */
}

@media (max-width: 1440px) {
    .main-header {
        height: 100px;
    }

    .content-header {
        height: 100px;
    }

    .content-header a svg {
        width: 80%;
        height: 100%;
    }

    .main-nav li {
        margin: 1em 1.5em;
    }

    .main-nav li a {
        font-size: .95em;
    }

    .cabecera {
        margin-top: 7em;
    }

    .texto-principal h1 {
        font-weight: 800;
        font-size: 6em;
    }

    .texto-principal p {
        font-size: 1.2em;
    }

    .imagen-principal img {
        width: 80%;
        height: 100%;
    }

    .line-main svg {
        width: 23px;
        height: 83px;
    }

    .servicios-content p {
        font-size: 1em;
        padding-right: 0em;
        text-align: justify;
        padding-right: 10%;
    }

    .content-nosotros h2 {
        font-size: 6em;
    }

    .content-nosotros p {
        font-size: 1em;
        padding-right: 0em;
    }

    .content-nosotros {
        padding: 8em 0 22em 0;
    }

    .main-nav li a.activoNav::after {
        top: 3.7em;
    }
}

@media (max-width: 1300px) {
    .servicios-content {
        flex: 1.3;
    }
}

@media (max-width: 1280px) {
    .texto-principal h1 {
        font-size: 4.5em;
    }

    .texto-principal p {
        font-size: 1.1em;
    }

    .main-nav li {
        margin: 1em;
    }

    .tab-servicio li {
        height: 52px;
    }

    .content-navServ h3 {
        font-size: 2.5em;
    }

    .content-formulario p {
        font-size: 1.1em;
    }

    .texto-certificado h3 {
        font-size: 2.6em;
    }

    .texto-certificado p {
        font-size: 1em;
    }

    .content-nosotros {
        padding: 8em 0 18em 0;
    }
}

@media (max-width: 1024px) {
    .main-nav li a {
        font-size: .8em;
    }

    .main-nav li {
        margin: 1em .5em;
    }

    .main-nav li:last-child {
        margin: 1em 0 1em .5em;
    }

    .texto-principal h1 {
        font-size: 3.5em;
    }

    .texto-principal p {
        font-size: .95em;
    }

    .content-navServ h3 {
        font-size: 2.2em;
        text-align: center;
    }

    .tab-servicio li p {
        font-size: .8em;
    }

    .content-nosotros {
        padding: 8em 0 15em 0;
    }

    .embla__slide {
        position: relative;
        flex: 0 0 30%;
    }

    .main-nav li a.activoNav::after {
        top: 3.95em;
    }
}


@media (max-width: 970px) {

    .options-nav-responsive {
        display: block;
    }

    .content-cabecera {
        flex-direction: column;
    }

    .texto-principal {
        margin-bottom: 2em;
    }

    .line-main {
        margin-top: 1em;
    }

    .servicios {
        flex-direction: column;
        margin: 3em 0;
    }

    .content-nosotros {
        padding: 6em 0 15em 0;
    }

    .content-certificado {
        flex-direction: column;
    }

    .contacto {
        flex-direction: column;
    }

    .imagen-contacto {
        background-image: url('../img/contacto.jpg');
        flex: none;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 500px;
    }

    .servicios-content {
        margin: 1em 2em;
    }

    .tab-servicio {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        flex-wrap: wrap;
    }

    .tab-servicio li {
        width: 30%;
    }

    .tab-servicio li p {
        text-align: center;
    }

    .nav-responsive {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .content-header a svg {
        width: 72%;
    }

    .main-header {
        height: 90px;
    }

    .content-header {
        height: 90px;
    }

    .imagen-principal {
        justify-content: center;
    }

    .content-nosotros h2 {
        font-size: 4.5em;
    }

    .content-formulario p {
        font-size: 1em;
    }

    .barra-nosotros {
        display: none;
    }
}

@media (max-width: 800px) {
    .servicios {
        margin: 3em 0;
    }

    .content-nosotros {
        padding: 4em 0 12em 0;
    }
}

@media (max-width: 650px) {

    .container {
        width: 88%;
    }

    .tab-servicio-responsive {
        display: block;
    }

    .tab-servicio {
        display: none;
    }

    .texto-principal h1 {
        font-size: 3em;
    }

    .servicios-content p {
        font-size: .9em;
        padding-right: 0;
    }

    .content-nosotros h2 {
        font-size: 4em;
    }

    .content-nosotros p {
        font-size: 0.9em;
        padding-right: 2em;
    }

    .embla__slide {
        position: relative;
        flex: 0 0 45%;
    }

    .logo-nosotros svg {
        width: 20%;
        height: auto;
    }

    .content-nosotros {
        padding: 6em 0 15em 0;
    }

    .texto-certificado p {
        font-size: 0.9em;
    }

    .content-formulario p {
        font-size: 0.9em;
    }

    .grupo-form input[type="text"] {
        height: 50px;
    }

    .grupo-form input[type="email"] {
        height: 50px;
    }

    .btn-contactar {
        height: 50px;
    }

    .main-footer {
        height: 70px;
    }

    .content-footer {
        height: 70px;
        flex-direction: column-reverse;
        justify-content: center;
    }

    .content-footer p {
        margin-top: .8em;
        font-size: .7em;
    }

    .texto-principal {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .texto-principal p {
        text-align: center;
    }

    .content-formulario {
        width: 85%;
    }

    .servicioCincoList li div {
        font-size: 0.9em;
    }

    .content-navServ h3 {
        width: 90%;
    }

    .options-nav-responsive {
        width: 70%;
    }
    .imagen-contacto {
        height: 400px;
    }

    .inner-cert {
        width: 100%;
    }
}

@media (max-width: 590px) {
    .img-certificado img {
        width: 50%;
        height: 100%;
    }
}


@media (max-width: 500px) {
    .servicios {
        margin: 1em 0;
    }

    .content-nosotros {
        padding: 4em 0 10em 0;
    }
}

@media (max-width: 460px) {
    .content-navServ h3 {
        font-size: 1.9em;
    }

    .tab-servicio-responsive div p {
        margin-right: 0.7em;
        font-size: 0.9em;
    }

    .options-nav-responsive {
        width: 80%;
    }
}

@media (max-width: 400px) {
    .btn-contactar svg {
        display: none;
    }

    .grupo-form label {
        font-size: 0.9em;
    }

    .content-formulario {
        width: 90%;
    }

    .imagen-contacto h3 {
        font-size: 3em;
    }

    /* .container {
        width: 85%;
    } */

    .inner-cert {
        width: 100%;
    }

    .texto-certificado h3 {
        font-size: 2.4em;
    }

    .carrouselFinal {
        bottom: -50px;
    }

    .embla__slide {
        flex: 0 0 60%;
    }

    .content-nosotros p {
        padding-right: 0;
    }

    .logo-nosotros svg {
        width: 30%;
    }

    .servicios-content p {
        padding-right: 0;
    }

    .servicios {
        margin: 3em 0 6em 0;
    }

    .content-link-resp {
        padding: 1em;
    }

    .content-link-resp a {
        font-size: 0.9em;
    }
}


@media (max-width: 380px) {
    .content-nosotros h2 {
        font-size: 3em;
    }
}