body {
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('./IMGs/background-blur.jpg');
    background-size: cover; /* Ajuste la taille de l'image pour couvrir tout l'écran */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    background-attachment: fixed; /* Fige le fond lors du défilement */
    background-position: center; /* Centre l'image */
}

h1 {
    text-align: center;
    margin: 20px;
    color: aliceblue;
}

.title {
    font-family: 'Great Vibes', cursive; /* Utilisez une police élégante et festive */
    font-size: 3em; /* Ajustez la taille selon vos besoins */
    color: #6495ED; /* Bleu clair, souvent associé à la pureté et à la sérénité */
    text-align: center; /* Centre le texte */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* Ajoute une ombre subtile pour un effet de profondeur */
    background: linear-gradient(135deg, #FFFFFF 0%, #FFFACD 100%); /* Fond dégradé doux */
    display: inline-block;
    padding: 10px 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0%); /* Centre l'élément */
    border-radius: 10px; /* Coins arrondis pour une apparence douce */
    border: solid;
    border-color: #000;
    border-width: 1px;
    position: relative;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000; /* Crée un contour autour de l'émoji */
}

.title::before {
    content: '🐑'; /* Ajoute un symbole musical pour une touche festive */
    font-size: 1.5em;
    position: absolute;
    left: -60px; /* Ajustez la position selon vos besoins */
    top: 50%;
    transform: translateY(-50%);
    color: #FFD700; /* Doré pour un effet élégant */
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000; /* Crée un contour autour de l'émoji */
}



.title::after {
    content: '🐮'; /* Ajoute un autre symbole musical */
    font-size: 1.5em;
    position: absolute;
    right: -60px; /* Ajustez la position selon vos besoins */
    top: 50%;
    transform: translateY(-50%);
    color: #FFD700; /* Doré pour un effet élégant */
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000; /* Crée un contour autour de l'émoji */
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Colonnes flexibles */
    gap: 10px;
    padding: 20px;
    grid-auto-rows: 250px; /* Hauteur de base */
    
}

.photo {
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.photo img:hover {
    transform: scale(1.05); /* Zoom léger au survol */
    transition: transform 0.3s ease-in-out;
}

.photo img {
    object-fit: cover; /* Remplit bien la cellule sans déformation */
    width: 100%;
    height: 100%; /* S'adapte à la hauteur des lignes */
}

.photo.landscape {
    grid-column: span 2; /* Les photos paysage occupent 2 colonnes */
}

button {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 10px 0;
}

button:hover {
    background-color: #0056b3;
}

/* Fenêtre modale */
#modal {
    display: none; /* Cachée par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw; /* Largeur complète */
    height: 100vh; /* Hauteur complète */
    background-color: rgba(0, 0, 0, 0.8); /* Fond semi-transparent */
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
}

#modal-image {
    max-width: 90%; /* L'image occupe jusqu'à 90% de la largeur */
    max-height: 90%; /* L'image occupe jusqu'à 90% de la hauteur */
    top: 100%;
    border-radius: 10px; /* Arrondi des coins */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7); /* Effet d'ombre */
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
}

