html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: roboto, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

#hamburger {
    display: none;
    width: 1.5rem;
    padding: 1rem;
    padding-right: 2rem;
}

.error {
    color: red;
}

.hamburgerHidden {
    display: none !important;
}

.showClose {
    display: none;
}

:root {
    --grey: #565656;
    --green: #4a5856;
}

h2 {
    font-size: 3rem;
    color: v;
    align-self: flex-start;
    color: var(--grey);
}

h3 {
    font-size: 1.6rem;
    color: var(--grey);
    margin-bottom: 0.3rem;
}

p {
    font-size: 16px;
    margin: 0;
    line-height: 2rem;
}

.services_block {
    width: 45%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
}

.services_block p strong {
    color: var(--grey);
}

.services_block img {
    width: 100%;
    height: 30rem;
    object-fit: cover;
}

.container {
    padding-top: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#close {
    width: 1.3rem;
    padding: 1rem;
    padding-right: 2rem;
    display: none;
}

.services_wrapper {
    display: flex;
    flex-direction: row;
    column-gap: 3rem;
    row-gap: 5rem;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: baseline;
}

header {
    height: 6rem;
    position: fixed;
    width: 100vw;
    z-index: 999;
    background-color: white;
    top: 0;
    border-bottom: 2px solid #DADADA;
    display: flex;
    justify-content: flex-end;
}

#hero {
    height: 100vh;
    min-height: 60rem;
    background-color: grey;
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
    object-fit: cover;
    overflow-clip-margin: content-box;
    overflow: clip;
    grid-area: 1 / 1 / 2 / 3;
}

#hero_shade {
    height: 100%;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.57) 6%, rgba(0, 0, 0, 0) 65%);
    z-index: 8;
    grid-area: 1 / 1 / 2 / 3;
}

.square {
    width: 33.33%;
    background-color: var(--grey);
    aspect-ratio: 1 / 1;
    background-size: cover;
}

.inner_square {
    height: 100%;
    transition: opacity 0.2s;
    opacity: 0;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0.65) 100%);
    align-items: flex-end;
    display: flex;
    justify-content: center;
}

.inner_square:hover {
    opacity: 1;
}

#square_1 {
    background-image: url(/assets/img/212686911_3076005172634921_2047112414248428305_n.jpg);
}

.square_text {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    width: 80%;
    text-align: center;
}

#square_3 {
    background-image: url(/assets/img/street.png);
}

#square_2 {
    background-image: url(/assets/img/terrace.png);
}

.square_space {
    width: 100vw;
    display: flex;
    flex-wrap: wrap;
}

.successmessage {
    width: 100%;
}

.failmessage {
    width: 100%;
}

.successmessage p {
    color: green;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: left;
}

.failmessage p {
    color: red;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: left;
}

#square_4 {
    background-image: url(/assets/img/piscine_1.jpeg);
}

#square_5 {
    background-image: url(/assets/img/carport.png);
}

#square_6 {
    background-image: url(/assets/img/allee_de_jardin.jpg);
}

#square_7 {
    background-image: url(/assets/img/cuisine.png);
}

#square_8.square {
    background-image: url(/assets/img/piscine_2.jpg);
}

#square_10 {
    background-image: url(/assets/img/mur.png);
}

#square_9 {
    background-image: url(/assets/img/maison.webp);
}

.membre_equipe {
    width: 15rem;
}

.equipe {
    background-color: var(--grey);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 5rem;
}

.equipe_innercontianer {
    background-color: white;
    min-height: 10rem;
    width: 90%;
    padding: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.membre_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 8rem;
    row-gap: 7rem;
    width: 85%;
    margin-top: 5rem;
}

.nom_equipe {
    text-align: center;
    font-weight: bold;
    font-size: 2.3rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

.forminput {
    width: 100%;
    height: 1.5rem;
}

.form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.fiscalite {
    background-color: var(--grey);
    min-height: 30rem;
    margin-top: -1px;
    padding-top: unset;
    padding-bottom: 5rem;
}

.title_fiscalite {
    color: white;
}

.text_fiscalite {
    column-count: 2;
    color: white;
}

.contact {
    background-color: black;
    padding-bottom: 10rem;
    flex-direction: column;
}

title_contact {
    color: white;
}

.form_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form_wrapper {
    width: 50%;
}

.form_fields_grouping {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.contact_row {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.contact_row p {
    font-size: 1rem;
}

.contact_details_title {
    margin-top: 3rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 2rem;
}

.contact_detail_label {
    font-size: 1.4rem !important;
    font-weight: bold;
    min-width: 7rem;
}

.header_container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 3rem;
    width: 100%;
    justify-content: space-between;
    z-index: 998;
}

ul {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.header_logo {
    height: 80%;
    margin-left: 8rem;
}

.mobileMenuOpen {
    display: none;
}

#mobile_menu {
    background-color: white;
    align-items: center;
    width: 45%;
    display: none;
    position: fixed;
    z-index: 5;
    margin-top: 6rem;
    justify-content: center;
    box-shadow: 0 0 48px -10px rgba(0, 0, 0, 0.13);
    display: none;
}

#mobile_menu ul {
    flex-direction: column;
    gap: 3rem;
}

#mobile_menu ul li {
    text-align: center;
    width: 100%;
}

.contact_box {
    height: 100%;
    width: 30rem;
    background-color: grey;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact_row a {
    text-decoration: none;
    color: white;
}

.contact_row a:hover {
    text-decoration: underline;
}

.menu {
    width: 55%;
}

.menu ul {
    display: flex;
    list-style-type: none;
    gap: 2rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.menu ul li {
    font-size: 1.2rem;
    font-weight: 200;
}

.menu ul li a {
    transition: color 0.2s;
    text-decoration: none;
    color: var(--grey);
}

.menu ul li a:hover {
    color: var(--green);
}

#traitment {
    background-color: var(--grey);
    display: flex;
    flex-direction: column;
    gap: 8rem;
    margin-bottom: -1px;
}

.maxwidth {
    max-width: 1420px;
    margin-left: 5rem;
    margin-right: 5rem;
}

.realisation_title {
    width: 100%;
}

.inputfield {
    width: 47%;
    margin-right: 2%;
}

.label {
    color: white;
}

.textarea_container {
    width: 100%;
}

.textarea {
    width: 98%;
    min-height: 15rem;
}

.footer_logo {
    width: 18rem;
}

.contact_info_footer {
    color: white;
    margin-top: 8rem;
}

.contact_footer_innercontainer {
    display: flex;
    flex-direction: column;
    gap: 1.65rem;
}

.traitment_part {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.part_left {
    width: 75%;
}

.part_left h2 {
    color: white;
    font-size: 1.8rem;
}

.part_left p {
    color: white;
}

.part_image {
    width: 20rem;
    object-fit: cover;
    min-height: 25rem;
}

.contact_box_row {
    gap: 2rem;
    color: white;
    display: flex;
    align-items: center;
}

.contact_box_row p {
    min-width: 4rem;
    font-weight: bold;
}

.contact_box_row a {
    text-decoration: none;
    color: white;
    cursor: pointer;
    transition: color 0.2s;
}

.contact_box_row a:hover {
    text-decoration: underline;
}

.membre_image {
    width: 15rem;
    height: 15rem;
    object-fit: cover;
}

#contact h2 {
    color: white;
}

.traitment_part_reverse {
    flex-direction: row-reverse;
}

.equipre_descr {
    font-size: 0.8rem;
    line-height: 1rem;
    text-align: justify;
}

.equipe_title {
    text-decoration: underline;
    text-align: center;
    margin-bottom: 1rem;
}

.equipe_logo {
    height: 32rem;
}

.equipe_logo_container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero_image {
    width: 15%;
    max-width: 28rem;
    min-width: 20rem;
}

#square_12 {
    background-image: url('/assets/img/Scherm­afbeelding 2024-09-24 om 12.17.08.png');
}

#square_11 {
    background-image: url('/assets/img/279269286_163639192749659_4235546222773083534_n.webp');
}

@media screen and (max-width: 1680px) {
    .menu {
        display: none;
    }

    .mobileMenuOpen {
        display: unset !important;
    }

    .showClose {
        display: unset !important;
    }

    .membre_wrapper {
        justify-content: center;
    }

    #hamburger {
        display: unset;
    }

    .contact_box {
        display: none;
    }
}

@media screen and (max-width: 960px) {
    .services_wrapper {
        flex-direction: column;
    }

    .form_wrapper {
        width: 100%;
    }

    .form_container {
        flex-direction: column;
        gap: 4rem;
    }

    .part_left {
        width: 100%;
    }

    .part_image {
        height: 20rem;
        min-height: unset;
    }

    .traitment_part {
        align-items: center;
        flex-direction: column-reverse !important;
    }

    .services_block {
        width: 100%;
    }

    .hero_image {
        width: 45%;
    }

    .square {
        width: 50%;
    }

    .square_text {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

@media screen and (max-width: 650px) {
    .text_fiscalite {
        column-count: unset;
    }

    .contact_row {
        flex-direction: column;
    }

    .contact_footer_innercontainer {
        gap: 4rem;
    }

    #mobile_menu {
        width: 102%;
        padding: 0;
    }
}

@media screen and (max-width: 450px) {
    .square {
        width: 100%;
    }

    .equipe_innercontianer {
        width: 100%;
    }

    .equipe {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .header_logo {
        margin: 0;
    }
}

.submitbutton {
    background-color: white;
    font-size: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
    vertical-align: middle;
    transition: color 0.2s, background-color 0.2s;
}

.submitbutton:hover {
    background-color: var(--grey);
    color: white;
}

.submitcontainer {
    width: 100%;
}

#hero_container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: 100%;
}

.uppercase {
    text-transform: uppercase;
}





