:root{
    --middle_blue : #2C2D7D;
    --dark_blue : #2e2b51;
    --very_dark_blue : #2e2b51;
    /*
    --middle_blue : #2C2D7D;
    --dark_blue : #2e2b51;
    --very_dark_blue : #2e2b51;
    */
}

::selection{
    background-color: #EA546A;
    color: #fff;
}
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    color: var(--dark_blue);
}
/* Debut Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 0 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: 80px;
}
.navbar .logo {
    color: var(--dark_blue);
    font-weight: 600;
    font-size: 1.2rem;
    text-decoration: none;
    position : absolute;
    vertical-align: middle;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}
.navbar ul {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin : auto;
}
.navbar ul li {
    list-style: none;
    margin-left: 2rem;
}
.navbar ul li a {
    text-decoration: none;
    color: var(--dark_blue);
    font-weight: 600;
    font-size: 1rem;
    padding: 20px;
}
.navbar ul li a:hover {
    border-bottom: 2px solid #EA546A;
}
.navbar .logo img {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
}
.dropdown{
    position: relative;
    display: inline-block;
}
.dropdown_content{
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    margin-top: 20px;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin-left: -20px;
}
.dropdown_content a{
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #a5a5a52b;
}
.dropdown_content a:hover{
    background-color: #f1f1f1;
}
.dropdown:hover .dropdown_content{
    display: block;
}
/* Fin Navbar*/

/* Début navbar responsive */
.navbar_responsive {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    text-transform: uppercase;
    position: fixed;
    width: 90%;
    height: 80px;
    z-index: 100;
    padding :5%;
    display: none;
    box-sizing: initial;
}
.navbar_responsive .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2e2b51;
    font-size: 1em;
    font-weight: 700;
}
.navbar_responsive .logo img {
    width: 50px;
    margin-right: 10px;
}
.navbar_responsive ul {
    display: none;
}
.dropdown_responsive_button {
    font-size: 2em;
    cursor: pointer;
}
.dropdown_responsive {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 100;
}
.dropdown_content_responsive {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    margin-top: 20%;
}
.dropdown_content_responsive a {
    margin: 20px;
    font-size: 1em;
    line-height: 1em;
    text-decoration: none;
    color: var(--dark_blue);
}
.dropdown_content_responsive a:hover {
    color: #1b1975;
}

/* Fin navbar responsive */


/* Debut Home page */
.home_section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}
.home_title{
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 500;
}
.home_bloc_text{
    font-size: 1.9em;
}
.first_letter_color{
    color: #EA546A;
}
.home_images{
    display: flex;
    width: 100%;
    justify-content: end;
    margin-top: 2%;
}
.home_images div{
    height: 400px;
    width: 40%;
    border-radius: 5px;
    box-shadow: 4px 4px 20px rgb(143 143 143);
    background-size: cover;
    background-position: center;
}
.home_image_left{
    margin-top: 15%;
    background-image: url("../assets/img/v2.jpg");
}
.home_image_right{
    margin-left: 30px;
    background-image: url("../assets/img/entreev2.jpg");
}
.home_redir{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: wrap;
    margin-top: 50px;
    margin-bottom:5%;
}
.home_redir a{
    text-decoration: none;
    color: #FFF;
    font-size: 1em;
    font-weight: bold;
    margin: 10px;
    padding: 10px 20px;
    border: 1px solid #EA546A;
    border-radius: 5px;
    background-color: #EA546A;
}
.home_redir a:hover{
    transition: all 0.3s ease-in-out;
    background-color: #000;
    border: 1px solid #000;
    color: #fff;
}
/* Fin Home page */

/* Début réalisations */
.realisations_top{
    color: var(--dark_blue);
}
.title_page{
    margin-top: 100px;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
}
.text_page{
    font-size: 2rem;
    text-align: center;
}

.top_realisations{
    width: 90%;
    margin: auto;
    margin-top: 5%;
    color: var(--dark_blue);
}

.realisations_content{
    width: 90%;
    margin: 5% auto;
    display : flex;
    justify-content: space-between;
    height: 350px;
}
#realisations_left{
    width: 55%;
    height: 100%
}
#realisations_right{
    color: var(--dark_blue);
    width: 35%;
    height: 100%;
    margin : auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
}
.carousel-item{
    height: 100%;
}
.carousel-caption{
    background: #1a1a1a82;
    width: 100%;
    margin: auto;
    left: 0!important;
    bottom: 0!important;
    right: 0;
    padding: 2%;
    z-index: 10;
}
.carousel-inner{
    z-index: 10;
}
.carousel-control-prev, .carousel-control-next{
   z-index: 11;
}
#carouselExampleIndicators::before{
    position: absolute;
    content: "";
    width: 200px;
    height: 200px;
    background-color: #EA546A;
    left: -10px;
    right: 0;
    top: -10px;
    z-index: 1;
}
#carouselExampleIndicators::after{
    position: absolute;
    content: "";
    width: 200px;
    height: 200px;
    background-color: #EA546A;
    right: -10px;
    bottom: -10px;
    z-index: 1;
}
.carousel-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-control-prev-icon{
    background:none;
    width: 70px;
}
.carousel-control-prev-icon span svg{
    width: 100%;
    height: 100%;
    fill: #EA546A;
}

.carousel-control-prev-icon:hover span svg{
    fill: #fff;
}

/* Fin Réalisations */


/* Début Mentions légales */
.mentions_legales_content{
    width: 80%;
    margin: 2% auto;
}
.mentions_legales_content_top{
    margin-top: 5%;
}
/* Fin Mentions légales */

/* Début Services */
.services_content{
    width: 90%;
    margin: 5% auto;
    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: space-between;
    height: 350px;
    align-items: center;
}
.services_left{
    width: 40%;
    height: fit-content;
    background-color: white;
    position: absolute;
    z-index: 1;
}
.services_left::before{
    position: absolute;
    content: "";
    width: 200px;
    height: 200px;
    background-color: #EA546A;
    margin: -10px;
    z-index: 1;
}
.services_left::after{
    position: absolute;
    content: "";
    width: 200px;
    height: 200px;
    background-color: #EA546A;
    right: -10px;
    bottom: -10px;
    z-index: 1;
}
.services_text{
    z-index: 10;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
    padding: 2% 0%;
    background-color: white;
}
.services_text .services_title{
    padding:5% 0%;
}
.services_text p, .services_title{
    margin: 0% 5%;
}
.services_image{
    width: 50%;
    height: 100%;
    background-image : url("../assets/img/bourges_9.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    margin-left: 50%;
}
.services_selecteur{
    text-align: center;
}
.services_selecteur span{
   text-decoration: none;
   color: gray;
   font-size: 1em;
   padding: 0% 2%;
   cursor: pointer;
}
.services_selecteur span:hover,  .selected_a{
    color: #EA546A!important;
    font-weight: bold;
}
/* Fin Services */


/* Début construction */
.constructions_content{
    width: 90%;
    margin: 10% auto;
    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: space-between;
    height: 500px;
    align-items: center;
}
.constructions_left{
    width: 40%;
    height: fit-content;
    max-height: 100%;
    background-color: white;
    position: absolute;
    z-index: 1;
}
.constructions_left::before{
    position: absolute;
    content: "";
    width: 200px;
    height: 200px;
    background-color: #EA546A;
    margin: -10px;
    z-index: 1;
}
.constructions_left::after{
    position: absolute;
    content: "";
    width: 200px;
    height: 200px;
    background-color: #EA546A;
    right: -10px;
    bottom: -10px;
    z-index: 1;
}
.constructions_text{
    z-index: 10;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
    background-color: white;
}
.constructions_text .constructions_title{
    padding-top: 5%;
    
}
.constructions_text p{
    padding: 5% 0%;
}
.constructions_text p, .constructions_title{
    margin: 0% 5%;
}
.constructions_image{
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    margin-left: 50%;
    box-shadow: 0px 0px 18px 0px rgb(167 167 167);
    border-radius: 5px;
    border: 1px solid #dbdbdb;
}
.constructions_image_bloc_1{
    background-image : url("../assets/img/bourges_9.jpg");
}
.constructions_image_bloc_2{
    background-image : url("../assets/img/mazeres_2.jpg");
}
.constructions_image_bloc_3{
    background-image : url("../assets/img/3.jpg");
}
.constructions_image_switch_direction{
    margin-left: 0%;
    margin-right: 50%;
  }
.content_switch_direction{
    flex-direction: row-reverse;
}
/* Fin construction */

/* Début autres services */
.top_autres_servces, .autres_services_container {
    width: 90%;
    margin: 5% auto;
}
.autres_services_container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.autres_services_container .autre_services_bloc {
    width: 25%;
    margin: 1%;
    padding: 2%;
    box-shadow: 0px 0px 18px 0px rgb(167 167 167);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.autres_services_container div h2 {
    font-size: 1.2em;
    text-transform: uppercase;
}

.autres_services_container div p {
    text-align: justify;
    color: #555555;
}

.autres_services_redir {
    display: block;
    text-align: center;
    margin-top: 5%;
    padding: 2% 5%;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    text-decoration: none;
    border-radius: 5px;
    margin: 10% auto 0% auto;
    font-weight: bold;
}

.autres_services_redir:hover {
    background-color: #e74c3c;
    color: white;
}
/* Fin autres services */



/* Début Footer */
footer{
    width: 100%;
    height: 50px;
    background-color: #1a1a1a;
    display: flex!important;
    justify-content: center;
    align-items: center;
    color: white;
    margin-top: 10%;
    text-align: center;
}
footer a{
    color: white;
    text-decoration: none;
}
footer a:hover{
    color: #EA546A;
}
/* Fin Footer */

#envoyer{
    padding:0;
}

/* Début contact.php */
.contact_section{
    width: 80%;
    margin: 5% auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.contact_bloc_text{
    width:40%;
}
.contact_contact_bloc_form{
    width: 55%;
    border-left: 1px solid #bfbfbf;
}
.contact_contact_bloc_form form{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 70%;
    margin: auto;
}
.contact_contact_bloc_form p {
    text-align:center;
}
.contact_contact_bloc_form form input{
    height: 50px;
}
.contact_contact_bloc_form form input, .contact_contact_bloc_form form textarea{
    width: 100%;
    border-radius: 5px;
    outline: none;
    border: 1px solid #bfbfbf;
    padding: 20px;
    /*line-height: 2em;*/
    font-size: 1em;
    margin: 10px auto;
}
.contact_contact_bloc_form form input#envoyer{
    background-color: #EA546A;
    color: white;
    border: 2px solid #EA546A;
    cursor: pointer;
    width: 50%;
}
.contact_contact_bloc_form form textarea{
    height: 200px;
    font-size: 1.3em;
}
.contact_contact_bloc_form form input#envoyer:hover{
    background-color: white;
    color: #EA546A;
    border: 2px solid #EA546A;
}
.contact_coord{
    margin-top: 50px;
}
/* Fin contact.php */

/* Début responsive grands ecrans */
@media screen and (min-width: 1600px){
    .home_images div {
        height:550px;
        width: 35%;
    }
    .services_content{
        height:500px;
    }
    .realisations_content,.constructions_content{
        height: 550px;
    }
    .top_autres_servces, .autres_services_container {
        width: 80%;
    }
}
/* Fin responsive grands ecrans */


@media screen and (max-width:720px){
    .navbar_responsive{
        width: 90%;
        padding: 5%;
    }
}
/* Debut responsive / Mobile */
@media screen and (max-width: 1024px) {
    .navbar{
        display: none!important;
    }
    .navbar_responsive{
        display: flex;
        width: 96%;
        padding: 2%;
    }
    .navbar ul li a {
        font-size: 0.8rem;
    }
    .home_section{
        flex-direction: column-reverse;
    }
    .title_page{
        margin-top: 0;
        padding-top:150px;
    }
    .home_title{
        font-size: 3rem;
    }
    .home_bloc_text{
        font-size: 1.5rem;
    }
    .home_images{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 40%;
    }
    .home_images div{
        margin: 10px;
        width: 100%;
        height: 40vh;
        min-height: 400px;
    }
    .home_image_left{
        margin-top: 0;
    }
    .home_image_right{
        display:none;
    }
    .home_redir{
        margin-top: 50px;
    }
    .home_redir a{
        font-size: 1em;
        padding: 20px 60px;
    }
    .constructions_content{
        flex-direction: column!important;
        height: auto;
    }
    .constructions_left{
        width: 100%;
        height: auto;
        position: relative;  
        margin-bottom: 5%;
    }
    .constructions_left::before, .constructions_left::after{
        display: none!important;
    }
    .constructions_text p, .constructions_text h2{
        margin:0;
    }
    .constructions_image{
        width: 100%;
        height: 350px;
        margin-left: 0%;
        margin-right: 0%;
        position: relative;
    }
    .constructions_image_switch_direction{
        margin-left: 0%;
        margin-right: 0%;
    }
    .content_switch_direction{
        flex-direction: column!important;
    }
    /* Début autres services */
    .autres_services_container {
        flex-direction: column;
    }
    .autres_services_container .autre_services_bloc {
        width: 90%;
        padding: 5%;
        margin: 5% 0%;
    }
    .services_content{
        flex-direction: column;
        height:auto
    }
    .services_left{
        width: 100%;
        height: auto;
        position: relative;
        margin-bottom: 5%;
    }
    .services_left::before, .services_left::after{
        display: none!important;
    }
    .services_image{
        width: 100%;
        height: 500px;
        margin-left: 0%;
        margin-right: 0%;
        position: relative;
    }
    /* Fin autres services */ 

    /* Début Réalisations */
  
    .realisations_content{
        flex-direction: column!important;
        height: auto;
    }
    #realisations_left{
        width: 100%;
        height: auto;
        position: relative;
        margin-bottom: 5%;
    }
    #realisations_right{
        width: 100%;
        height: auto;
        position: relative;
        margin : 10% auto;
    }
    .carousel-item img {
        height: 300px;
    }
    #carouselExampleIndicators::before, #carouselExampleIndicators::after{
        display: none!important;
    }
    .realisations_left::before, .realisations_left::after{
        display: none!important;
    }
    footer{
        display: none;
    }
    /* Fin Réalisations */
    
    /* Début Contact.php */
    .contact_section{
        flex-direction: column;
        text-align: center;
    }
    .contact_contact_bloc_form{
        width: 100%;
        border: none;
        margin: 10% 0%;
    }
    .contact_bloc_text{
        width: 100%;
        padding: 0;
    }
    .contact_contact_bloc_form form{
        width: 100%;
    }
    /* Fin Contact.php */

    /* Début service  */
    .services_selecteur span{
        font-size: 0.8em;
    }
    /* Fin service  */
}
