/*Définition des variables css*/
:root {
    --vertclair: #B7CE66;
    --vertsemiclair: #8FB43A;    
    --vertfonce: #4B5943;
    --vertbleu: #C8D6A2;
    --vertsemifonce: #679436;
    --grisclair: #DCDFDA;
}






*{
   /*font-family: Söhne,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,
       Helvetica Neue,Arial,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;*/
   font-family: ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
}


body{
    margin:0;
}

/*navigation*/

nav{
    color: var(--bleufonce);
    background-color: white;
    position: sticky;
    width: 100%;
    z-index: 10;
    top: 0;
    border-bottom: 2px solid black;
    height: 75px;
}
.navigation{
    height: 100%;
}
.navigation img{
    display: none;
    width: 40px;
    cursor: pointer;
}
.titre img{
    display: block;
}

.titre, .barrelien{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.titre{
    font-size: 25px;
    font-weight: bold;
    left: 5%;
}
.barrelien{
    display: flex;
    justify-content: space-between;
    margin-left: -100%;
    right: 5%;
}

a{
    color: black;
    text-decoration: none;
}
.barrelien a{
    margin-right: 15px; 
    height: 100%;
    display: flex;
    align-items: center;
}
.barrelien a:hover{
    text-decoration: underline;
}







h1{
    font-size: 64px;
    text-align: center;
    margin: 0;
}
h2{
    font-size: 48px;
    text-align: center;
    margin: 0;
}
h3{
    font-size: 32px;
    text-align: center;
    margin: 0;
}
h4{
    font-size: 24px;
    text-align: center;
    margin: 0;
}
h5{
    font-size: 18px;
    text-align: center;
    margin: 0;
}
h6{
    font-size: 16px;
    text-align: center;
    margin: 0;
}



@media screen and (max-width: 920px) {
    .navigation{
        padding-left: 5%;
        padding-right: 5%;
        position: relative;
    }
    .titre{
        position: relative;
    }
    .navigation img, .titre t{
        position: absolute;
        top:50%;
        transform: translateY(-50%);
    }
    .titre img{
        left: 0;
    }
    .titre t{
        left: 15%;
    }
    .navigation img{
        display: block;
        right: 5%;
    }
    .barrelien{
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: white;
        width: 100%;
        height: 60vh;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .lien a, .icone a{
        margin-right: 0;
    }
    .mobile-menu{
        margin-left: 0;
    }
    
    
    h1{
        font-size: 48px;
        text-align: center;
        margin: 0;
    }
    h2{
        font-size: 32px;
        text-align: center;
        margin: 0;
    }
    h3{
        font-size: 24px;
        text-align: center;
        margin: 0;
    }
    h4{
        font-size: 18px;
        text-align: center;
        margin: 0;
    }
    h5{
        font-size: 16px;
        text-align: center;
        margin: 0;
    }
    h6{
        font-size: 14px;
        text-align: center;
        margin: 0;
    }
    
}

@media screen and (max-width: 500px) {
    h1{
        font-size: 40px;
        text-align: center;
        margin: 0;
    }
    h2{
        font-size: 32px;
        text-align: center;
        margin: 0;
    }
    h3{
        font-size: 24px;
        text-align: center;
        margin: 0;
    }
    h4{
        font-size: 18px;
        text-align: center;
        margin: 0;
    }
    h5{
        font-size: 16px;
        text-align: center;
        margin: 0;
    }
    h6{
        font-size: 14px;
        text-align: center;
        margin: 0;
    }
    
}




footer{
    border-top: 2px solid black;
    color: var(--bleufonce);
    background: white;
    padding: 25px;
}