/* Style général */
body {
    font-family: Arial, sans-serif;
    background-image: url('/images/background.png');
    background-repeat: repeat;
    background-position: top left;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* En-tête (Bannière) */
header {
    text-align: center;
    margin-top: 20px;
}

.banner {
    border-radius: 8px;
    max-width: 95%;
    height: auto;
}

/* Section de description */
.collection-description {
    padding: 20px;
    margin: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.collection-description h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.collection-description p {
    font-size: 16px;
    line-height: 1.6;
}

/* Section des images d'exemple */
.example-images {
    margin-top: 20px;
    background-color: #f4f4f4;
    text-align: center;
    padding: 20px;
}

.example-images h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.example-images-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;  /* Ajoute la possibilité de passer à la ligne sur petits écrans */
}

.example-image {
    width: 150px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px; /* Ajoute un espacement en bas */
}

/* Section des liens */
.links {
    background-color: #f4f4f4;
    text-align: center;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
}

.links h2 {
    font-size: 24px;
}

.links p {
    font-size: 16px;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;  /* Permet aux boutons de se réorganiser sur petits écrans */
}

.button {
    text-decoration: none;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background-color: #1e1e1e;
    color: #fff;
    margin-top: 20px;
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

/* Media Queries pour rendre la page responsive */

/* Tablettes (entre 600px et 1024px) */
@media (max-width: 1024px) {
    .example-image {
        width: 120px; /* Réduit la taille des images */
    }

    .collection-description h2, .example-images h2, .links h2 {
        font-size: 20px; /* Diminue la taille des titres */
    }

    .collection-description p, .links p {
        font-size: 14px; /* Diminue la taille du texte des paragraphes */
    }
}

/* Mobiles (entre 320px et 600px) */
@media (max-width: 600px) {
    .collection-description, .example-images, .links {
        padding: 10px; /* Réduit le padding pour plus d'espace sur petits écrans */
        margin: 10px; /* Réduit les marges */
    }

    .example-image {
        width: 100px; /* Réduit encore la taille des images */
    }

    .collection-description h2, .example-images h2, .links h2 {
        font-size: 18px; /* Ajuste la taille des titres */
    }

    .collection-description p, .links p {
        font-size: 12px; /* Ajuste la taille du texte */
        line-height: 1.4; /* Réduit l'interligne */
    }

    .buttons {
        flex-direction: column; /* Aligne les boutons verticalement */
    }

    .button {
        width: 100%; /* Les boutons occupent toute la largeur */
        padding: 12px 0; /* Augmente le padding pour plus de clicabilité */
    }
}
