
.special-title {
    font-size: 4rem;
    letter-spacing: 2px;
    margin: 0;
}

.special-title .white {
    color: white;
    font-weight: normal;
    font-size: 3rem;
}

.special-title .orange {
    color: #d16105;
    font-weight: bold;
    font-size: 4rem;
    animation: dropBounce 3s ease-in-out forwards;
    display: inline-block;
    position: relative;
}

@keyframes dropBounce {
    0% {
        transform: translateY(-500px);
    }
    40% {
        transform: translateY(40px);
    }
    50% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(20px);
    }
    70% {
        transform: translateY(-15px);
    }
    80% {
        transform: translateY(10px);
    }
    85% {
        transform: translateY(-8px);
    }
    90% {
        transform: translateY(6px);
    }
    95% {
        transform: translateY(-3px);
    }
    100% {
        transform: translateY(0);
    }
}


/* Conteneur de l'image pour gérer les débordements */
.image-container {
    
    display: inline-block;
}

/* Image avec transition pour l'animation */
.image-container img {
    transition: transform 0.5s ease;  /* Durée et effet de l'animation */
}

/* Effet de zoom au survol */
.image-container img:hover {
    transform: scale(1.1);  /* Zoom à 110% */
}

.content {
    width: 100%;
    min-width: 600px;
    max-width: 1800px;
    min-height: 400px;
    max-height: 500px;
    margin: 0 auto;
    overflow-x: auto; /* Permet le défilement horizontal */
    overflow-y: hidden; /* Cache le défilement vertical */
    white-space: nowrap; /* Empêche le retour à la ligne du contenu */
}

/* Pour une meilleure expérience de défilement sur tous les navigateurs */
.content::-webkit-scrollbar {
    height: 8px; /* Hauteur de la barre de défilement */
}

.content::-webkit-scrollbar-track {
    background: #f1f1f1; /* Couleur de fond de la piste */
    border-radius: 4px;
}

.content::-webkit-scrollbar-thumb {
    background: #888; /* Couleur de la barre de défilement */
    border-radius: 4px;
}

.content::-webkit-scrollbar-thumb:hover {
    background: #555; /* Couleur au survol */
}

/* Media query pour les écrans plus petits */
@media screen and (max-width: 768px) {
    .content {
        min-width: 100%;
    }
}

/* Style pour la popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    text-align: center;
    padding-top: 50px;
}

.popup img {
    max-width: 90%;
    max-height: 80vh;
    margin: auto;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #bbb;
}

/* Style pour les thumbnails */
.thumbnail {
    cursor: pointer;
    transition: opacity 0.3s;
}

.thumbnail:hover {
    opacity: 0.8;
}
/* Styles pour header, footer et le contenu principal */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(to top, #02060a, #0e1f27);
}

header {
    text-align: center;
    padding: 20px;
    width: 100%;
    min-width: 600px; /* Largeur minimale */
    max-width: 1800px; /* Largeur maximale */
    min-height: 300px; /* Hauteur minimale */
    max-height: 325px; /* Hauteur maximale */
    background-image: url('images/bgd.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto; /* Pour centrer le header */
    height: 100vh; /* Pour que la hauteur s'adapte à la hauteur de l'écran */
}

/* Media query pour les écrans plus petits */
@media screen and (max-width: 768px) {
    header {
        min-width: 100%; /* Permet au header de s'adapter aux petits écrans */
        height: auto;
        min-height: 300px;
    }
}

footer {
    color: white;
    text-align: center;
    padding: 20px;
    width: 100%;
}

nav {
    width: 100%;
    min-width: 600px;
    max-width: 1800px;
    height: 40px;
    margin: 0 auto;
    background-image: url('images/separateur.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    display: inline-block;
    margin: 0 30px;
    position: relative; /* Ajouté pour le positionnement */
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 15px;
    position: relative; /* Nécessaire pour l'effet de superposition */
    z-index: 1; /* Place le texte au-dessus de l'effet */
}

nav ul li a::before {
    content: attr(data-text); /* Crée une copie du texte pour l'effet de vague */
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%,
        transparent 35%,
        #d16105 50%,
        transparent 65%,
        transparent 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: waveEffect 8s linear infinite;
    padding: 10px 15px;
}

@keyframes waveEffect {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Media query pour les écrans plus petits */
@media screen and (max-width: 768px) {
    nav {
        min-width: 100%;
    }
    
    nav ul li {
        margin: 0 15px;
    }
}
main {
    padding: 20px;
}
