:root {
    --header-height: 10rem;
    --section-padding: 5rem;
    --section-top-padding: 4rem;
    --light-text: white;
}
p{
    color:#a8a8a8;
    font-size: 1.15rem;
}
img{
    max-width: 100%;
    max-height: 100%;
}
article{
    padding-bottom: var(--section-padding);
}

nav#header_nav{
    /*position: fixed;*/
    height: var(--header-height);
    padding: 3rem 3rem;
    top: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    width: 114rem;
    margin: auto;
    max-width: 100%;
}
#burger{
    z-index: 999;
    position: fixed;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: white;
    transition: all 0.35s;
}
#burger .b-head{
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding:3rem 3rem;
    align-items: center;
}
#burger .b-head img:first-child{
    height: 4rem;
}
#burger .b-nav{
margin:auto;
display:flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

#burger.closed{
    pointer-events: none;
    left: 150%;
}
nav#header_nav a:not(.btn){
    color:black!important;
    margin-right: 3.5rem;
}
nav#header_nav a.btn:not(:nth-last-child()){
    margin-right: 3.5rem;
}
nav#header_nav .logo{
    height: 100%;
    width: auto;
}
h1{
    font-size: 3.5rem;
    font-weight: 500;
    max-width: 35rem;
    line-height: 1.25;
    margin: 2rem 0;
}
header{
    margin: auto;
   /* margin-top: var(--header-height);*/
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--section-padding);
 /*   padding-left: calc(3rem + 5%);
    padding-right: calc(3rem + 5%);*/
    width: 90rem;
    max-width: calc(100% - 6rem);
}
footer{
    padding-bottom: 1.5rem;
    padding-top: var(--section-padding);
    border-top:1px solid #BEBEBE;
    overflow:hidden;
}
footer .logo{
    width: 12rem;
    margin-bottom: 2rem;
}
footer .footerleftbg{
    width: 25rem;
    height: 25rem;
    left: -9.5rem;
    bottom: -11rem;
    position: absolute;
}
footer .footerrightbg{
    width: 11rem;
    height: 11rem;
    right: -6.5rem;
    top: 5rem;
    position: absolute;
}
footer nav{
    margin-top: 4rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 68rem;
    max-width: 85%;
}
footer nav#secondary_footer_nav{
    margin-top: -0.75rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 68rem;
    max-width: 85%;
}
footer nav#secondary_footer_nav a{
    margin-left: 1rem;
    margin-right: 1rem;
}
footer nav a{
    opacity: 0.35;
    color:black!important;
    transition: all 0.25s;
}
footer nav a:hover{
    opacity: 0.5;
}
.objectif-container img{
    transition: all 1s ease-in;
}
.objectif-container img:hover{
    transform: rotate(360deg);
}
#objectifs{
    width: 89rem;
    max-width: 90%;
    margin:auto;
    text-align: center;
}
#objectifs h2{
    margin-top: 0;

}
#objectifs p, #presentation p:last-child{
    margin-bottom: 0;
}
article{
    padding-top: var(--section-top-padding);
}
#presentation{
    background-color: #F1F6FD;
}
#presentation .wrapper{
    width: 65rem;
    margin: auto;
    max-width: 90%;
    display:flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center; 
    text-align: center;
}
#vehicules{
    text-align: center;
    width: 72rem;
    margin: auto;
    max-width: calc(100% - 6rem);
}
#equipe{
    background-color: #F8F8F8;
}
#equipe .wrapper{
    margin: auto;
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 86rem;
   max-width: calc(100% - 6rem);
   background-color: #F8F8F8;
}
#confiance{
    text-align: center;
}
.confiance{
    height: 6rem;
margin-top: 6rem;
}
.confiance img{
    margin-left: 2rem;
    margin-right: 2rem;
}
.confiance img:first-child{
    margin-left: 0;
}
.confiance img:last-child{
    margin-right: 0;
}
#equipe section p{
    max-width: 37.98rem;
    margin-bottom: 2.5rem;
}

#equipe aside{
    margin-top: 3.75rem;
}

#equipe aside .equipe_pic{
    height: 8.5rem;
    width: 16rem;
}
#equipe aside .equipe_pic img{
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
}
#equipe > .wrapper > *:first-child{
    width: 50%;
    flex-grow: 1;
    margin-right: 4%;
}
#equipe > .wrapper > *:last-child{
    width: 50%;
    flex-grow: 1;
    margin-left: 4%;
}
.equipe{
    background: white;
padding: 3rem 2rem;
min-width: 16rem;
}
.equipe_wrap:not(:last-child){
    margin-right: 3rem;
    margin-left:auto
}

#vehicules h3{
    font-weight: 500;
font-size: 1.5rem;
margin-top: auto;
margin-bottom: 2rem;;
}

header > *:first-child{
    width: 50%;
    flex-grow: 1;
}
header > *:last-child{
    width: 50%;
    flex-grow: 1;
    padding-left: 5%;
}

#ecologie{
    padding: 9rem 8rem;
    line-height: 1.25;
    color: var(--light-text);
}
#ecologie h2{
    font-weight: 500;
    font-size: 3rem;
}
#ecologie h2, #vehicules h2, #equipe h2, #confiance h2{
    margin-top: 0;
}
#ecologie p{
    margin-bottom: 0;
    color:white;
}
#ecologie section{
    max-width: 28rem;
}

.objectif-container{
    width: 15.6rem;
    text-align: center;
}
.vehicules{
    padding-top: 3rem;
}
.vehicule{
    height: 24rem;
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.vehicule:first-child{
    margin-left: 0;
}
.vehicule:last-child{
    margin-right: 0;
}
.slide{
    display:flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.inglide{
    margin: auto!important;
    width: 22rem;
    max-width: 90%;
}
.glide{
    position: relative;
    width: calc(100%);
    box-sizing: border-box;
    width: calc(100%) !important;
}
.glide__slides{
    padding-top: 3rem!important;
    padding-bottom: 3rem!important;
}
.glide__track{
    margin-top: -3rem!important;
}
.shadow{
    box-shadow: 0px 0px 2.5rem -1px rgba(0,0,0,0.1)
}
.glide__arrow{
    background:none;
    cursor: pointer;
}
.glide__arrows{
    position: absolute;
    top: calc(50% - 2rem);
    width: calc(100% + 10rem);
    display: flex;
    justify-content: space-between;
    align-content: center;
    left: 0;
    z-index: 5;
    margin-left: -5rem;
}

.btn{
    height:3rem;
    line-height: 3rem;
}


.mgt-4{
    margin-top: 4rem;
}

@media screen and (min-width:950px) {
    
}

@media screen and (max-width:1920px) {
    footer .footerleftbg {
        width: 20rem;
        height: 20rem;
        left: -10.2rem;
        bottom: -8rem;
        position: absolute;
    }
}

@media screen and (max-width:1450px) {
    footer .footerleftbg {
        width: 16rem;
        height: 16rem;
        left: -9rem;
        bottom: -7rem;
        position: absolute;
    }
    .equipe{
        background: white;
    padding: 3rem 2rem;
    min-width: 16rem;
    }
}
@media screen and (max-width:950px){

    .equipe_wrap:not(:last-child){
        margin-right: auto;
        margin-left:auto;
        margin-bottom: 2rem;
    }

    .glide__track {
        overflow: visible!important;
    }
    :root {
        --section-top-padding: 3rem;
        --section-padding: 3rem;
    }
    #ecologie{
        padding: 6rem 2rem;
        text-align: center;
    }
    .confiance img{
        margin:1rem 0;
        max-width: 80%;
        width: 13rem;
    }
    .confiance{
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin-top: 1rem;
    }
    footer .footerleftbg {
        width: 12rem;
        height: 11rem;
        left: -8.5rem;
        top: 11rem;
        position: absolute;
        bottom: auto;
    }
    footer .footerrightbg{
        width: 7rem;
        height: 7rem;
        right: -4.5rem;
        top: 5rem;
        position: absolute;
    }
    footer nav {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 68rem;
        max-width: 80%;
        flex-direction: column;
    }
    footer nav#secondary_footer_nav{
        margin-top: -2rem;
        margin-bottom: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 68rem;
        max-width: 80%;
        flex-direction: column;
    }
    footer nav a {
        opacity: 0.35;
        color: black !important;
        margin: 0.5rem 0;
    }
    footer{
        font-size: 1.2rem;
    }
    h1{
        font-size: 2.75rem;
        margin:1rem auto;
        text-align: center;
    }
    header p{
        margin-bottom: 2rem;
        margin-top: 0;
    }
   
    header p:last-of-type{
        margin-bottom: 0;
    }
    header{
        text-align: center;
    }
    p{
        font-size: 1.1rem;
        line-height: 1.25;
    }
    #objectifs section{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #objectifs h2 {
        margin-top: 0;
        margin-bottom: 4rem;
    }
    #ecologie h2 {
        font-weight: 500;
        font-size: 2.5rem;
    }
    #equipe .wrapper{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #equipe > .wrapper > :first-child{
        width: 100%!important;
        margin-bottom:0rem!important;
        margin-top:0!important;
        text-align: center;
        margin-right: 0!important;
    }
    #equipe > .wrapper > :last-child{
        width: 100%!important;
        margin-bottom:0rem!important;
        margin-top:2rem!important;
        text-align: center;
        margin-right: 0!important;
    }
    #equipe section p{
        margin-left: auto;
        margin-right: auto;
    }
    #equipe > .wrapper > :last-child{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-right: 0!important;
        margin-left: 0!important;
    }
    .equipe:not(:last-of-type){
        margin:auto!important;
        margin-bottom: 1rem!important;
    }
    .glide__track{
        margin-bottom: -3rem;
    }
    section , aside{
        margin-top:0!important;
        margin-bottom:0!important;
    }
    #confiance{
        max-width: 80%;
        margin: auto;
    }
    .confiance img:last-child{
        margin-bottom: 0;
    }
    .vehicules_mobile_wrapper{
        width: calc(100% - 6rem);
        margin: auto;
    }
   .objectif-container{
       margin-top: 1rem;
       margin-bottom: 1rem;
   }
   .objectif-container{
    margin-top: 1rem;
    margin-bottom: 1rem;
    }
    .objectif-container:last-of-type{
        margin-bottom: 0rem;
    }
    .objectif-container:first-of-type{
        margin-top: 0rem;
    }
    .b-nav a{
        margin:1rem auto;
        font-size: 1.5rem;
        color:black!important;
        opacity: 0.35;
        transition: all 0.25s;;
    }
    .b-nav a:hover{
        opacity: 0.5;
    }
}

@media screen and (max-width:400px){
    .vehicule{
        height: 16rem;
    }
    #vehicules h3{
        font-size: 1.25rem;
    }
}
