*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
}

body{
    background-color: #3e726a;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/*HEADER*/

.imgHeader{
    display: none;
}

nav{
    width: 100%;
    top: 0;
    height: 15vh;
    display: grid;
    grid-template-rows: 100%;
    grid-template-columns: 20vw repeat(4, 1fr) 1.5fr 1fr;
    background-color: #3e726a;
    font-family: 'Montserrat', sans-serif;
    position: fixed;
    z-index: 10;


}

nav a{
    width: max-content;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    justify-self: center;
    color: #ffe7d4;
    text-decoration: none;
    font-size: 1.4em;
    transition: 0.5s scale;
    font-weight: bold;
    text-align: center;
    padding: 0 10px;
}

#navImg{
    height: 100%;
    width: 100%;
}

nav img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}

nav a:hover{
    scale: 1.15;
}

nav #navImg:hover{
    scale: 1;
}

.underline{
    border-bottom: 4px solid #ffe7d4;
}

#iconeMenu{
    display: none;
}

/*FOOTER*/

footer{
    width: 100%;
    height: 13vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #2c554f;
    color: #ffe7d4;
    margin-top: 30px;
}

footer p{
    cursor: default;
    font-family: Bahnschrift, sans-serif;
    font-size: 0.9em;
    padding-top: 5px;
}

.reseaux{
    display: flex;
    flex-direction: row;
}

.reseaux a{
    color: #ffe7d4;
    font-size: 2em;
    padding: 0 5px;
    transition: color 0.25s;
}

.reseaux a:hover{
    color: #77c2b8;
}

@media screen and (max-width: 1160px){
    header{
        height: 15vh;
        display: flex;
    }
    .imgHeader{
        display: block;
        margin: auto;
        height: 13vh;
        justify-self: center;
    }

    #iconeMenu{
        display: block;
        position: absolute;
        z-index: 11;
        color: #ffe7d4;
        font-size: 2.5em;
        right: 7.5vw;
        top: 6vh;
    }

    nav{
        height: 100vh;
        /*display: none;*/
        margin-top: -100vh;
        width: 100vw;
        position: absolute;
        grid-template-rows: repeat(7, 1fr);
        grid-template-columns: 1fr;
        transition: all 0.5s;
    }

    #navImg{
        width: 75vw;
        align-self: center;
        justify-self: center;
    }

    nav img{
        height: 13vh;
    }

}