*{
    margin: 0px;
    padding: 0px;
}

body{
    background-color: rgb(240, 240, 240);
}

.navbar{

    background-color: #ffffff;
    background-color: #ece8e2;
    background-color: #6d675f;
    /* background-color: #9c8e80; */
    z-index: 200;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    font-family: "Space Grotesk", sans-serif;
}

.navbar-brand{
    transition: 0.5s;
}

.navbar-brand:hover{
    opacity: 0.7;
}

.nav-item{
    margin-left: 20px;
    margin-right: 20px;
}

.nav-link{
    font-size: large;
    padding: 10px;
    border-bottom: solid rgba(255, 255, 255, 0);
    transition: 0.6s;
    color: rgb(255, 255, 255);
}

.nav-link i{
    font-size: larger;
}

.nav-link:hover{
    color: rgb(255, 211, 67);
    /* border-bottom: solid rgb(255, 230, 87) 2px; */
}

.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

body{
    font-family: "Space Grotesk", sans-serif;
}

main{
    opacity: 0;
    transition: opacity 0.9s ease;
}

body.loaded main{
    opacity: 1;
}

.banner {
    margin-top: 102px;
    width: 100%;
    height: 350px;
    background:
    linear-gradient(to top, rgba(240, 240, 240, 1), rgba(240, 240, 240, 0)),
    url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    gap:150px;
    justify-content: center;
    align-items: center;
}

.banner_title{
    width: fit-content;
    height: fit-content;
    max-width: 90%;
    text-align: left;

    transform: translateX(-50px);
    transition: ease 0.9s;
}

.banner_2 {
    margin-top: 102px;
    width: 100%;
    height: 250px;
    background:
    linear-gradient(to top, rgba(240, 240, 240, 1), rgba(240, 240, 240, 0)),
    url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    gap:150px;
    justify-content: center;
    align-items: center;
}

.banner_2 h1{
    font-size: 19px;
}

.banner_2 h2{
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    color: rgb(0, 0, 0);
}

body.loaded .banner_title{
    transform: translateX(0px);
}

.banner h1{
    font-size: 19px;
}

.banner h2{
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    color: rgb(0, 0, 0);
}

.link-container {
    position: relative;
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.link {
    text-decoration: none;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 2px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.link-blue {
    background-color: rgb(44, 44, 204);
}

.link-blue:hover {
    background-color: #ffb400;
    color: white;
}

.link-gray {
    background-color: #666360;
}

.link-gray:hover {
    background-color: #333;
    color: white;
}




.title_middle{
    margin-top: 25px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.three_cards{
    margin-top: 40px;
    display: flex;
    gap: 140px;
    /* max-width: 90%; */
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.a_card{
    height: 300px;
    width: 300px;
    height: fit-content;
    background-color: transparent;
    text-align: center;

    /* border-radius: 5px;
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); */
}

.a_card i{
    font-size: 40px;
    margin-bottom: 15px;
    color: #0d2988;
}

.a_card i:hover{
    color: #ffb400;
}

.a_card h3{
    margin-bottom: 15px;
}

.a_card p{
    text-align: justify;
    font-size: large;
}

.a_card a{
    text-decoration: none;
    text-decoration: underline;
    color: #0d2988;
}

#card_1{
    transform: translateY(150px);
    transition: ease 0.9s;
}

body.loaded #card_1{
    transform: translateY(0px);
}

#card_2{
    transform: translateY(200px);
    transition: ease 1.2s;
}

body.loaded #card_2{
    transform: translateY(0px);
}

#card_3{
    transform: translateY(250px);
    transition: ease 1.5s;
}

body.loaded #card_3{
    transform: translateY(0px);
}

.devis{
    margin-top: 60px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    transform: translateY(180px);
    transition: ease 1s;
}

body.loaded .devis{
    transform: translateY(0px);
}

.link-devis {
    text-decoration: none;
    background-color: #ffb400;
    padding: 10px 30px;
    border-radius: 2px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.link-devis:hover {
    background-color: #df9c00;
    color: white;
}


/* ---------------- */
/*Page contact*/

.contact_container{
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    margin-top: 200px;
    margin-bottom: 110px;

    transform: translateY(100px);
    transition: ease 0.9s;
}

body.loaded .contact_container{
    transform: translateY(0px);
}

.contact_div{
    width: 400px;
    font-size: large;
    margin-left:20px;
    margin-right:20px;
}

.contact_div a{
    text-decoration: none;
    color: #030413;
}

.contact_div a:hover{
    color: #1d215a;
}

.logo_contact{
    width: 400px;
}

.formulaire_contact {
    background-color: #fff;
    padding: 20px 30px;
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    resize: none;
}

.form-group textarea {
    height: 220px;
}


.form-group.inline {
    display: flex;
    justify-content: space-between;
}

.form-group.inline .form-field {
    width: 48%;
}

.formulaire_contact button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #ffb400;
    color: white;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.formulaire_contact button:hover {
    background-color: #d69600;
} 

.success_msg{
    color:#28a745;
    font-size: large;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    font-weight: bold;
}

.error_msg{
    color:#a02020;
    font-size: large;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    font-weight: bold;
}

/* SERVICES */

.accordion-flush{
    /* margin-top: 20px; */
    margin-bottom: 100px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    transform: translateY(70px);
    transition: ease 0.9s;
}

body.loaded .accordion-flush{
    transform: translateY(0px);
}

.accordion-button{
    font-size: 23px;
}

.accordion-button i{
    margin-right: 15px;
}

.accordion-body{
    font-size: 18px;
    text-align: justify;
}

/* --- PROJETS --- */

.projets{
    margin-top: 30px;
    width:fit-content;
    margin-left: auto;
    margin-right: auto;
    display:flex;
    gap:100px;
    transform: translateX(70px);
    transition: ease 0.9s;
}

body.loaded .projets{
    transform: translateY(0px);
}

.a_project{
    height: 300px;
    width: 300px;
    background-color: #ffffff6c;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: 5px;
    transition: ease 0.9s;
    /* box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.2); */
}

.a_project img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform ease 0.5s;
}

.a_project:hover img {
    transform: scale(1.05);
}

.mentions{
    width: 80%;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
}

/* --- FOOTER --- */

.dp_footer{
    background-color: #333;
    background-image : url('../img/background_2.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    width: 100%;
    padding-top: 25px;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.4);
    font-family: "Space Grotesk", sans-serif;
    margin-top: 80px;
}

.dp_footer hr {
    width: 70%;
    margin: auto;
}

.dp_footer_container{
    width:fit-content;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.dp_footer_section{
    margin-left: 20px;
    margin-right: 20px;
}

.dp_footer_section a{
    color: #fff;
    text-decoration: none;
}

.dp_footer_section a:hover{
    text-decoration:underline;
}

.dp_footer_section i{
    margin-right: 15px;
}

.dp_footer_copyright{
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 20px;
    padding-top: 20px;
    font-size: small;
    text-align: center;
}

@media (max-width: 900px) {

    /* --- BANNER --- */

    .banner_image{
        display: none;
    }

    .banner_title{
        text-align:center;
    }

    .link-container {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .three_cards{
        flex-direction: column;
        gap: 30px;
    }


    .contact_container{
        flex-direction: column;
        margin-top: 100px;
        margin-bottom: 50px
    }

    .logo_contact{
        display: none;
    }

    .contact_div{
        width: 90%;
        font-size: large;
        margin-left: auto;
        margin-right: auto;
    }

    /* --- PROJETS --- */

    .projets{
        width:95%;
        flex-direction: column;
    }

    .a_project{
        height: 300px;
        width: 300px;
    }

    /* --- FOOTER --- */

    .dp_footer_container {
        flex-direction: column;
    }

    .dp_footer_section {
        margin-bottom: 15px;
    }
}

