* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #1d273b;
    font-weight: 500;
}

.contenedor {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #104c97;
}

.contenedor1 {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    padding: 60px 0;
}

.contenedor2 {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 4rem 2rem;
}

h1 {
    font-size: 60px;
    font-weight: 700;
    color: #ffffff;
}

/* Header */
.header::before {
    content: "";
    display: block;
    margin-bottom: 80px;
}

nav {
    width: 100%;
    height: 64px;
    background: rgba(255, 255, 255, 0);
    border-bottom: 1px solid transparent;
    position: fixed;
    top: 0;
    z-index: 100;
    transition: ease-in-out 0.5s;
}

.nav {
    display: flex;
    justify-content: space-between;
    height: 64px;
    width: 100%;
    align-items: center;
    padding: 0 40px;
}

nav.sticky {
    background: #fff;
    box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.2);
}

.nav .logo img {
    height: 100%;
    vertical-align: top;
}

.nav .logo {
    height: 64px;
}

/*logo blanco*/

.nav .logo2 {
    height: 80px;
    display: inline-block;
}

.logo2.active {
    display: none;
}

/*logo color*/
.nav .logo1 {
    height: 80px;
    display: none;
}

.logo1.active {
    display: inline-block;
}

.enlaces-header {
    font-weight: 600;
    transition: ease-in-out 0.5s;
}

.nav .enlaces-header a {
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    margin-left: 20px;
    line-height: 64px;
    display: inline-block;
    transition: border 0.3s ease-in;
}

.nav .enlaces-header a.active {
    color: #104c97;
}

.hamburguer {
    width: 80px;
    height: 64px;
    display: none;
    text-align: center;
    z-index: 100;
    cursor: pointer;
    transition: color 0.5s ease-in;
}

.hamburguer > i {
    font-size: 25px;
    line-height: 64px;
    color: #ffffff;
}
.hamburguer > i.active {
    color: #000000;
}

.contenido-header {
    width: 100%;
    height: 600px;
    max-width: 1200px;
    display: flex;
    align-items: center;
    margin: 5px;
}

.contenido-header > img {
    max-width: 300px;
    animation: ease-in animat 1s;
}

@keyframes animat {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

.textos-header {
    margin: 0 0 0 30px;
    margin-left: 100px;
    margin-right: 100px;
    text-align: center;
}

.textos-header img{
    width: 40%;
    height: auto;
    border-radius: 4px;
}

.textos-header img:hover {
    transform: scale(1.05);
    box-shadow: 2px 2px 10px 2px rgba(17, 29, 48, 0.404);
}

.contenido-header p {
    font-size: 20px;
    font-weight: 400;
    margin-top: 14px;
    margin-bottom: 1rem;
    color: #ffffff;
    max-width: 500px;
}

.titulo {
    font-size: 2.2rem;
    text-align: center;
    font-weight: 600;
}

/* About us */

.about-us {
    background: #f8f8f8;
}

.contenedor-articulo {
    display: flex;
    flex-wrap: wrap;
    margin-top: 60px;
    justify-content: space-around;
}

.articulo {
    width: 29%;
    background: #fff;
    border: 1px solid #104C97; 
    margin-bottom: 30px;
    border-radius: 10px;
    padding: 45px 30px 60px 30px;
    transition: 0.5s;
    box-shadow: 0 4px 10px rgba(17, 29, 48, 0.26);
}

.articulo:hover {
    box-shadow: 0 6px 13px rgba(17, 29, 48, 0.404);
}

.articulo img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    margin-top: 20px;
}

.articulo > i {
    font-size: 30px;
    color: #fff;
    background: #1fde82;
    display: inline-block;
    width: 70px;
    height: 70px;
    text-align: center;
    padding-top: 20px;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(31, 222, 130, 0.46);
}

.articulo > h3 {
    font-size: 24px;
    margin-top: 10px;
    text-align: center;
    margin-block-end: -20px;
}

.articulo > p {
    font-weight: 100;
    color: #5d6678;
    margin-top: 15px;
    padding-bottom: 20px;
}

.articulo > a {
    color: #5d6678;
    font-weight: 400;
    text-decoration: none;
}

.articulo > a:hover {
    color: #1fde82;
    transition: color 0.5s;
}

.button {
    -webkit-text-size-adjust: none;
    list-style: none;
    box-sizing: inherit;
    margin: 0;
    font: inherit;
    appearance: none;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    background-color: transparent;
    border-radius: 4px;
    border: 0;
    box-shadow: inset 0 0 0 1px rgba(144, 144, 144, 0.5);
    color: #555 !important;
    cursor: pointer;
    display: block;
    font-size: 0.9em;
    font-weight: 400;
    height: 2.75em;
    letter-spacing: 0.125em;
    line-height: 2.75em;
    padding: 0 2em;
    text-align: center;
    text-decoration: none;
    text-indent: 0.125em;
    text-transform: uppercase;
    white-space: nowrap;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
}

.button:hover {
    background-color: rgba(241, 241, 241, 0.801);
}

/* Questions */

.questions {
    height: 600px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.questions > img {
    width: 550px;
}

.textos {
    margin: 0 0 0 30px;
    text-align: center;
    text-justify: auto;
    margin: 20px;
}

.textos p {
    font-weight: 400;
    margin-top: 14px;
    color: #5d6678;
}

.textos a {
    margin: 28px 0 0 0;
    width: 130px;
    display: inline-block;
    background: #1fde82;
    text-align: center;
    color: #fff;
    padding: 12px 0;
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 5px;
    box-shadow: 0 8px 32px rgba(31, 222, 130, 0.46);
}

/* Results */

.results {
    background: #2570ff;
    padding-top: 30px;
}

.conten-results {
    display: flex;
    justify-content: space-evenly;
}

.numbers {
    width: 60%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.numbers .number {
    width: 45%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 10px;
    padding: 40px 35px;
    margin-bottom: 20px;
}

.numbers .number h4 {
    color: #fff;
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 20px;
}

.numbers .number p {
    color: #f2f5fc;
    font-weight: 300;
}

.results-text {
    width: 37%;
}

.results-text h4 {
    color: #fff;
    font-size: 40px;
}

.results-text p {
    color: #fff;
    font-weight: 300;
    margin: 20px 0;
}

.results-text > a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    border: 1px solid #fff;
    padding: 10px 0;
    width: 120px;
    text-align: center;
    border-radius: 5px;
}

/* Services */

.services {
    color: #ffffff;
}
.services-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3.5rem;
    font-weight: 600;
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    background-color: #104c97;
    border-radius: 8px;
    overflow: hidden;
    place-items: center;
}

.services-grid p{
    text-align: center;
}

.services-paragrahp:nth-of-type(1) {
    grid-column: 1/2;
    grid-row: 1/2;
    padding: 2rem;
}
.services-paragrahp:nth-of-type(2) {
    padding: 2rem;
    grid-column: 2/3;
    grid-row: 2/3;
}
.services_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.services_image:nth-of-type(1) {
    grid-column: 1/2;
    grid-row: 2/3;
}
.services_image:nth-of-type(2) {
    grid-column: 2/3;
    grid-row: 1/2;
}
.services-paragraph_title {
    font-size: 1.8rem;
    text-align: center;
    display: block;
    font-weight: 600;
}

.box-skills {
    margin: 30px 30px 0 0;
}

.box-skills h4 {
    font-size: 24px;
    background: #f2f2f2;
    width: 350px;
    border-radius: 6px;
    padding: 10px 0 10px 15px;
    margin-bottom: 10px;
}

.box-skills i {
    color: #1fde82;
    font-size: 20px;
}

/* footer */

footer {
    width: 100%;
    padding: 10px 0;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: auto;
    background-color: #104c97;
}

.partFooter {
    width: 20%;
    text-align: center;
    margin-top: 5px;
}

.partFooter h4 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    margin-top: 20px;
}

.partFooter a {
    display: inline-block;
    text-decoration: none;
    color: #5d6678;
    font-weight: 300;
    transition: color 0.3s ease-in-out;
    margin-bottom: 10px;
}

.partFooter a:hover {
    color: #1fde82;
}

.partFooter img {
    width: 60%;
    background: white;
    border-radius: 20px;
}
.menu-social-media,
.menu-logos {
    display: none;
}
.social-media i {
    font-size: 20px;
    display: inline-block;
    color: #ffffff;
    border: 1px solid #f7f7f7;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    line-height: 36px;
    cursor: pointer;
    margin-top: 20px;
    text-align: center;
    transition: all ease-in-out 0.3s;
    margin-right: 5px;
}

.social-media i:hover {
    color: #104c97;
    background-color: #ffffff;
    border-color: #104c97;
}

/****************/
/*coloboradores*/
/***************/

.collaborators {
    padding: 1.5rem 0;
    width: 100%;
    background-color: #eeeeee;
}
.collaborators__title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.collaborators__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}
.collaborators__image {
    transition: filter 0.3s ease, transform 0.3s ease;
    vertical-align: middle;
}
.collaborators__image:nth-of-type(1) img {
    vertical-align: middle;
    width: 230px;
}
.collaborators__image:nth-of-type(2) img {
    vertical-align: middle;
    width: 140px;
}
.collaborators__image:nth-of-type(3) img {
    vertical-align: middle;
    width: 230px;
}
.collaborators__image:nth-of-type(4) img {
    vertical-align: middle;
    width: 80px;
}
.collaborators__image:hover {
    transform: scale(1.05);
}
.collaborators__image {
    margin-right: 20px;
}

/* Breakpoints responsive */

@media screen and (max-width: 800px) {
    .titulo {
        font-size: 45px;
    }

    .contenido-header {
        flex-direction: column;
        justify-content: space-evenly;
        height: 720px;
    }

    .contenido-header > img {
        width: 400px;
        
    }

    .textos-header {
        margin: 0;
        font-size: 10px;
    }
    .textos-header img{
        width: 30%;
    }

    /* About us */

    .articulo {
        width: 45%;
    }

    /* results */

    .conten-results {
        flex-direction: column-reverse;
    }

    .results-text > a {
        margin-bottom: 60px;
    }

    .numbers {
        width: 100%;
    }

    .results-text {
        width: 100%;
    }

    /* Services */
    .box-skills {
        margin: 0 0 40px 0;
    }

    .box-skills h4 {
        width: 500px;
    }

    /* Footer */

    footer {
        justify-content: space-evenly;
    }

    .partFooter {
        width: 40%;
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 600px) {
    .titulo {
        font-size: 35px;
    }

    h1 {
        font-size: 40px;
    }

    .cuadroBordeado {
        width: 95%;
    }

    .contenido-header {
        min-height: 650px;
        overflow: hidden;
    }

    .contenido-header img{
        margin-top: 15px;
    }

    .textos-header {
        padding-top: 200px;
        margin-bottom: 50px;
        text-align: center;
    }
    .textos-header img{
        min-width: 45%;
    }

    .nav {
        padding: 0 10px;
    }

    .contenido-header > img {
        width: 200px;
    }

    .enlaces-header {
        position: fixed;
        background: #104c97;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        clip-path: circle(0% at 100% 0);
    }

    .nav .menudos {
        -webkit-clip-path: circle(150% at 100% 0);
        clip-path: circle(150% at 100% 0);
    }

    .nav .enlaces-header a {
        color: #fff;
        font-size: 1.2rem;
        margin-left: 0;
    }
    .nav .enlaces-header a.active {
        color: #ffffff;
    }
    .menu-social-media {
        display: block;
        padding: 1rem;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .menu-social-media a {
        text-align: center;
        display: inline-block;
        margin: 0 10px !important;
    }
    .menu-social-media i {
        font-size: 20px;
        display: inline-block;
        color: #ffffff;
        border: 1px solid #f7f7f7;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        line-height: 36px;
        cursor: pointer;
        margin-top: 20px;
        text-align: center;
        transition: all ease-in-out 0.3s;
    }
    .menu-social-media i:hover {
        color: #104c97;
        background-color: #ffffff;
        border-color: #104c97;
    }
    .menu-logos {
        display: block;
        border-bottom: 1px solid #ffffff;
        margin-bottom: 2rem;
    }
    .menu-logos span {
        margin: 0 10px 0 10px;
        font-size: 14px;
        text-transform: uppercase;
    }
    .hamburguer {
        display: block;
    }

    /* About us */

    .articulo {
        width: 95%;
    }

    /* Questions */

    .questions > img {
        width: 200px;
    }

    .textos h1 {
        font-size: 20px;
    }

    .textos {
        margin-top: 5px;
        font-size: 15px;
    }

    /* results */

    .numbers .number {
        width: 95%;
    }

    .collaborators__inner {
        flex-direction: column;
        margin-top: 40px;
    }
    .collaborators__title {
        margin-bottom: 1.8rem;
    }
    .collaborators__image {
        margin-right: 0;
        margin-bottom: 30px;
        filter: grayscale(0);
    }
    .collaborators__image:nth-of-type(4) img {
        width: 100px;
    }
    .collaborators__image img {
        height: auto;
    }

    .results-text h4 {
        font-size: 35px;
    }

    /* Services */
    .services-title {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 3.5rem;
        font-weight: 600;
    }
    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .services-paragrahp:nth-of-type(1) {
        grid-column: initial;
        grid-row: initial;
        padding: 2rem;
    }
    .services-paragrahp:nth-of-type(2) {
        padding: 2rem;
        grid-column: initial;
        grid-row: 3/4;
    }
    .services_image:nth-of-type(1) {
        grid-column: initial;
        grid-row: 4/5;
    }
    .services_image:nth-of-type(2) {
        grid-column: initial;
        grid-row: 2/3;
    }
    .services-paragraph_title {
        font-size: 1.8rem;
        text-align: center;
        display: block;
        font-weight: 600;
    }

    .box-skills h4 {
        width: 100%;
    }

    /* Footer */
    .partFooter {
        width: 95%;
        margin-bottom: 2px;
    }
}

.box__copyright {
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding: 0px 40px;
}

.box__copyright p {
    margin-top: 20px;
    color: #ffffff;
    font-size: 13px;
}

.box__copyright hr {
    border: none;
    height: 1px;
    background-color: #ffffff;
}

/* ------------------------- */
/* POPUP */
/* ------------------------- */

.overlay {
    background: rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    align-items: center;
    justify-content: center;
    display: flex;
    visibility: hidden;
}

.overlay.active {
    visibility: visible;
}

.popup {
    background: #ffffff;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    font-family: "Montserrat", sans-serif;
    padding: 20px;
    text-align: center;
    width: 600px;

    transition: 0.3s ease all;
    transform: scale(0.7);
    opacity: 0;
}

.popup .btn-cerrar-popup {
    font-size: 16px;
    line-height: 16px;
    display: block;
    text-align: right;
    transition: 0.3s ease all;
    color: #b1b1b1;
}

.popup .btn-cerrar-popup:hover {
    color: #000;
}

.popup h3 {
    font-size: 200%;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0;
}

.popup h4 {
    font-size: 150%;
    font-weight: 300;
    margin-top: 20px;
    opacity: 0;
}

.popup form .contenedor-inputs {
    margin-top: 20px;
    opacity: 0;
    margin: auto;
    width: auto;
    display: flex;
    align-items: center;
}

.popup form .contenedor-inputs .bot {
    margin-left: auto;
    margin-left: auto;
}

.popup form .contenedor-inputs img {
    margin: 25px;
    display: flex;
    width: 80%;
    text-align: center;
    padding: 10px 0;
    height: 80px;
}

.popup form .btn-submit {
    padding: 0 20px;
    height: 40px;
    line-height: 40px;
    border: none;
    color: #fff;
    background: #5e7de3;
    border-radius: 3px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease all;
}

@media only screen and (max-width: 700px) {
    .popup {
        width: 300px;
        height: auto;
        flex-direction: column;
        margin: 5px;
        margin-top: 50px;
    }

    .popup form .contenedor-inputs img {
        margin: 13px;
        height: 100%;
        min-width: 90px;
    }

    .pu-context {
        font-size: 8px;
        height: auto;
        text-align: center;
        padding: 20px;
        padding-top: 0px;
        text-align: center;
    }
}

/* ------------------------- */
/* ANIMACIONES */
/* ------------------------- */
.popup.active {
    transform: scale(1);
    opacity: 1;
}
.popup.active h3 {
    animation: entradaTitulo 0.8s ease 0.5s forwards;
}
.popup.active h4 {
    animation: entradaSubtitulo 0.8s ease 0.5s forwards;
}
.popup.active .contenedor-inputs {
    animation: entradaInputs 1s linear 1s forwards;
}

@keyframes entradaTitulo {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes entradaSubtitulo {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes entradaInputs {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
