html{
    height: 100%;
    width: 100%;
}

main{
    padding-bottom: 2%;
}

body{
    margin: 0;
    padding: 0;
    background-color: #88B04B;
    font-family: 'Times New Roman', Times, serif;
}

#titre_site{
    text-align: center;
}

/* Header */

header{
    width: 100%;
    background-color: #88B04B;
}

nav{
    width: 100%;
    display: flex;
}

#menu_pliable{
    font-size: 50px;
    cursor: pointer;
    position: static;
    display: none;
    top: 0;
}

ul{
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: hidden;
    background-color: #333;
}

li{
    flex: 1 1;
    width: 15%;
    text-align: center;
}

li a, .dropbtn{
    text-decoration: none;
    display: inline-block;
    color: white;
    width: 100%;
    padding: 12px 0;
}


li .dropbtn{
    display: inline-block;
}

li a:hover, .dropdown:hover .dropbtn{
    background-color:white;
    color: #88B04B;
    font-weight: bold;
}

.dropdown {
    display: inline-block;
}

.dropdown-content{
    display: none;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    position: absolute;
    min-width:15%;
    z-index: 1;

}

.dropdown-content a{
    color: black;
    display: block;
}

.dropdown-content a:hover{
    background-color: #f1f1f1 ;
}

.dropdown:hover .dropdown-content {
    display: block;
    margin: 0 10px;
}

/* Footer */

#scroll_to_top {
    position: fixed;
    width: 5%;
    height: 40px;
    height: 40px;
    bottom: 50px;
    right: 10px;
    text-align: center;
    margin-bottom: 1%;
}

#scroll_to_top a {
    width: 40px;
}
#scroll_to_top>a>img{
    width: 40px;
}

footer{
    width: 100%;
    position: fixed;
    bottom: 0;
    background-color: #333;
}

@media screen and (max-width: 900px) {
    li a, li a:hover{
        font-size: 0.9em;
    }
}

@media screen and (max-width: 820px) {
    #header_ul{
        display: block;
        width: 0;
        height: 0;
        
    }
    #header_ul li{
        width: 100%;
    }
    
    #menu_pliable{
        display: block;
        z-index: 20;
        position: absolute;
        margin: 1%;
    }

    nav{
        position: absolute;
    }

    .dropdown-content{
        width: 100%;
    }

    .dropdown:hover .dropdown-content{
        margin: 0;
    }

    #titre_site>h1{
        font-size: 1.7em;
    }
}

@media screen and (max-width: 400px){
    #titre_site > h1{
        font-size: 1.5em;
    }
}