header {
    position: sticky;
    top: 0;
    margin-bottom: 2rem;    
    font-size: 1.5rem;
    font-weight: bold;
    background-color: rgb(193, 144, 76);
    padding: 0.5rem 1rem;
    box-shadow: 0 0.1rem 0.6rem rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#logo {
    height: 3rem;
    margin: 0;
    border-radius: 0.5rem;
    transition: transform 0.3s ease; 
}

#logo:hover {
    transform: scale(1.05); 
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

nav a.border {
    color: black;
    text-decoration: none;
    padding: 0.1875rem 0.3125rem;
    border-radius: 0.1875rem;
    transition: background 0.3s, color 0.3s;
}

nav a.border:hover {
    background-color: #fff;
    color: rgb(193, 144, 76);
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: url('../IMAGES/fond.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding-left: 1rem; 
    padding-right: 1rem; 
    line-height: 1.6; 
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.95);
    max-width: 31.25rem;
    margin: 3.75rem auto;
    padding: 2.5rem 2.5rem 2.5rem 3.75rem;
    border-radius: 0.625rem;
    box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.15);
}

.contact-form label {
    display: block;
    text-align: left;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.5rem; 
    margin-bottom: 0.5rem;
    border: 0.1rem solid #ccc;
    border-radius: 0.5rem;
}

.contact-form textarea {
    resize: vertical;
    height: 9.375rem; 
}


.contact-form button {
    background-color: rgb(193, 144, 76);  
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 0.4rem;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-form button:hover {
    background-color: rgb(220, 165, 90); 
    transform: scale(1.03);
}

footer {
    margin-top: 3rem;
    padding: 1rem;
    background-color: rgb(193, 144, 76);
    color: #000;
    font-weight: bold;
    text-align: center;
    border-radius: 0.5rem 0.5rem 0 0;
}

.form-group {
    margin-bottom: 15px;
}

@media (max-width: 44rem) { 
    .contact-form {
        padding: 1.875rem 1.25rem 1.875rem 1.25rem;
        max-width: 100%;
    }

    .contact-form button {
        width: 100%;
    }

     header { 
        text-align: center; 
    } 
    header nav { 
        flex-direction: column; 
        align-items: center; 
    } 
   #logo { 
        margin: 0 auto 1rem auto; 
        display: block; 
    } 
    nav ul { 
        flex-direction: column; 
        align-items: center; 
        gap: 0.5rem; 
    } 
    
    nav a.border { 
        display: inline-block; 
        margin: 0.2rem 0; 
    } 
}




