body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 50px;
    background-color: rgb(210, 233, 236);
}



.button-container {
    margin-top: 20px;
}

.button {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border: 3px solid;
}

.page5 {
    border-color: red;
    color: red;
}


.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.gallery img {
    width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.container {
    display: grid;
    grid-template-columns: auto auto auto;
    background-color: dodgerblue;
    padding: 10px;
}

.container>div {
    background-color: #f1f506;
    border: 1px solid black;
    padding: 10px;
    font-size: 30px;
    text-align: center;
}

.photo-credit {
    font-size: 0.75rem;
    color: #444;
    margin-top: 4px;
    font-style: italic;
    text-align: center;
}

/* Ajout de styles CSS pour améliorer l'apparence */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
}

h1 {
    font-size: 3em;
    text-align: center;
    color: #2C3E50;
    margin-top: 20px;
}

p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #34495E;
    max-width: 800px;
    margin: 20px auto;
    text-align: justify;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.button {
    padding: 15px 30px;
    background-color: #2980B9;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #3498DB;
}

footer {
    text-align: center;
    padding: 40px;
    background-color: #2C3E50;
    color: white;
}

footer video {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.container h2 {
    font-size: 2em;
    color: #2980B9;
    margin-bottom: 20px;
}

.container ul {
    list-style-type: none;
    padding: 0;
}

.container li {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #34495E;
}

.img {
    width: 100%;
    height: auto;
    max-width: 600px;
    /* Limite la taille de l'image */
    border-radius: 8px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    object-fit: contain;
    /* Préserve les proportions */
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
}

h1 {
    font-size: 3em;
    text-align: center;
    color: #2C3E50;
    margin-top: 20px;
}

p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #34495E;
    max-width: 800px;
    margin: 20px auto;
    text-align: justify;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.button {
    padding: 15px 30px;
    background-color: #2980B9;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #3498DB;
}

footer {
    text-align: center;
    padding: 40px;
    background-color: #2C3E50;
    color: white;
}

footer video {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.container h2 {
    font-size: 2em;
    color: #2980B9;
    margin-bottom: 20px;
}

.container ul {
    list-style-type: none;
    padding: 0;
}

.container li {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #34495E;
}

/* Style des images */
img {
    width: 100%;
    /* L'image occupe 100% de la largeur de son parent */
    max-width: 100%;
    /* Empêche l'image de déborder */
    height: auto;
    /* La hauteur s'ajuste automatiquement pour maintenir les proportions */
    border-radius: 10px;
    /* Bordure arrondie */
    box-shadow: 0 2px 15px rgba(191, 38, 38, 0.2);
    /* Ombre portée */
    margin-bottom: 20px;
    /* Marge en bas de l'image */
}

/* Style pour les crédits photo */
.photo-credit {
    font-size: 0.9em;
    text-align: center;
    color: #7F8C8D;
    margin-bottom: 20px;

}

.image-container img {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 700px;
    height: 500px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}