@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap);

* {
    font-family: 'Montserrat';
    list-style: none;
}

html {
    scroll-behavior: smooth;
    height: 100%;   
    overflow-x: hidden;
}

body {
    margin: 0;
    height: 100%;   
    width: 100%;
}

a {
    text-decoration: none;
}

/*--------------------- Bienvenu -------------------*/

.bienvenu{
    background-image: url("../IMG/IMG_9691-1.jpg");
    background-size: cover;
    background-position: 75%;
    background-repeat: no-repeat;
    padding: 25px;
    height: 88vh;
}

.bienvenu h1{
    margin-left: 10%;
    margin-top: 65vh;
    color: white;
    font-size: 40px;
    font-weight: 750;
    margin-bottom: 0vh;
}

.fleche{
    display: flex;
    justify-content: center;
}

.fleche img{
    margin-top: 1.5vh;
    width: 50px;
    height: auto;
    text-align: center;
}

.stat-titre{
    color: black;
    font-size: 0.8em;
    text-align: center;
    margin-top: 10%;
}

/*---------- Vrai menu de navigation -----------*/

.logo{
    margin-left: 2%;
}

.navbar{
    position: fixed;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    background-color: white;
    height: 65px;
    padding-left: 10%;
}

.navbar a{
    color: black;
    font-size: 23h;
    font-weight: 600;
}

.navbar .nav-links ul{
    text-align: right;
    display: flex;
    justify-content: end;
    align-items: center;
}

.navbar .nav-links ul li{
    margin: 0 30px;
}

.navbar .nav-links ul li.active a{
    color: #cacaca;
}

.navbar img{
    margin-top: 4px;
    width: 40px;
}

.menuOpen{
    display: none;
    color: black;
    font-size: 17px;
    font-weight: 550;
}

.hambuger-close{
    position: absolute;
    top: -10000%;
}

/*-----------SECTION Vehicule----------*/


.vehicule{
    margin-top: 10%;
    margin-bottom: -10%;
    padding: 5%;
}

h3{
    font-size: 20px;
}


.vehicule-contener{
    margin-bottom: 100px;
}

.txt{
    font-size: 14px;
}

.txt{
    padding: 7%;
}

.vpi{
    display: grid;
    grid-template-columns: 50% 50%;
    height: auto;
}

.img-vpi{
    background-image: url('../IMG/IMG_8469.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 50vh;
}

.txt-vpi{
    padding: 5%;
}

.vps{
    display: grid;
    grid-template-columns: 50% 50%;
    height: auto;
}

.img-vps{
    background-image: url('../IMG/IMG_9709.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 50vh;
}

.txt-vps{
    padding: 5%;
}

.img-vps-resp{
    display: none;
}
.img-vps{
    display: block;
}

.vl{
    display: grid;
    grid-template-columns: 50% 50%;
    height: auto;
}

.txt-vl{
    padding: 5%;
}

.img-vl{
    background-image: url('../IMG/IMG_8467.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 50vh;
}

.img1{
    align-items: contain;
}

.vehicule p{
    font-size: 0.9em;
    text-align: justify;
}

/*----------------SECTION Galerie photo-------------------*/

.galerie{
    padding: 0 5%;
}

.img-contener{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
}

.img{
    width: 57vh;
    height: fit-content;
    margin: 5%;
}
/*-----------SECTION Footer----------*/


.footer{
    margin-top: 7%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.square3{
    width: 30vh;
    background-color: grey;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer p {
        
    color: black;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    padding-left: 30px;
    padding-right: 30px
}

.button:hover{
    cursor: pointer;
    color: #cacaca;
}

.iframe_voix_de_lain{
    height: 40em;
    width: 100%;
}




/*=============================================TABLETTE================================================*/

@media screen and (max-width: 1300px) {

    .navbar{
        padding-left: 5%;
        margin: 0;
    }

    .logo{
        margin-left: 0;
    }

    .img-contener{
        display: block;
        text-align: center;
    }

    .img{
        width: 55vh;
        margin: 5%;
        height: fit-content;
        -webkit-height: fit-content;
    }
}



/*=============================================TELEPHONE================================================*/

@media screen and (max-width: 880px) {


    .bienvenu h2{
    margin-left: 5%;
    }
    .bienvenu h1{
        margin-left: 5%;
        margin-top: 55vh;
    }

    .stat-titre{
        color: black;
        font-size: 0.8em;
        text-align: center;
        margin-top: 25%;
    }
       

    /*-----------SECTION NAVIGATION----------*/

    .navbar{
        padding-left: -10%;
        margin: 0;
    }

    .nav-links{
        position: absolute;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.075);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        color: white;
        margin-left: -1000%;
        text-align: right;
    }

    .nav-links ul{
        display: flex;
        flex-direction: column;
    }

    .navbar .nav-links ul li{
        margin: 25px 0;
        font-size: 1.5em;
    }

    .navbar .nav-links ul li a{
        color: white;
        font-weight: 700;
    }

    .nav-links.menu__active{
        margin-left: 0;
    }

    .logo{
        margin-left: 5%;
    }

    .menuOpen{
        display: block;
        margin-right: 5%;
    }

    .hambuger-close{
        position: fixed;
        right: 5%;
        top: 1%;
        width: 35px;
    }
    
    /*------------------------- VEHICULE -----------------------------*/

    h2{
        text-align: center;
    }
    
    h3{
        margin-bottom: 5%;
        text-align: center;
    }

    .vehicule-contener{
        margin-bottom: 7%;
    }

    .vpi{
        display: block;
    }

    .txt-vpi{
        text-align: justify;
        margin: 0;
        margin-bottom: -10vh;
    }

    .vps{
        display: block;
    }

    .txt-vps{
        text-align: justify;
        margin: 0;
    }
    
    .img-vps{
        display: none;
    }

    .img-vps-resp{
        display: block;
        background-image: url('../IMG/IMG_9709.jpg');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        height: 50vh;
    }

    .vl{
        display: block;
    }

    .txt-vl{
        text-align: justify;
        margin: 0;
    }

    /*----------------- SECTION GALERIE ---------------*/

    .img-contener{
        display: block;
        text-align: center;
    }

    .img{
        width: 90%;
        margin: 5%;
        height: auto;
        min-height: auto;
        -webkit-height: fit-content;
    }
}