@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;700&display=swap');

body{
    font-family: 'Raleway', sans-serif;
    background: #f2efeb;
    margin: 0;
}

h1{
    font-size: 2.2em;
}

h2{
    color: #16707c;
}

header .container_logo{
    display:flex;
    margin: 0;
    justify-content: center;
}

header .container_bannier {
    height: 150px;
    background: linear-gradient(to right, #df7e00  5%, #ecb12f, #f3d697  100%);
    color:rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 0px;
    margin-bottom: 70px;
    margin-right: 0;
    margin-top: 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    text-align: center;
}



/*publications*/

.grid{
    display:grid;
    grid-template-columns: 35% 65%;
    gap: 1em;
    margin-top:20px;
    margin-bottom: 70px;
    margin-left: 30px;
    margin-right: 50px;
    grid-template-rows: minmax(auto, auto);
    text-align: justify;
}

.grid div{
    padding: 1em;
}


.image{
    object-fit: fill;
    width: 100%;
    height: 100%;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5)
}

.container_texte{
    padding-bottom: 50px;

}

/*footer*/


.footer{
    background-color: #773737;
    width: 100%;
    overflow: hidden;
}

.footer_grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding-left: 30px;
    padding-bottom: 40px;
}

.footer_copyright{
    display:inline-block;
    align-self: center;
    text-align: center;
    color: #fff;
    align-self: flex-end;
}

.footer_title{
    font-weight: 1000;
    color: #dbd9d9;
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-align: center;
}

.footer_icons{
    display:flex;
    justify-content: center; /*distribution equitative*/
    color:#ffffff;
    margin-bottom: 5px;
}

.footer_container--icons{
    display: inline-block;
    width: 55px;
    height: 55px;
    color: #fff;
    text-align: center;
    border: 1px solid #ffffff;
    border-radius: 50%;
    margin: 7px;
}

.footer_icons{
    color: #fff;
    font-size:30px;
    text-decoration: none;
}

.nav{
    display: flex;
    justify-content: flex-end;
    height: 70px;
    align-items: center;
    font-weight: 700;
}

.nav--footer{
    font-weight: 1000;
    justify-content: flex-start;
}

.nav_items{
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    padding: 10px 15px;
    font-weight: inherit;
}

.nav_items--cta{
    border: 1px solid #fff;
}

.nav__items--footer{
    padding: 10px ;
}

.nav{
    display: flex;
    justify-content: flex-end;
    height: 70px;
    align-items: center;
    font-weight: 700;
}

.nav--footer{
    font-weight: 1000;
    justify-content: flex-start;
}

.nav_items{
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    padding: 10px 15px;
    font-weight: inherit;
}

.nav_items--cta{
    border: 1px solid #fff;
}

.nav__items--footer{
    padding: 10px ;
}

.fa-brands.footer_icons{
    color: white;
    line-height: 60px; /*para centrar el ícono en el círculo siendo específico con la orden(1ra parte nombre del icono)*/
}


/*mediaQ*/

@media screen and (max-width:800px) {
    .grid{
        display: flex;
        flex-direction: column;
        align-content: center;
        gap: 1em;
        margin-top:20px;
        margin-bottom: 70px;
        margin-left: 30px;
        margin-right: 50px;
        text-align: justify;
    }
    .image{
        object-fit: cover;
        width: 100%;
        height: 100%;
        box-shadow: 2px 2px 10px rgba(0,0,0,0.5)
    }
    
    
}

@media screen and (max-width:650px) {
    header {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        
        text-align: center;
    }
    


    
    .footer {
        width: 100%;
        overflow: hidden;
        
    }
    .footer_grid{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        gap: 0px;
        align-items: center;
        padding-left: 10px;
        padding-bottom: 10px;
    }

    .nav--footer{
        font-weight: 1000;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer_copyright{
        display:inline-block;
        align-self: center;
        text-align: center;
        color: #fff;
    }
    
}