* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 60px
}

.content {
    flex: 1;
}

header {
    background-color: #258F16;
    color: #fff;
    padding: 5px 0;
    text-align: right;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    cursor: pointer;
    text-align: center;
}

header h1:hover {
    color: #f4f4f4;
}

header div {
    margin-bottom: 10px;
}

header button {
    background-color: #1C7011;
    color: #fff;
    border: none;
    padding: 5px 10px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    justify-content: right;
}

main {
    flex: 1;
    padding: 20px;
    padding-top: 150px;
    text-align: center;
}

nav {
    display: flex;
    justify-content: center;
    background-color: #1C7011;
    padding: 10px 0;
}

.navbar {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #f4f4f4;
    text-decoration: underline;
}

main h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
    margin-top: 0;
}

main p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 20px;
    width: 100%;
}

main img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 10px;
}

footer {
    background-color: #258F16;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index:1000;
}


footer p {
    margin: 0;
    font-size: 0.9em;
}


@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    header div {
        position: static;
        text-align: center;
        margin-bottom: 10px;
    }

    .navbar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar li {
        margin: 5px 10px;
    }

    main {
        padding: 20px 10px;
        padding-top: 120px;
    }

    main h1 {
        font-size: 1.5em;
    }

    main p {
        font-size: 1em;
    }
}

img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

#actualites {
    background-color: #f9f9f9;
    padding: 20px;
    margin-top: 20px;
}

#actualites article {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

#actualites h2 {
    color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.content {
    flex: 1;
}

footer {
    background-color: #258F16;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

table {
    max-width: 800px;
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    font-size: 0.8em; /* Police plus petite */
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

thead tr {
    background-color: #258F16;
    color: #ffffff;
    text-align: center;
}

thead th {
    padding: 8px 10px; /* Réduction de la hauteur des en-têtes */
    font-weight: bold;
}

tbody tr {
    border-bottom: 1px solid #dddddd;
    transition: background-color 0.2s ease;
}

tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

tbody tr:last-of-type {
    border-bottom: 2px solid #258F16;
}

tbody td {
    padding: 8px 10px; /* Réduction de la hauteur des cellules */
    text-align: center;
    color: #333;
    width: 100px; /* Largeur fixe des cellules */
}

tbody td img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}

tbody tr:hover {
    background-color: #e1f5d3;
}

tfoot tr {
    background-color: #1C7011;
    color: #ffffff;
    text-align: center;
}

tfoot td {
    padding: 8px 10px; /* Réduction de la hauteur des pieds de page */
    font-weight: bold;
    width: 100px; /* Largeur fixe des pieds de page */
}

