/* style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #e09999;
    padding: 20px;
    color: #fff;
}

#logo img {
    height: 50px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

#lien {
    list-style: none;
    display: flex;
    gap: 20px;
}

#lien li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

#lien li a:hover {
    color: #ffcc00;
}

/* Section header */
#conheader {
    padding: 40px 20px;
    background-color: #fff;
}

#conheader #text img {
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 0 auto 20px auto;
}

#conheader #text h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

#conheader #text p {
    margin-bottom: 20px;
}

/* Programme Section */
#programme {
    background-color: #eaeaea;
    padding: 40px 20px;
}

#programme #image {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

#programme article {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#programme article img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Newsletter Section */
#newsletter {
    background-color: #fff;
    padding: 40px 20px;
    text-align: center;
}

#newsletter h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

#newsletter p {
    margin-bottom: 10px;
}

.nom {
    font-weight: bold;
}

/* Contact Section */
#contact {
    background-color: #eaeaea;
    padding: 40px 20px;
}

#contact #text {
    max-width: 1000px;
    margin: auto;
}

.contact-section {
    margin-bottom: 30px;
}

.contact-section h2 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #444;
}

.contact-section p, 
.contact-section a {
    margin-bottom: 8px;
    display: block;
}

/* Footer Section */
#footer {
    background-color: #222;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

#footer h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

#footer img {
    width: 40px;
    margin: 0 10px;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
    #lien {
        flex-direction: column;
        align-items: center;
    }

    nav {
        flex-direction: column;
    }

    #programme #image {
        flex-direction: column;
        align-items: center;
    }

    #programme article {
        width: 90%;
    }
}
