body {
    background: linear-gradient(to right, #f4e9d8 50%, rgba(51, 36, 4, 0.45) 50%);
}

.content-container {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.contact-container {
    padding: 20px;
    border: 1px solid #000;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    margin-right: 0;
    width: 100%;
    max-width: 500px;
    position: absolute;
    right: calc(10vw + 50px); 
    top: calc(10vh + 150px);  
}

#myForm {
    width: 100%;
    max-width: 450px;
    padding-top: 50px;
    padding-left: 50px;
    margin-right: 150px;
}

h2 {
    text-align: center;
    color: #000;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #000;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    color: #000;
}

textarea {
    resize: none;
}

button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #989995;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: #7f7f7b;
    transition: all ease 0.5s;
}

h1, h3 {
    display: none;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    body {
        background: #f4e9d8;
    }
    
    .content-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-container, .about {
        width: 80%;
        max-width: 100%;
    }
}

/* Ajustement pour écrans plus petits */
@media screen and (max-width: 1400px) {
    .contact-container {
        position: static;
        margin: 20px auto;
    }
}
