* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

body {
    background-color: #becfb8;
}

body header {
    position: fixed;
    margin: -50px;
    left: 50px;
    width: 100%;
}

header {
    height: 50px;
}

.nav1 {
    background-color: #9FBC80;
    height: 40px;
    display: flex;
    align-items: center;
}

.logo-img {
    width: 20px;
    height: 16px;
    margin-left: 7%;
}

.logo {
    color: #ffffff;
    font: bold 15px "Reem Kufi";
    text-decoration: none;
    margin-left: 5%;
}

.nav1 ul li {
    display: inline;
    font: bold 15px "Reem Kufi";
    padding: 30px;
}

a {
    color: #ffffff;
}
/* a:link {
    color: #ffffff;
}
a:focus {
    color: #ffffff;
} */
a:hover {
    color: #2d5344;
}
a:active {
    color: #7b8b4f;
}
.travaux {
    color: #2d5344;
}
.annees {
    margin: 50px 50px 100px 50px;
    background-color: #80aa89;
}
.annees {
    padding: 100px 15% 20px 15%;
    line-height: 60px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 15px;
}

.annees h1 {
    color: #dceaff;
    font-size: 35px;
    margin-left: 10%;
}
.annees h2 {
    color: #dceaff;
    font-size: 18px;
    margin-left: 10%;
}

.annees ul li {
    padding-left: 10%;
    background-color: #819e5f;
}



/* Hamburger */

.home {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-toggler {
    position:absolute;
    z-index: 10;
    right: 30px;
    height: 50px;
    width: 40px;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}
.line {
    position: absolute;
    display: block;
    width: 50%;
    height: 3px;
    border-radius: 25px;
    background: #f1f1f1;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
.l1 {
    transform: translateY(-10px)
}
.l3 {
    transform: translateY(10px)
}
.nav-toggler.active .l1 {
    transform: translateY(0px) rotate(135deg);
}
.nav-toggler.active .l2 {
    opacity: 0;
}
.nav-toggler.active .l3 {
    transform: translateY(0px) rotate(-135deg);
}

/* Rideau */

nav {
    position: fixed;
    width: 30vw;
    min-height: 120vh;
    z-index: -1;
    right: 0;
    display: flex;
    justify-content:flex-end;
    align-items: center;
    flex-direction: column;
    background: #9FBC80;
    opacity: 1;
    border-left: 1px solid #cfcfcf;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.73, 0.11, 0.67, 0.84);
}
nav.active {

    transform: translate(0);
}
nav a {
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: #f1f1f1;
    font-size: 17px;
    display: block;
    margin: 25px 5px;
    text-decoration: none;
}
/* Anim fin */


@media screen and (min-width: 600px){
.logo-img {
    width: 30px;
    height: 24px;
}

.logo {
    font: bold 32px "Reem Kufi";
}
nav {
    width: 25vw;   
}
.nav1 {

    height: 45px;

}
.nav1 ul li {
    display: inline;
    color: #FFFFFF;
    font: bold 25px "Reem Kufi";
    padding: 40px;
}

.nav-1 ul {
    margin-left: 100px;
}
nav a {
    font-size: 20px;
    margin: 20px 0;

}

.annees {
    margin: 50px 100px 100px 100px;
    font-size: 20px;
}
.annees h1 {
    font-size: 55px;
}
.annees h2 {
    font-size: 35px;
}
footer {
    height: 40px;
}

.envel {
    width: 30px;
}
.nav-toggler {
    width: 50px;
}
}


@media screen and (min-width: 900px){
    nav {
        width: 20vw;   
    }
    .nav1 {
        height: 50px;
    }
    .logo-img {
        width: 40px;
        height: 30px;
    }
    .logo {
        font: bold 42px "Reem Kufi";
    }
    .nav1 ul li {
        font: bold 30px "Reem Kufi";
        padding: 50px;
    }

    footer {
        height: 50px;
    }
        
    .envel {
        width: 40px;
    }
    .nav-toggler {
        width: 60px;
    }
}