@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root{
    --padding-container: 100px 0;
    --color-tittle: #001A49;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
}


.contenedor{
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
} 

.container1{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
}

.titulo{
    color: #001A49;
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
}

/* header */
header{
    width: 100%;
    height: 600px;
    background: #43C6AC;  
    background: -webkit-linear-gradient(to right, hsla(244, 59%, 21%, 0.679), hsla(236, 77%, 31%, 0.556)), url(../img/consulglobal.jpg);  
    background: linear-gradient(to right, hsla(244, 59%, 21%, 0.679), hsla(235, 77%, 24%, 0.597)), url(../img/consulglobal.jpg);
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

nav{
    text-align: right;
    padding: 30px 50px 0 0;
}

.nav1{
    --padding-container: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

nav > a{
    color: #fff;
    font-weight: 300;
    text-decoration: none;
    font-size: 16px;
}

nav > a:hover{
    text-decoration: underline;
}

header .textos-headers{
    display: flex;
    height: 430px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.textos-headers h1{
    font-size: 50px;
    color: #fff;
}

.textos-headers p{
    font-size: 20px;
    font-weight: 200;
    color: #fff;
}

.wave{
    position: absolute;
    bottom: 0;
    width: 100%;
}


/* About us */
.contenedor-sobre-nosotros{
    display: flex;
    justify-content: space-evenly;
}

.imagen-about-us{
    width: 48%;
}

.sobre-nosotros .contenido-textos{
    width: 48%;
}

.contenido-textos h3{
    margin-bottom: 15px;
}

.contenido-textos h3 span{
    background: #001A49;
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    padding: 2px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
    margin-right: 5px;
}

.contenido-textos p{
    padding: 0px 0px 30px 15px;
    font-weight: 300;
    text-align: justify;
}

/* equipo */
.equipo-contenedor{
    background: #f2f2f2;
    padding-bottom: 30px;
}

.equipo-cont{
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.equipo-ind{
    width: 28%;
    text-align: center;
}

.equipo-ind img{
    width: 60%;
}

.equipo-ind h3{
    margin: 10px 0;
}

.equipo-ind p{
    font-weight: 300;
}

/* footer */
.footer{
    background-color: #1d293f;
}

.footer_tittle{
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 30px;
}

.footer_tittle, .footer_newsletter{
    color: #fff;
}

.footer_container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #fff;
    padding-bottom: 60px;
}

.nav_menu{
    margin-left: auto;
    cursor: pointer;
    display: none;
}

.nav-footer{
    padding-bottom: 20px;
    display: grid;
    gap: 1em;
    grid-auto-flow: row;
    height: 100%;
}

.nav_items{
    list-style: none;
}

.nav_link1{
    margin-left: auto;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 2em;
}

.nav_links{
    color: #fff;
    text-decoration: none;
}

.nav_link-footer{
    display: grid;
    margin: 0;
    margin-right: 20px;
    flex-wrap: wrap;
}

.footer_inputs{
    margin-top: 10px;
    display: flex;
    overflow: hidden;
}

.footer_input{
    background-color: #fff;
    height: 50px;
    display: block;
    padding-left: 10px;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    border: none;
    margin-right: 16px;
}

.footer_submit{
    margin-left: auto;
    display: inline-block;
    height: 50px;
    padding: 0 20px;
    background-color: #2091f9;
    border: none;
    font-size: 1rem;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.footer_copy{
    --padding-container: 30px 0;
    text-align: center;
    color: #fff;
}

.footer_copyright{
    font-weight: 300;
}

.footer_icons{
    display: inline-flex;
    margin-bottom: 10px;
}

.footer_img{
    width: 30px;
}


@media screen and (max-width:900px){
    header{
        background-position: center;
    }

    .contenedor-sobre-nosotros{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sobre-nosotros .contenido-textos{
        width: 90%;
    }

    .imagen-about-us{
        width: 90%;
    }

    /* equipo */

    .equipo-cont{
        justify-content: center;
        flex-direction: column;
    }

    .equipo-ind{
        width: 100%;
        text-align: center;
    }

    .equipo-ind:nth-child(1), .equipo-ind:nth-child(2){
        margin-bottom: 60px;
    }

    .equipo-ind img{
        width: 40%;
    }

    .footer_container{
        flex-wrap: wrap;
    }

    .nav-footer{
        width: 100%;
        justify-items: center; 
    }

    .nav_link-footer{
        width: 100%;
        justify-content: space-evenly;
        margin: 6;
    }

    .footer_form{
        width: 100%;
        justify-content: space-evenly;
    }

    .footer_input{
        flex: 1;
    }
}

@media screen and (max-width:500px){
    nav{
        text-align: center;
        padding: 30px 0 0 0;
    }

    nav > a{
        margin-right: 5px;
    }

    .textos-headers h1{
        font-size: 30px;
    }

    .textos-headers p{
        font-size: 10px;
    }

    /* about us */
    main .sobre-nosotros{
        padding: 30px 0 60px 0;
    }

    .sobre-nosotros .contenido-textos{
        width: 95%;
    }

    .imagen-about-us{
        margin-bottom: 60px;
        width: 99%;
    }

    
}
