body{
    margin: 0;
    padding: 0;
    font-family: 'Libre Baskerville', serif;
    scroll-behavior: smooth;
    height: 100%;
}

.menu-button {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
    cursor: pointer;
    padding: 5px;
    background-color: #333333;
    color: #ffffff;
    font-size: 16px;
}

.menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #dddddd;
    z-index: 999;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu li {
    margin-bottom: 10px;
}

.menu a {
    text-decoration: none;
    color: #333333;
    font-size: 16px;
}

.menu-button.active + .menu {
    display: block;
}

.navbar {
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 11px;
    padding-bottom: 11px;
    z-index: 999;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.navbar li {
    margin-right: 15px;
    margin-left: 15px;
}

.navbar a {
    text-decoration: none;
    color: #333333;
    font-size: 16px;
}

section {
    padding-left: 50px;
    padding-right: 50px;
    display: inline-flex;
    flex-direction: column;
}

#section1 {
    height: calc(100vh - 105px);
    width: calc(100vw - 100px);
    padding-top: 150px;
    background-image: url(src/house_background.jpg);
    background-size: cover;
    color: white;
}

.le_titre{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.description-text{
    font-size: 26px;
    margin-bottom: 20px;
}
.acroche-text{
    font-size: 16px;
    font-style: italic;
    margin-bottom: 20px;
}

#section2 {
    background-color: #FBFAF8;
    display: inline-flex;
    flex-direction: column;
}

.lien_PEB{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.certificat-text{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    font-size: 16px;
}

.certificat-text-elm{
    background-color: #BDC0B9;
    flex: 1;
    padding: 36px;
    display: flex;
    flex-direction: row;
}
.certificat-image{
    display: inline-flex;
    flex: 1;
    margin-top: 10px;
    margin-bottom: 30px;
    position: relative;
}

.image-certificat{
    width: 100%;
    height: auto;
    object-fit: contain;
}

#section3 {
    background-color: #BDC0B9;
    color: #333333;
    width: calc(100vw - 100px);
}
.section3-elm{
    display: inline-flex;
    flex-direction: row;
}

.profile_photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.visite-image{
    height: 100%;
    overflow: hidden;
    position: relative;
}

.visite-text{
    padding-right: 0px;
    display: inline-flex;
    flex-direction: column;
    font-size: 16px;
}

.visite-text-elm1{
    width: calc(100vw - 150px);
    background-color: #FBFAF8;
    flex: 1;
    padding: 24px;
    margin-bottom: 10px;
}

.visite-text-elm2{
    background-color: #FBFAF8;
    flex: 1;
    padding: 24px;
    margin-bottom: 30px;
}

.document-text{
    background-color: #FBFAF8;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    margin-bottom: 20px;
    padding: 20px;
}

.un-document{
    display: flex;
    flex-direction: row;
}

#section4 {
    background-color: #F1F1F1;
    display: flex;
    flex-direction: row;
}

.prix_info{
    margin-right: 50px;
    width: 50%;
    padding-bottom: 120px;
}

.prix_maps{
    position: absolute;
    top: 0;
    bottom : 0;
    width: 60%;
}

#section5 {
    color: white;
    background-color: #3F565E;
    display: flex;
    flex-direction: row;
    margin-right: 0;
    padding-right: 0;
    padding-bottom: 120px;
}



.contact-info{
    padding-right: 50px;
    width : 50vh;
}

.un-contact{
    display: flex;
    margin-bottom: 24px;
}


.contact-form{
    width: 50%;
    padding-right: 50px;
}

h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

h2 {
    font-size: 36px;
    margin-top: 60px;
    margin-bottom: 60px;
}

p {
    margin: 0;
    font-size: 16px;
}

input{
    font-size: 16px;
    font-family: 'Libre Baskerville', serif;
    background-color: #F1F1F1;
}

textarea {
    font-size: 16px;
    font-family: 'Libre Baskerville', serif;
}

.icon{
    width: 20px;
    height: 20px;
    margin-right: 15px;
}

.icon2{
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

.contact-button {
    display: flex;
    flex-direction: row;
    width: 120px;
    padding: 10px;
    background-color: white;
    color: #333333;
    border: none;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #555;
}

.round-border img {
    display: block;
    width: 200px;
    height: 200px;
    object-fit: cover;
}

fieldset{
    border: none;
    padding: 0;
}

input{
    border: none;
    width: 100%;
    height: 30px;
    margin-bottom: 10px;
}
textarea{
    border: none;
    width: 100%;
    height: 90px;
    margin-bottom: 10px;
}

.soumettre-btn{
    border-style: none;
    width: 33%;
    height: 30px;
    background-color: white;
    transition: background-color 0.3s ease;
}

.contact-button {
    display: flex;
    flex-direction: row;
    width: 120px;
    padding: 10px;
    background-color: white;
    color: #333333;
    border: none;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

@media (max-width: 768px) {

    .menu-button {
        display: block;
    }

    .navbar ul {
        display: none;
    }

    .menu-button.active + .menu {
        display: block;
    }

    .menu ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    section {
        padding-left: 20px;
        padding-right: 20px;
    }

    #section1{
        width: calc(100vw - 40px);
    }

    .certificat-text{
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .certificat-text-elm{
        margin-bottom: 10px;
    }

    .certificat-image{
        margin-top: 0;
    }

    .section3-elm{
        display: flex;
        flex-direction: column;
    }

    .visite-text-elm1{
        margin-right: 20px;
        width: 100%;
    }
    .visite-text-elm2{
        width: 100%;
    }


    #section4{
        display:inline-flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .prix_info{
        margin-right: 50px;
        width: 100%;
        padding-bottom: 120px;
    }

    .prix_maps{
        position: absolute;
        height: 400px;
        width: 100%;
        padding-bottom: 30px;
    }


    #section5 {
        display:flex;
        flex-direction: column;
    }
    .contact-info{
        width : 100%;
        padding-right: 0;
    }

    .contact-form{
        width: 100%;
        padding-right: 0;
    }

}