/* Appliquer un reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Structure globale */
body {
    font-family: Arial, sans-serif;
    background-color: #e6f7d4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Wrapper pour tout contenir */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
#MainTop {
    background: #004d40;
    color: white;
}

#MainTop nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
}

#MainTop nav a {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    background: #004d40;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

#MainTop nav a:hover {
    background: #00695c;
    color: #fff;
    transform: scale(1.05);
}

/* Contenu principal */
.container {
    flex: 1; /* Permet au contenu de prendre l'espace restant */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    background: white;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #4caf50;
    margin-bottom: 15px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #004d40;
    color: white;
    padding: 1rem;
    text-align: center;
    width: 100%;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.footer-content a {
    color: white;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

.footer-content img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

/* Responsive */
@media screen and (max-width: 480px) {
    #MainTop nav {
        flex-direction: column;
        align-items: center;
    }

    #MainTop nav a {
        width: 100%;
        text-align: center;
    }
}