html, body{
    margin: 0;
    padding: 0;
    display: inline;
}

header{
    z-index: 99;
}

.video{
    position: fixed;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    top: 0;
    z-index: -1;
}

.video video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    top: 50%;
    left: 50%;
    z-index: -2;
    transform: translate(-50%, -50%);
}

.video::before{
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background-color: #5bb3ff00;
    /* background-image: linear-gradient(to right bottom, #24559f, #0079c2, #0099bb, #00b38a, #16c63c); */
    opacity: 0;
    z-index: -1;
}

.body2{
    min-width: 100%;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    /* background-color: rgb(211, 219, 180); iii */
    margin-top: 100vh;
    z-index: 100;
    overflow-y: hidden;
}


#titre{
    margin-top: 4.5%;
    text-align: center;
    /* font-size: 7em; */
     font-size: 11.7vh;
    color: white;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
}

.descmain{
    text-align: center;
    /* font-size: 2.5em; */
    font-size: 4vh;
    color: white;
    font-family: 'Oswald', sans-serif;
}
.descmain span{
color: rgb(150, 204, 134);
}

#ts{
    display: block;
    /* width: 15rem; */
    width: 25vh;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.5;
    margin-top: -2%;
}

.btndiv{
    margin-top: 2%;
    width: 100%;
}

.btndiv2{
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

/* BTN VERT BTN */

.btn{
    /* padding: 20px 50px; */
    padding: 2.05vh 5.13vh;
    /* font-size: 1.5rem; */
    font-size: 2.5vh;
    cursor: pointer;
    border: 0;
    color: rgb(150, 204, 134);
    background: transparent;
    position: relative;
    /* margin: 20px; */
    margin: 2.05vh;
    transition: all .25s;
}

.btn::after{
    /* border: 3px solid rgb(150, 204, 134); */
    border: 0.3vh solid rgb(150, 204, 134);
    content: '';
    position: absolute;
    border-radius: inherit;
    width: 100%;
    height: 100%;
    left: 0px;
    bottom: 0px;
    transition: all .25s;
}

.btn::before{
        /* border: 3px solid rgb(150, 204, 134); */
        border: 0.3vh solid white;
        content: '';
        position: absolute;
        border-radius: inherit;
        width: 100%;
        height: 100%;
        left: 0px;
        bottom: 0px;
        transition: all .25s;
}

.btn:hover::after{
    /* transform: translate(-5px, -5px); */
    transform: translate(-0.51vh, -0.51vh);
}

.btn:hover::before{
    /* transform: translate(5px, 5px); */
    transform: translate(0.51vh, 0.51vh);
}

/* BTN BLANC BTN2 */
.btn2{
    /* padding: 20px 50px; */
    padding: 2.05vh 5.13vh;
    /* font-size: 1.5rem; */
    font-size: 2.5vh;
    cursor: pointer;
    border: 0;
    color: white;
    background: transparent;
    position: relative;
    /* margin: 20px; */
    margin: 2.05vh;
    transition: all .25s;
}

.btn2::after{
    /* border: 3px solid white; */
    border: 0.3vh solid white;
    content: '';
    position: absolute;
    border-radius: inherit;
    width: 100%;
    height: 100%;
    left: 0px;
    bottom: 0px;
    transition: all .25s;
}

.btn2::before{
    /* border: 3px solid white; */
    border: 0.3vh solid white;
    content: '';
    position: absolute;
    border-radius: inherit;
    width: 100%;
    height: 100%;
    left: 0px;
    bottom: 0px;
    transition: all .25s;
}

.btn2:hover::after{
    /* transform: translate(-5px, -5px); */
    transform: translate(-0.51vh, -0.51vh);
}

.btn2:hover::before{
    /* transform: translate(5px, 5px); */
    transform: translate(0.51vh, 0.51vh);
}




/* scroll down */


.scrolldown{
    position: absolute;
    bottom: -2%;
    left: 50%;
    /* width: 40px; */
    /* height: 40px; */
    width: 4.11vh;
    height: 4.11vh;
    /* transform: translateY(-80px) translateX(-50%) rotate(45deg); */
    transform: translateY(-8.22vh) translateX(-50%) rotate(45deg);
}

.scrolldown:hover{
    transition-duration: 500ms;
    width: 4.8vh;
    height: 4.8vh;
}

.scrolldown span{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    /* border-bottom: 2px solid #fff; */
    /* border-right: 2px solid #fff; */
    border-bottom: 0.20vh solid #fff;
    border-right: 0.20vh solid #fff;
    animation: animate 1.5s linear infinite;
    opacity: 0;
}



.scrolldown span:nth-child(1){
    /* transform: translate(-15px, -15px); */
    transform: translate(-1.54vh, -1.54vh);
    animation-delay: -0.4s;
}

.scrolldown span:nth-child(2){
    transform: translate(0, 0);
    animation-delay: -0.2s;
}

.scrolldown span:nth-child(3){
    /* transform: translate(15px, 15px); */
    transform: translate(1.54vh, 1.54vh);
    animation-delay: 0s;
}

@keyframes animate{
    0%{
        /* top: -5px; */
        /* left: -5px; */
        top: -0.51vh;
        left: -0.51vh;
        opacity: 0;
    }
    25%{
        top: 0px;
        left: 0px;
        opacity: 1;
    }
    50%,100%{
        /* top: 5px;
        left: 5px; */
        top: 0.51vh;
        left: 0.51vh;
        opacity: 0;
    }
}


.Scrollbody2{
    cursor: pointer;
}

/* fin scroll down */


/* debut article */


.geo_container{
    display: flex;
    width: 100%;
    height: 400px;
    /* background-color: rgb(121, 179, 161); iii */
    background-color: rgb(226, 226, 226);
}
.geo1{
    height: 100%;
    width: 30%;
    margin-left: 0;
    background-size: cover;
    background-image: linear-gradient(to right bottom, #24559f7a, #0079c27a, #0099bb7a, #00b38a7a, #16c63c7a),
    url('../img/desktop.jpg');
}
.geo2{
    width: 70%;
    height: 100%;
}


#txt_geo2{
    width: 80%;
    margin: 0 auto;
}

#txt_geo2 h3{
    margin-top: 7%;
    font-size: 50px;
    font-family: 'Outfit', sans-serif;
}

.p_title{
    color: rgb(0, 0, 0);
    text-align: left;
    font-size: 30px;
    width: 100%;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}


.title_realisations{
    text-align: center;
    color: blanchedalmond;
    font-size: 2.6041666666666665vw;
    margin: 0;
    /* margin-top: -140px; */
    text-transform: uppercase;
    /* font-family: 'Poppins', sans-serif; */
    font-family: 'Outfit', sans-serif;
    text-shadow: 1px 1px 2px black;
}

.div_title_realisations{
    width: 100%;
    height: 100%;
    display : flex;
    align-items : center;
    justify-content : center;
}

/* .title_rea{
    text-align: center;
    color: #ff9234;
    font-size: 2.5rem;
    text-decoration: underline;
    font-family: 'Inter', sans-serif;

} */


.article_container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-right: 5%;
    margin-left: 5%;
    background: transparent;
}

.prea{
    width: 300px;
    height: 400px;
    overflow: hidden;
    margin-right: 1%;
    margin-left: 1%;
    margin-bottom: 2%;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 2px rgba(119, 119, 119, 0.562);
    transition-duration: 0.3s;
}

.prea:hover{
    -webkit-transform:scale(1.03); /* Safari and Chrome */
    -moz-transform:scale(1.03); /* Firefox */
    -ms-transform:scale(1.03); /* IE 9 */
    -o-transform:scale(1.03); /* Opera */
     transform:scale(1.03);
}

.article_img{
    margin-top: -1px;
    display: block;
    margin-right: auto;
    margin-left: auto;
    width: 300px;
    height: 120px;
    object-fit: cover;
}



.art_a{
    text-decoration: none;
}

.titre_article{
    text-align: center;
    color: black;
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
    width: 100%;
    height: 68px;
    overflow: hidden;
    background-color: rgb(236, 236, 236);
}


.article_abstract{
    color: rgb(63, 63, 63);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.div_abstract{
    height: 190px;
    width: 280px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    margin-top: -24px;
    display: inherit;
}

.article_bottom{
    width: 100%;
    height: 25px;
    background-color: rgb(238, 238, 238);
    margin-top: -14px;
    line-height: 22px;
}

.article_date{
    margin-left: 5%;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: rgb(77, 77, 77);
}


/* fin article */


/* YOUTUBE */


.ytb_container{
    /* background-color: azure; */
    background-color: white;
    font-family: 'Montserrat', sans-serif;
}

#ytb_title_container{
    margin-left: auto;
    margin-right: auto;
    width: 99%;
}

#ytb_title{
    text-align: center;
    color: rgb(121, 179, 161);
    font-size: 50px;
    border:2px solid black;
}

.ytb{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-right: 5%;
    margin-left: 5%;
}

.iframe_ytb{
    margin: 15px;
    margin-bottom: 0px;
    /* width: 43.165vh; */
    /* height: 24.280vh; */
    min-width: 296px;
    min-height: 166.50px;


    width: 44.19321685508736vh;
    height: 24.859198355601233vh;
}

/* FIN YOUTUBE */


/* ----- FORMULAIRE DE CONTACT ------- */

#contact{

    width: 1100px;
    height: 800px;
    max-width: 90%;
    margin: 100px auto;

    background: white;

    border-radius: 10px;


    box-shadow: 0px 0px 10px 2px rgba(119, 119, 119, 0.5);
    -moz-box-shadow: 0px 0px 10px 2px rgba(119, 119, 119, 0.5);
    -webkit-box-shadow: 0px 0px 10px 2px rgba(119, 119, 119, 0.5);
}

#h3_ctc{
    padding-top: 20px;
    font-size: 1.2em;
    color: black;
    font-family: 'Anton', sans-serif;
    font-weight: bolder;
    letter-spacing: 1px;
    margin-left: 15%;
}



.formulaire_contact{
    margin-top: 4%;
}

.input-form{
    display: flex;
    flex-direction: column-reverse;
    margin: 1.4em;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Montserrat', sans-serif;

}

.input_ctc, .label_ctc, .button_ctc{
    transition: all .3s;
}

.label_ctc{
    transform: translate(10px, -15px);
    cursor: text;
    transform-origin: left top;
    position: absolute;
}

.input_ctc{
    padding: 10px;
    border: none;
    outline: none;
    border-bottom: 2px solid grey;
}

.button_ctc{
    border: 0;
    padding: 10px 15px;
    cursor: pointer;
    color: white;
    background-color: #ff9234;
    font-family: 'Montserrat', sans-serif;
    margin-right: 15%;
    
}

.button_ctc:focus, .button_ctc:hover{
    background-color: #d92027;
}

.submit-form{
    text-align: right;
}

.input_ctc::placeholder {
    opacity: 0;
}

.input_ctc:focus,
.input_ctc:not(:placeholder-shown) {
    border-bottom: 2px solid red;
}

.input_ctc:not(:placeholder-shown) ~ .label_ctc,
.input_ctc:focus ~ .label_ctc {
    transform: translate(10px, -30px) scale(.8);
    padding-left: 0;
    color: black;
}

.text-area{
    text-align: center;
}
.message{
    resize: none;
    outline: none;
    width: 70%;
    height: 250px;
    min-height: 6em;
}


.return_ctc{
    color: red;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9em;
    margin-top: 5px;
}

#p_mail{
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9em;
    margin-top: 30px;
    margin-left: 15%;
    color: black;
}
#p_mail a{
    text-decoration: none;
    color: black;
}



.check_form_div{
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: small;
    display: flex;
}
.check_form_div label{
    float:left;
}

.check_form_div input{
    margin-right: 10px;
}

.h-captcha{
    margin-left: 15%;
    margin-top: 15px;
}

/* --------  FIN CONTACT  --------- */



@media (orientation: portrait) {

    #titre{
        font-size: 10em;
    }

    .btn2{
        display: none;
    }
    .btn{
        display: none;
    }

    .iframe_ytb{
    width: 160px;
    height: 90px;
    }

  }