* {
    margin: 0;
    padding: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

/* ##########____ Général ____##########*/

#page_container {
    margin: auto;
    width: 900px;
    font-family: 'Raleway', sans-serif;
}

/* ____ TITRE SEPARATION ____*/

.titreseparation {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
}

.titreseparation h2 {
    width: 30%;
    color: #075d27;
}

.titreseparation hr {
    width: 67%;
    height: 1px;
    margin: 1em 0;
    padding: 0;
    border: 0;
    background: #89af2c;
}

/* ##########____ HEADER ____##########*/

header {
    display: flex;
    justify-content: space-between;
}

header a img {
    -webkit-transition: 0.1s linear;
    -moz-transition: 0.1s linear;
    -ms-transition: 0.1s linear;
    -o-transition: 0.1s linear;
    transition: 0.1s linear;
}

header a:hover img {
    -webkit-box-shadow: 0px 0px 15px #888585;
    -moz-box-shadow: 0px 0px 15px #888585;
    -mos-box-shadow: 0px 0px 15px #888585;
    -o-box-shadow: 0px 0px 15px #888585;
    -o-box-shadow: 0px 0px 15px #888585;
}

#burger {
    display: none; 
}

header nav {
    width: 45%;
    margin-top: 75px; 
}

header nav ul {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
}

header nav ul a {
    color: #075d27;
    text-decoration: none;
    width: 20%;
    text-align: center;
    background: #fff;
    height: 30px;
    line-height: 30px; 
    -webkit-transition: 0.1s linear;
    -moz-transition: 0.1s linear;
    -ms-transition: 0.1s linear;
    -o-transition: 0.1s linear;
    transition: 0.1s linear;
}

header nav ul a:hover {
    color: #fff;
    background: #89af2c;
}

/* ##########____ SLIDER ____##########*/

#wrapper ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

#slider {
    margin-bottom: 50px;
}

.slide {
    float: left;
    width: 900px;
    height: 290px;
}

#wrapper {
    position: relative;
    width: 900px;
    height: 290px;
    overflow: hidden;
}

#slides {
    width: 2700px;
    position: absolute;
    top: 0;
    left: 0; 
    -webkit-animation: sliderAuto 16s infinite;
    -moz-animation: sliderAuto 16s infinite;
    -ms-animation: sliderAuto 16s infinite;
    -o-animation: sliderAuto 16s infinite;
    animation: sliderAuto 16s linear infinite;
}

@-webkit-keyframes sliderAuto {
    0% {left: 0px;}
    14% {left: 0px;}
    33% {left: -900px;}
    47% {left: -900px;}
    66% {left: -1800px;}
    80% {left: -1800px;}
    100% {left: 0px;}
}
@-moz-keyframes sliderAuto {
    0% {left: 0px;}
    14% {left: 0px;}
    33% {left: -900px;}
    47% {left: -900px;}
    66% {left: -1800px;}
    80% {left: -1800px;}
    100% {left: 0px;}
}
@-o-keyframes sliderAuto {
    0% {left: 0px;}
    14% {left: 0px;}
    33% {left: -900px;}
    47% {left: -900px;}
    66% {left: -1800px;}
    80% {left: -1800px;}
    100% {left: 0px;}
}
@keyframes sliderAuto {
    0% {left: 0px;}
    14% {left: 0px;}
    33% {left: -900px;}
    47% {left: -900px;}
    66% {left: -1800px;}
    80% {left: -1800px;}
    100% {left: 0px;}
}

/* ##########____ INFOS ____##########*/

#infos {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.infos_items {
    width: 290px;
    -webkit-transition: 0.1s linear;
    -moz-transition: 0.1s linear;
    -ms-transition: 0.1s linear;
    -o-transition: 0.1s linear;
    transition: 0.1s linear;
}

.infos_items:hover {
    -webkit-box-shadow: 0px 0px 15px #888585;
    -moz-box-shadow: 0px 0px 15px #888585;
    -mos-box-shadow: 0px 0px 15px #888585;
    -o-box-shadow: 0px 0px 15px #888585;
    -o-box-shadow: 0px 0px 15px #888585;
}

.infos_items h3 {
    padding-left: 5px; 
    margin-top: 40px;
    margin-bottom: 20px;
    color: #043115;
}

.infos_items p {
    padding: 0 5px 5px 5px; 
    font-size: 0.9em;
}

.infos_items a:hover {
    background: #9bbf42;
    color: #fff;
    font-size: 0.8em;
}

.lien_vignette {
    display: block;
    margin: 20px 0px 5px 5px;
    width: 90px;
    height: 40px;
    color: #fff;
    line-height: 40px;
    font-size: 0.7em;
    text-decoration: none;
    background: #89af2c;
    border-radius: 5px;
    text-align: center;
    -webkit-transition: 0.1s linear;
    -moz-transition: 0.1s linear;
    -ms-transition: 0.1s linear;
    -o-transition: 0.1s linear;
    transition: 0.1s linear;
}

/* ##########____ CHANGEMENT CLIMATIQUE ____##########*/
/* ____ FLEX ____*/

#changementClim_flex {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

#changementClim_flex > div {
    border: 1px solid #89af2c;
    width: 24%;
    height: 300px;  
    -webkit-transition: 0.1s linear;
    -moz-transition: 0.1s linear;
    -ms-transition: 0.1s linear;
    -o-transition: 0.1s linear;
    transition: 0.1s linear;
}

#changementClim_flex > div:hover {
    border: 1px solid #fff;
    -webkit-box-shadow: 0px 0px 15px #888585;
    -moz-box-shadow: 0px 0px 15px #888585;
    -mos-box-shadow: 0px 0px 15px #888585;
    -o-box-shadow: 0px 0px 15px #888585;
    -o-box-shadow: 0px 0px 15px #888585;
}

#CC_img_1 {
    margin: auto;
    margin-top: 40px;
    margin-bottom: 25px;
    width: 64px;
    height: 64px;
    background: url(../Images/Sprites_icons.png) no-repeat;
    background-position: 0px 0px;
    -webkit-animation: 0.5s linear;
    -moz-transition: 0.1s linear;
    -ms-transition: 0.1s linear;
    -o-transition: 0.1s linear;
    animation: 1s linear infinite;
}

@-webkit-keyframes hovergear {
    0% {transform: rotateZ(0deg);}
    100% {transform: rotateZ(360deg);}
}
@-moz-keyframes hovergear {
    0% {transform: rotateZ(0deg);}
    100% {transform: rotateZ(360deg);}
}
@-o-keyframes hovergear {
    0% {transform: rotateZ(0deg);}
    100% {transform: rotateZ(360deg);}
}
@keyframes hovergear {
    0% {transform: rotateZ(0deg);}
    100% {transform: rotateZ(360deg);}
}

#CC_img_1:hover {
    -webkit-animation: hovergear 2s linear infinite;
    -moz-animation: hovergear 2s linear infinite;
    -ms-animation: hovergear 2s linear infinite;
    -o-animation: hovergear 2s linear infinite;
    animation: hovergear 2s linear infinite;
}

#CC_img_2 {
    margin: auto;
    margin-top: 40px;
    margin-bottom: 25px;
    width: 64px;
    height: 64px;
    background: url(../Images/Sprites_icons.png) no-repeat;
    background-position: -64px 0px;
    -webkit-transition: 0.1s linear;
    -moz-transition: 0.1s linear;
    -ms-transition: 0.1s linear;
    -o-transition: 0.1s linear;
    transition: 0.1s linear;
}

#CC_img_2:hover {
    -webkit-transform: rotateZ(20deg) translateX(5px) translateY(-5px);
    -moz-transform: rotateZ(20deg) translateX(5px) translateY(-5px);
    -ms-transform: rotateZ(20deg) translateX(5px) translateY(-5px);
    -o-transform: rotateZ(20deg) translateX(5px) translateY(-5px);
    transform: rotateZ(20deg) translateX(5px) translateY(-5px);
}

#CC_img_3 {
    margin: auto;
    margin-top: 40px;
    margin-bottom: 25px;
    width: 64px;
    height: 64px;
    background: url(../Images/Sprites_icons.png) no-repeat;
    background-position: -128px 0px;
}

@-webkit-keyframes bubble {
    0% {transform: scale(1);}
    50% {transform: scale(1.1);}
    100% {transform: scale(1);}
}
@-moz-keyframes bubble {
    0% {transform: scale(1);}
    50% {transform: scale(1.1);}
    100% {transform: scale(1);}
}
@-o-keyframes bubble {
    0% {transform: scale(1);}
    50% {transform: scale(1.1);}
    100% {transform: scale(1);}
}
@keyframes bubble {
    0% {transform: scale(1);}
    50% {transform: scale(1.1);}
    100% {transform: scale(1);}
}

#CC_img_3:hover {
    -webkit-animation: bubble 0.5s linear infinite;
    -moz-animation: bubble 0.5s linear infinite;
    -ms-animation: bubble 0.5s linear infinite;
    -o-animation: bubble 0.5s linear infinite;
    animation: bubble 0.5s linear infinite;
}

#CC_img_4 {
    margin: auto;
    margin-top: 40px;
    margin-bottom: 25px;
    width: 64px;
    height: 64px;
    background: url(../Images/Sprites_icons.png) no-repeat;
    background-position: -192px 0px;
}

@-webkit-keyframes rainforest {
    0% {transform: scaleY(1);}
    50% {transform: scaleY(0.3) translateY(60px);}
    100% {transform: scaleY(1);}
}
@-moz-keyframes rainforest {
    0% {transform: scaleY(1);}
    50% {transform: scaleY(0.3) translateY(60px);}
    100% {transform: scaleY(1);}
}
@-o-keyframes rainforest {
    0% {transform: scaleY(1);}
    50% {transform: scaleY(0.3) translateY(60px);}
    100% {transform: scaleY(1);}
}
@keyframes rainforest {
    0% {transform: scaleY(1);}
    50% {transform: scaleY(0.3) translateY(60px);}
    100% {transform: scaleY(1);}
}

#CC_img_4:hover {
    -webkit-animation: rainforest 0s linear infinite;
    -moz-animation: rainforest 1s linear infinite;
    -ms-animation: rainforest 1s linear infinite;
    -o-animation: rainforest 1s linear infinite;
    animation: rainforest 1s linear infinite;
}

#changementClim_flex h3 {
    margin-bottom: 30px;
    font-size: 1.5em;
    line-height: 1.3em;
    color: #043115;
}

#changementClim_flex p {
    font-size: 0.9em;
} 

/* ##########____ MESURER NOTRE IMPACT ____##########*/

#mesurerimpact {
    height: 352px;
    margin-bottom: 90px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-around;
}

#mesurerimpact > div {
    width: 48%;
    -webkit-transition: 0.1s linear;
    -moz-transition: 0.1s linear;
    -ms-transition: 0.1s linear;
    -o-transition: 0.1s linear;
    transition: 0.1s linear;
}

#mesurerimpact > div:hover {
    -webkit-box-shadow: 0px 0px 15px #e8e8e8;
    -moz-box-shadow: 0px 0px 15px #e8e8e8;
    -mos-box-shadow: 0px 0px 15px #e8e8e8;
    -o-box-shadow: 0px 0px 15px #e8e8e8;
    -o-box-shadow: 0px 0px 15px #e8e8e8;
}

#MI_1 {
    float: left;
    width: 64px;
    height: 64px;
    background: url(../Images/Sprites_icons.png) no-repeat;
    background-position: -256px 0px;
}

#MI_2 {
    float: left;
    width: 65px;
    height: 65px;
    background: url(../Images/Sprites_icons.png) no-repeat;
    background-position: 0px -64px;
}

#MI_3 {
    float: left;
    width: 65px;
    height: 65px;
    background: url(../Images/Sprites_icons.png) no-repeat;
    background-position: -64px -64px;
}

#MI_4 {
    float: left;
    width: 65px;
    height: 65px;
    background: url(../Images/Sprites_icons.png) no-repeat;
    background-position: -128px -64px;
}

#MI_5 {
    float: left;
    width: 65px;
    height: 65px;
    background: url(../Images/Sprites_icons.png) no-repeat;
    background-position: -192px -64px;
}

#MI_6 {
    float: left;
    width: 65px;
    height: 65px;
    background: url(../Images/Sprites_icons.png) no-repeat;
    background-position: -256px -64px;
}

#mesurerimpact h3 {
    margin-left: 80px;
    font-size: 1.1em;
    color: #043115
}

#mesurerimpact p {
    margin-left: 80px;
    margin-right: 10px;
    margin-top: 5px;
    font-size: 0.9em;
}

/* ##########____ FOOTER ____##########*/

footer {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    align-items: center;
}

#copy {
    flex-flow: 1;
    font-size: 0.8em;
    color: #89af2c;
}

#socials {
    flex-flow: 2;
    display: flex;
}

#socials a {
    margin-left: 10px;
    -webkit-transition: 0.2s ease;
    -moz-transition: 0.2s ease;
    -ms-transition: 0.2s ease;
    -o-transition: 0.2s ease;
    transition: 0.2s ease;
}

#socials a:hover {
    opacity: 0.8;
}

#tw {
    display: block;
    width: 34px;
    height: 34px;
    background: url(../Images/Sprites_socials.png);
    background-position: 0px 0px; 
}

#fb {
    display: block;
    width: 34px;
    height: 34px;
    background: url(../Images/Sprites_socials.png);
    background-position: -34px 0px; 
}

#pt {
    display: block;
    width: 34px;
    height: 34px;
    background: url(../Images/Sprites_socials.png);
    background-position: -68px 0px; 
}

#rss {
    display: block;
    width: 34px;
    height: 34px;
    background: url(../Images/Sprites_socials.png);
    background-position: -102px 0px; 
}

#lkd {
    display: block;
    width: 34px;
    height: 34px;
    background: url(../Images/Sprites_socials.png);
    background-position: -136px 0px; 
}

/* ##########____ MEDIA QUERY ____##########*/

@media all and (max-width: 900px) {
    #page_container {
        width: auto;
    }   
    #slider {
        display: none;
    }    
    header nav {
        width: 100%;
    }   
    #infos {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .infos_items {
        margin-bottom: 20px;
        border: 1px solid #89af2c;
    }
    .titreseparation {
        justify-content: space-around;
    }
    #changementClim_flex {
        flex-wrap: wrap;
        justify-content: space-around;
    }
    #changementClim_flex > div {
        width: 40%;
        margin-bottom: 20px;
    }
    #mesurerimpact {
        flex-wrap: wrap;
        margin-top: 20px;
        justify-content: space-around;
    }
    footer {
        justify-content: space-around;
    }
}
@media all and (max-width: 550px) { 
    #changementClim_flex, #tsMobile {
        display: none;
    }
    header {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    #burger {
        display: block;
        margin-right: 50px;
        margin-top: 25px;
        width: 54px;
        height: 54px;
        background: url(../Images/Burger_icon.svg) no-repeat;
        background-size: contain;
        cursor: pointer;
    }
    #menuMobile {
        position: relative;
        display: block;
    }
    header nav {
        margin: 0;
        overflow: hidden;
    } 
    header nav li {
        padding: 20px 0px;
        background: #89af2c;
        color: #fff;
        font-size: 1.5em;
    }
    header nav li:hover {
        background: #9bbf42;
    }
    .titreseparation h2 {
        width:65%;
        margin-left: 5px;
    }
    .titreseparation hr {
        width:35%;
    }
    #mesurerimpact {
        height: auto;
        flex-direction: column;
    }
    #mesurerimpact > div {
        margin-bottom: 20px;
        margin: 5px;
        width: 100%;
    }
    footer {
        margin: 0;
        flex-direction: column;
        justify-content: center;
    }
    #copy {
        margin-top: 20px;
        margin-bottom: 20px;
        order: 2;
    }
}