body {
    background: url('../img/FONDS/gold.jpeg');
    background-attachment: fixed;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
}
.defilement {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 100vh;
    border-radius: 6px;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
}

/********* Bande *********/
.bande {
    position: absolute;
    top: 63%;
    left: 0;
    width: 100%;
    height: 150vh;
}

.images-defilement {
    display: flex;
    width: 100%;
}

.item-defilement {
    flex: 1;
}

.item-defilement img {
    width: 10vw;
    height: auto;
}

.images-defilement {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: -1000;
}


.item-defilement {
    height: 100vh;
    width: 10vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../resultats/fem.jpg");
    background-position: top;
    background-size: cover;
    backdrop-filter: blur(10px);
}

.item-defilement img {
    width: 60%;
    height: 100%;
    object-fit: cover;
    object-position: 0 -100px;
    margin: 0 05% 0 20%;
}

/********* Indicateurs *********/
.indicateurs {
    position: absolute;
    bottom: 2cm;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.point {
    width: 15px;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

/********* Description *********/
.description {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #d4af37;
    padding: 20px;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: -1000;
}

/********* Bouton Télécharger *********/
.container .btn-telecharger {
    position: absolute;
    right: 2cm;
    bottom: 2cm;
    background-color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.5em;
    height: 10vh;
    padding: 0 10px 0 10px;
    cursor: pointer;
}

.btn-telecharger:hover {
    background-color: #d4af37;
    color: black;
    transition: 2s;
}



/********* Responsivité *********/
.indicateurs {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.point {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.point.actif {
    background-color: #d4af37;
}

/********* Boîte de Dialogue Style Manga *********/
.boite-dialogue {
    position: relative;
    background-color: rgba(0, 0, 0, 0.8);
    color: #d4af37;
    padding: 20px;
    border-radius: 15px;
    max-width: 60%;
    margin: 0;
    width: 35%;
    height: 75vh;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: justify;
    opacity: 0;
    transform: scale(0);
    animation: apparition 0.5s forwards;
    overflow: hidden;
}

/* Queue de la boîte de dialogue */
.boite-dialogue::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: 40px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid rgba(0, 0, 0, 0.8);
}

/* Animation d'apparition */
@keyframes apparition {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Style du texte */
.boite-dialogue h1 {
    text-align: left;
    font-size: 2em;
    margin: 20px 0 20px 5%;
    width: 100%;
}

.boite-dialogue p {
    font-size: 1.2em;
    line-height: 1.5;
    margin-top: 3%;
    text-align: justify;
    color: #d4af37;
    opacity: 0.6;
    padding: 0 20px 0 20px;
    width: 90%;
}

/*------------------------------------**/
.gallery {
    margin: 10% 0 5% 0;
    padding: 20px 0 20px 0;
}

.gallery aside {
    display: inline-flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
    align-items: center;
}

/* Styles des articles */
.gallery article {
    width: 30%;
    height: 400px;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 30px;
}

/* Alignement des textes */
.gallery .des {
    padding: 20px;
    text-align: left;
    border-radius: 0 0 30px 30px;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(1px);
    text-transform: capitalize;
}

/* Styles pour les titres et les descriptions */
.gallery h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.gallery span {
    font-size: 1rem;
    color: #ccc;
}

/* Styles pour les boutons */
.gallery button {
    padding: 10px 20px;
    font-size: 1rem;
    color: #d4af37;
    background: black;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 6px;
}

/*------------------------------*/
#container {
    width: 100%;
    margin-top: 5%;
}

.gallery button span {
    position: relative;
    z-index: 2;
}

#container h1 {
    width: 100%;
    letter-spacing: 0.5em;
    word-spacing: 0.7em;
    font-size: 150%;
    text-align: center;
    color: white;
}

@media (max-width: 767px) {

    .gallery aside,
    .gallery aside article {
        display: flex;
        flex-direction: column;
        width: 98vw;
        font-size: 80%;
        margin: auto;
    }

    .gallery {
        gap: 10px;
    }

    .gallery aside article {
        min-height: 200px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .gallery aside {
        flex: 1 1 calc(50% - 20px);
    }
}