/* Footer Styles */
footer {
    color: black;
    padding: 30px 0;
}

/* Newsletter section (fond vert) */
.newsletter-container {
    background-color: #53a57f;
    padding: 40px 15px; /* Ajoute un padding à gauche et à droite au lieu de marges négatives */
    min-height: 120px;
}

.newsletter {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.newsletter p {
    margin: 0;
    margin-right: 10px;
    font-size: 1.2em;
    color: white;
}

.newsletter input[type="email"] {
    width: 400px;
    margin-right: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.newsletter button {
    background-color: white;
    color: black;
    border: 1px solid #53a57f;
}

.social-icons {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px 0;
}

.social-icons img {
    width: 40px;
    height: 40px;
    margin: 0 10px;
}

footer hr {
    width: 30%;
    border-color: black;
    margin: 10px auto;
}

footer p {
    text-align: center;
    margin: 0;
    font-weight: bold;
}

/* Couleur de succès bien verte */
.success-message {
    color: #28a745;
    font-weight: bold;
}

/* Responsive styles for small screens */
@media (max-width: 768px) {
    .newsletter-container {
        padding: 20px 10px;
    }

    .newsletter {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter input[type="email"] {
        width: 100%;
        margin-bottom: 10px;
        padding: 10px;
        border-radius: 5px;
        border: 1px solid #ccc;
    }

    .newsletter button {
        width: 100%;
        max-width: 200px;
        padding: 10px;
        border-radius: 5px;
        background-color: white;
        color: black;
        border: 1px solid #53a57f;
        align-self: flex-start;
    }

    .social-icons {
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px 0;
    }

    footer hr {
        width: 80%;
    }
}
