
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #ffe8b3, #f5f7fa);
    color: #333;
    line-height: 1.6;
    text-align: center;
}
.header {
    text-align: center;
    padding: 20px;
    background: #4caf50;
    color: #fff;
    text-shadow: 2px 2px 4px #888;
    margin-top: 80px;
}



.header h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px #888;
}

.navbar {
    margin-top: 10px;
}

.navbar a {
    margin: 0 15px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #333;
}



.footer {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    margin-top: 20px;
    font-size: 0.9rem;
}

.activities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.activity-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 15px;
    padding: 20px;
    width: 300px;
    text-align: center;
}

.activity-card h2 {
    color: #ff6600;
}

.activity-card p {
    font-size: 1rem;
    color: #666;
    margin: 10px 0;
}

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #ff6600;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #e65500;
}

.theme-image span {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: bold;
    font-size: 1rem;
}

/* Styles de base */

/* En-tête */
.menu-header2 {
    background-color: #4caf50;
    color: #fff;
    padding: 20px 0;
    margin-bottom: 20px;
    margin-top: 80px;
}

.menu-header2 h1 {
    margin: 0;
    font-size: 2rem;
}

.menu-header2 p {
    margin: 10px 0 0;
    font-size: 1.2rem;
}

/* Thèmes */
main.themes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.theme-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    text-align: center;
    padding: 10px;
}

.theme-card a {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.theme-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-bottom: 2px solid #4caf50;
}

.theme-card span {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: bold;
}

.theme-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Pied de page */
footer {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    margin-top: 20px;
    font-size: 0.9rem;
}

.arabic {
    font-family: 'Arial', sans-serif;  /* Choix d'une police sans empattement */
    font-size: 14px;
    color: #333;
    display: block;
    margin-top: 5px;
}
/* En-tête du menu */
.menu-header {
    background-color: rgba(0, 0, 0, 0.6); /* Fond semi-transparent */
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Barre de navigation */
.menu-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    line-height: 1.6;
}

/* Logo */
.menu-logo a {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

/* Liens de navigation */
.menu-nav-links {
    list-style-type: none;
    display: flex;
}

/* Espacement entre les éléments du menu */
.menu-nav-links li {
    margin-left: 20px;
}

/* Style des liens */
.menu-nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.menu-nav-links li a:hover {
    color: #4CAF50;
}

/* Bouton hamburger pour les écrans mobiles */
.menu-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-hamburger span {
    width: 30px;
    height: 4px;
    background-color: white;
    margin: 4px 0;
}

/* Styles responsive pour les petits écrans */
@media (max-width: 768px) {
    .menu-nav-links {
        display: none; /* Masque le menu par défaut */
        width: 100%;
        background-color: rgba(0, 0, 0, 0.8); /* Fond sombre pour le menu mobile */
        flex-direction: column;
        position: absolute;
        top: 56px; /* Place sous la barre fixe */
        left: 0;
        padding: 20px 0;
        text-align: center;
    }

    .menu-nav-links li {
        margin: 10px 0;
    }

    .menu-hamburger {
        display: flex; /* Affiche le hamburger sur mobile */
    }

    /* Menu actif */
    .menu-nav-links.active {
        display: flex;
    }
}

/* Lien actif */
.menu-nav-links.active li a {
    color: #4CAF50;
}
