body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background: #dacbb2;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header .logo img {
    max-width: 150px;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

main {
    padding: 2rem;
    text-align: center;
}

main img {
    max-width: 50%;
    height: auto;
    margin-top: 1rem;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

footer {
    background: #2f1b15;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: relative;
}

footer a {
    display: inline-block;
    margin-top: 0.5rem;
}

footer a img.social-logo {
    width: 65px; /* Taille du logo */
    height: auto;
    transition: transform 0.3s ease;
}

footer a img.social-logo:hover {
    transform: scale(1.1); /* Animation au survol */
}
form {
    max-width: 500px; /* Largeur maximale du formulaire */
    margin: 0 auto; /* Centrer le formulaire horizontalement */
    padding: 1rem;
    background: #f9f9f9; /* Couleur de fond du formulaire */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: #371d11;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #ddd;
}

.social-media a {
    display: inline-block;
    margin: 0 10px; /* Espacement entre les logos */
    transition: transform 0.3s ease;
}

.social-media img {
    width: 30px; /* Taille des logos */
    height: 30px; /* Taille des logos */
    object-fit: contain; /* Conserver le ratio de l'image */
}

.social-media a:hover {
    transform: scale(1.1); /* Agrandir légèrement au survol */
}

.form-group {
    margin-bottom: 1.5rem; /* Espacement entre les champs */
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

input, textarea {
    width: 100%; /* Champs prennent toute la largeur */
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Inclure les bordures dans la largeur */
}

textarea {
    resize: vertical; /* Autoriser le redimensionnement vertical uniquement */
}

button {
    display: block;
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

.g-recaptcha {
    display: flex;
    justify-content: center; /* Centrer le CAPTCHA */
}
/* Styles pour la popup */
.popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    font-size: 16px;
    color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: fadeIn 0.3s ease, fadeOut 0.3s ease 0.7s;
}

.popup.success {
    background-color: #4caf50; /* Vert pour succès */
}

.popup.error {
    background-color: #f44336; /* Rouge pour erreur */
}

/* Animation d'apparition et de disparition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* Styles pour la timeline */
.timeline {
    position: relative;
    margin: 2rem auto;
    padding: 1rem;
    max-width: 800px;
    border-left: 3px solid #007bff; /* Ligne verticale */
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: bold;
    color: #007bff; /* Couleur de la date */
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timeline-content h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 1rem;
    color: #333;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.6rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    background: #007bff; /* Point sur la timeline */
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 3px #007bff;
}