@font-face {
    font-family: caviardreams;
    src: url(polices/caviardreams-webfont.woff);
    src: url(polices/caviardreams-webfont.woff2);
}

@font-face {
    font-family: geosanslight;
    src: url(polices/geosanslight-webfont.woff);
    src: url(polices/geosanslight-webfont.woff2);
}

@font-face {
    font-family: daniel;
    src: url(polices/danielbd.ttf);
    src: url(polices/danielbd.ttf);
}

body
{
    width: 100%;
    font-family: 'daniel', sans-serif;
    font-weight: normal;
    background: url('images/fond3.jpg') 100% fixed no-repeat;
    background-size: 115%;
    background-position: center;
    margin: 0;
    padding: 0;
}

main
{
    width: 100%;
}

header
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 3px solid white;
    margin: 0;
    background: rgba(255, 255, 255, 0.5)
}

#top-left
{
    display: flex;
    /* background-color: red; */
    align-items: center;
}

#top-left ul
{
    display: flex;
    list-style-type: none;
}

#top-left li
{
    margin-left: 80px;
    font-size: 1.7em;
    padding: 5px 10px 5px 10px;
    /* background: black; */
    font-weight: bold;
}

#top-left a
{
    color: black;
    text-decoration: none;
}



#top-left li:hover a
{
    /* color: rgb(0, 0, 0); */
    color: #FFA953;
    transition: 0.1s;
}

#logo img
{
    width: 500px;
    margin: 10px;
}

#reseaux
{
    display: flex;
    align-items: center;
    /* z-index: 9; */
}

#reseaux img
{
    width: 60px;
    height: 60px;
    transition: 0.3s;
}

#reseaux ul
{
    display: flex;
    list-style-type: none;
}

#reseaux li
{
    margin-right: 20px;
    transition: 0.3s;
}

#reseaux li:hover img
{
    transform: rotate(45deg);
    transform-origin: center;
    transition: 0.3s;
}

section
{
    display: flex;
    height: 100vh;
}

nav 
{
    display: flex;
    font-size: 4em;
    margin-left: 50px;
    color: white;
    margin-bottom: 180px;
    margin-top: 150px;
}

nav ul li:nth-child(2)
{
    font-size: 0.7em;
    margin-top: 20px;
}

/* nav img
{
    display: none;
} */

nav ul
{
    list-style-type: none;
    font-weight: bold;
}

nav li
{
    /* color: white; */
    color:#4b3b38;
    text-decoration: none;
    text-shadow: 1px 1px 1px rgb(148, 148, 148);
    transition: 0.1s;
}

/* nav li:hover
{
    color: #FFA953;
    transition: 0.1s;
} */

footer {
    display: flex;
    height: 200px;
    border-top: 3px solid white;
    background: white;
    justify-content: space-around;
    align-items: top; /* align vertical*/
    font-family: caviardreams;
    font-size: 1.3em;
}

footer li {
    list-style-type: none;
    margin: 10px;
}

footer li img
{
    width: 20px;
}

footer #presentation {
    display: flex;
    width: 30%;
    align-items: center;
}

footer #infos {
    display: flex;
    width: 20%;
    align-items: center;
}

footer #liens {
    display: flex;
    width: 20%;
    align-items: center;
}

footer #liens a {
    text-decoration: none;
    color: black;
    transition: 0.2s;
}

footer #liens a:hover
{
    color: orange;
    transition: 0.2s;
}









@media all and (max-width: 1024px)
{

    body
    {
        width: 100%;
        background: url('images/fondmobile.jpg') fixed no-repeat;
        background-position: top;
        background-size: cover;
        /* background-position: center; */
    }

    header
    {
        flex-direction: column;
        /* background: white; */
    }

    #top-left
    {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }

    #logo img
    {
        width: 70%;
    }

    #menu1
    {
        width: 100%;
        margin-bottom: 10px;
        align-items: center;
    }

    #menu1 ul
    {
        margin: initial;
        align-items: center;
        padding: initial;
        width: 100%;
    }

    #menu1 li
    {
        width: 32%;
        margin: initial;
        font-size: 1.2em;
    }

    #reseaux
    {
        display: none; /* CACHER LES BILLES RESEAUX */
        position: fixed;
        margin: 0;
        align-items: initial;
        margin-bottom: 20px;
        margin-top: 20px;
        width: 100%;
        bottom: 0px;
    }

    #reseaux ul
    {
        margin: initial;
        padding: initial;
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }

    #reseaux li
    {
        margin: initial;
        margin-bottom: 10px;
        padding: 5px 5px 5px 5px;
    }

    #reseaux img
    {
        width: 50px;
        height: auto;
    }

    nav 
    {
        display: flex;
        font-size: 1.8em;
        margin-left: initial;
        color: white;
        margin-top: 0;
        margin-left: -20px;
    }

    nav ul li:nth-child(2)
{
    font-size: 0.7em;
    margin-top: 10px;
}

    /* nav img
    {
        display: inline;
        width: 25px;
        transform: rotate(-45deg);
    } */

    footer {
        position: relative;
        display: flex;
        width: 100%;
        flex-direction: column;
        height: initial;
        border-top: 3px solid white;
        font-family: caviardreams;
        font-size: 1.3em;
        align-items: center;
    }
    
    footer #presentation {
        display: flex;
        width: 80%;
        justify-content: center;
        margin: 0;
    }
    
    footer #infos {
        display: flex;
        width: 80%;
        text-align: left;
    }
    
    footer #liens {
        display: flex;
        width: 40%;
        text-align: center;    
    }
    
    footer ul
    {
        position: relative;
     
        width: 100%;
        margin: 25px;
        padding: initial;
    }
    
    footer li {
        list-style-type: none;
        margin: initial;
    }
    
    footer li img
    {
        width: 20px;
    }
    
    footer #liens a {
        text-decoration: none;
        color: black;
        transition: 0.2s;
    }
    
    footer #liens a:hover
    {
        color: orange;
        transition: 0.2s;
    }

}