/* Styles généraux pour le corps de la page */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #e9eff1;
    color: #333333;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

/* En-têtes */
h1, h2 {
    color: #007bff;
}

/* En-têtes */
h1 {
    margin: 0px;
}


red, .red {
    color: red;
}

green, .green {
    color: lawngreen;
}

gray, .gray {
    color: dimgray;
}

/* Liens */
a {
    color: #ff6347;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    text-decoration: underline;
    color: #ff4500;
}

/* Styles pour les listes */
ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

/* Styles des éléments de liste */
li {
    padding: 8px 12px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    margin-top: 5px;
    border-radius: 4px;
    transition: box-shadow 0.3s, background-color 0.3s;
}

li:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    background-color: #f8f9fa;
}

/* Ajout d'icônes avec gestion des dossiers et fichiers */
li::before {
    font-family: 'Font Awesome 5 Free'; /* Nécessite Font Awesome */
    font-weight: 900;
    margin-right: 10px;
    color: #6c757d;
}

li.file::before {
    content: "\f15b"; /* icône de fichier */
}

li.directory::before {
    content: "\f07b"; /* icône de dossier */
    color: #007bff;
}

/* Styles pour les dossiers */
.directory {
    font-weight: bold;
    color: #0056b3;
}

/* Styles pour les fichiers */
.file {
    font-weight: normal;
    color: #555;
}

/* Styles des liens dans les fichiers */
.file a {
    color: #28a745;
}

.file a:hover {
    color: #218838;
}

/* Style du pied de page */
footer {
    text-align: center;
    font-size: 0.8em;
    color: #777;
    margin-top: 20px;
}

/* Responsive design pour mobiles */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    li {
        padding: 8px;
    }
}
