/* Style de base et fond noir */
body {
    background-color: #1a1a1a; /* Fond noir profond */
    color: #f0f0f0; /* Texte clair */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}
style.css
/* En-tête */
header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 2.5em;
    color: #ffffff;
}

h2 {
    font-size: 1.5em;
    color: #cccccc;
    font-weight: normal;
}

/* Gallerie (ajustement simple pour la centrer) */
#portfolio-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Élément de portfolio */
.portfolio-item {
    margin-bottom: 50px;
    text-align: center;
}

/* Image principale (85% de la largeur du conteneur parent) */
.portfolio-item img {
    max-width: 85%; /* 85% de la largeur du conteneur (qui est responsive) */
    height: auto;
    display: block; /* Évite un espace sous l'image */
    margin: 0 auto 10px auto; /* Centre l'image et ajoute une petite marge en bas */
    border: 1px solid #333; /* Bordure discrète */
}

/* Légende sous la photo */
.caption {
    font-style: italic;
    color: #aaa;
    margin-top: 5px;
    font-size: 0.9em;
}

/* Pied de page */
footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.8em;
    color: #888;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Media Query pour la compatibilité mobile (taille d'écran plus petite) */
@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.2em;
    }

    .portfolio-item img {
        max-width: 100%; /* L'image prend toute la largeur sur mobile */
    }
}
