body {
    font-family: 'Arial', sans-serif; 
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
    font-family: "Inter", sans-serif;
}
/* En-tête */
header {
    background: white; 
    padding: 10px 20px;
    text-align: center;
    height: 5vh;
    display: flex;
    align-items: center; 
}
header h1{
    width: 25vw;
    margin-left: 5vw;
    color: black;
}
nav ul {
    margin-left: 40vw;
    width: 25vw;
    display: flex;
    justify-content: space-between; 
    list-style: none; 
    padding: 0;
}
nav ul li {
    display: inline; 
    margin-right: 10px;
}
nav ul li a {
    text-decoration: none; 
    color: black;
}
.hamburger-menu {
    display: none; 
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}
/* sections principales */
main {
    padding: 0px;
    margin-top: 0px;  
}
/* Premiere partie */
.contact-module {
    position: relative;
    background-image: url('../Images/formulaireFond.png'); 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.contact-module::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}
.contact-form {
    position: relative;
    z-index: 2; 
    max-width: 600px; 
    margin: auto;
    padding: 2em;
    box-sizing: border-box;
}
.contact-form h2 {
    color: white;
    text-align: center;
    font-size: 3em;
}
.input-group {
    margin-bottom: 1em;
}
.input-group label {
    display: block;
    margin-bottom: 0.5em;
    color: #ffffff;
    font-family: "Inter", sans-serif;
}
.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1em;
    border-radius: 10px;
    color: black;
    border: 1px solid #ccc;
    font-family: "Inter", sans-serif;
}
.input-group textarea{
    min-height: 7vh;
}
button[type="submit"] {
    background-color: #3A6E8C;
    color: white;
    width: 20%;
    margin-left:40%;
    padding: 0.5em 1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
button[type="submit"]:hover {
    background-color: white;
    color: #3A6E8C;
}
/* Page 2 */
#partie2{
    display: flex;
    justify-content: space-around; 
    align-items: center;
    height: 70vh;
}
#part1{
    margin-left: 5vw;
}
#partie2 h2{
    font-size: 3em;
    color: #3A6E8C;
}
#partie2 iframe{
    height: 60vh;
}
/* Pied de page */
footer {
    background: #3A6E8C;
    color: #ffffff;
    text-align: center;
    height: 20vh;
    width: 100%;
    display: flex;
    justify-content: space-around; 
    align-items: center;
}
footer div{
    width: 20vw;
    height: 18vh;
}
.btn3 {
    display: inline-block; 
    padding: 10px 20px;
    margin: 2px; 
    background-color: white; 
    color: #3A6E8C; 
    text-align: center; 
    text-decoration: none; 
    font-weight: bold; 
    border-radius: 5px; 
    transition: background-color 0.3s, transform 0.2s; 
}
@media (max-width: 1068px) {
    header h1{
        font-size: 1em;
        width: 75%;
        text-align: left;
    }
    nav ul {
        display: none; 
        flex-direction: column;
        width: 100%;
        background: white;
        transition: all 0.3s;
        position: absolute;
        top: 5vh; 
        left: 0;
        margin: 0;
        padding: 0;
        z-index: 5;
    }
    nav ul li {
        text-align: center; 
        padding: 10px 0;
        width: 100%; 
    }
    nav ul li a {
        display: block;
    }
    .hamburger-menu {
        display: block;
    }
    .contact-module {
        width: 100%;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }
    .contact-form h2 {
        font-size: 2em;
    }
    .input-group input,
    .input-group textarea {
        width: 90%;
    }
    button[type="submit"] {

        width: 30%;
        margin-left: 35%;
    }
    #partie2{
        height: 100vh;
        width: 100vw;
        overflow: hidden;
        flex-wrap: wrap;
    }
    #part1{
        margin-left: 5vw;
        width: 90vw;
    }
    #partie2 h2{
        font-size: 2em;
    }
    #partie2 iframe{
        width: 80vw;
        height: 500px;
    }
    footer {
        height: 25vh;
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
    }
    footer div{
        width: 45vw;
        height: 9vh;
        font-size: 0.6em;
    }
    .btn3 {
        font-size: 0.7em;
    }
}