/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    color: #333;
}

header {
    position: fixed; /* Rend le header fixe */
    top: 0; /* Fixe le header en haut de la page */
    left: 0;
    width: 100%; /* S'étend sur toute la largeur de la page */
    background-color: #333;
    color: white;
    padding: 15px 0;
    text-align: center;
    z-index: 10; /* Assure que le header reste au-dessus des autres éléments */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Ajoute une ombre pour le démarquer */
}


nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
}

footer {
    position: fixed; /* Rend le footer fixe */
    bottom: 0; /* Positionne le footer en bas de la page */
    left: 0;
    width: 100%; /* S'étend sur toute la largeur */
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    z-index: 10; /* Assure que le footer reste au-dessus des autres éléments */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3); /* Ajoute une ombre en haut du footer */
}

.container {
    padding: 20px;
}

.chantier-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.chantier-item {
    width: calc(33.333% - 20px);
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.chantier-item img {
    max-width: 100%;
    height: auto;
    border-bottom: 1px solid #ccc;
}

.alert {
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 1.1em;
}

.alert.success {
    background-color: #4CAF50;
    color: white;
}

.alert.error {
    background-color: #f44336;
    color: white;
}
