/* GENERAL */
body
{
    background-image: url(images/background.png)
}

h4
{
    color: #fff ;
    font-family: Leelawadee UI

}

h3
{
    font-family: Open Sans;
    color: #fff;
}

.wrapper
{
    width: 1000x;
    margin: 0 auto;
    padding: 0 10px;
}

.button
{
    width: 120px;
    height: 50px;
    background: white;
    color: black;
    list-style: none;
    

}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* Gris très clair pour le fond */
    overflow-x: hidden; /* Empêche le défilement horizontal */
}

/* --- 2. CONTENU PRINCIPAL --- */
.main-content {
    padding: 50px;
    transition: margin-right 0.3s; /* Animation fluide du contenu */
}

h1 { color: #333; }
p { color: #666; line-height: 1.6; }

/* --- 3. BOUTON FLÈCHE (OUVERTURE) --- */
.toggle-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    z-index: 1000; /* Toujours au-dessus */
    transition: 0.3s;
}

.toggle-btn:hover {
    background-color: #555;
}

/* --- 4. MENU LATÉRAL (SIDEBAR) --- */
.sidebar {
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    right: -250px; /* Caché par défaut (hors de l'écran à droite) */
    background-color: #111; /* Fond sombre pour le menu */
    overflow-x: hidden;
    padding-top: 60px; /* Espace pour ne pas coller au haut */
    transition: 0.3s; /* Vitesse de l'animation */
    z-index: 999;
    box-shadow: -2px 0 5px rgba(0,0,0,0.5);
}

/* Liens dans le menu */
.sidebar a {
    padding: 15px 25px;
    text-decoration: none;
    font-size: 18px;
    color: #818181;
    display: block;
    transition: 0.3s;
    border-bottom: 1px solid #222; /* Ligne de séparation subtile */
}

.sidebar a:hover {
    color: #f1f1f1;
    background-color: #222;
    padding-left: 35px; /* Petit effet de mouvement au survol */
}

/* Titre du menu */
.sidebar h2 {
    color: white;
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
}

/* --- 5. CLASSES ACTIVES (QUAND LE MENU EST OUVERT) --- */
/* Ces classes sont ajoutées par le JavaScript */

.sidebar.open {
    right: 0; /* Ramène le menu sur l'écran */
}

/* Optionnel : Si tu veux que le bouton bouge avec le menu */
.toggle-btn.open {
    right: 260px; /* Déplace le bouton vers la gauche */
    background-color: transparent; /* Le rend transparent ou change de couleur */
    color: #333; /* Change la couleur de la flèche */
}

</style>