/* MAIN */
#MainHome {}

#MainHome #imgGallery {
    display: flex;
    flex-direction: row;
    justify-content: center;
    row-gap: 2em !important;
    column-gap: 2em !important;
    padding: 1em 0.5em;
    width: max-content;
    margin: 0 auto;
    height: auto;
    /* overflow: hidden; */
}

#MainHome #imgGallery article {
    display: flex;
    flex-direction: column;
    row-gap: 2em !important;
    column-gap: 2em !important;
    z-index: -999;
}

.mt-top1 {
    /* margin-top: -15em; */
    margin-top: -0.8em;
}

.mt-top1 picture:nth-child(3) {
    margin-top: -1.3em;
}

.mt-top1 picture:last-child {
    margin-top: -1em;
}

.mt-top2 {
    margin-top: -0.8em;
}

.mt-top2 picture:nth-child(3) {
    margin-top: -1.3em;
}

.mt-top2 picture:last-child {
    margin-top: -1.7em;
}

.mt-top3 {
    margin-top: -2.5em;
}
.mt-top3 picture:nth-child(2){
    margin-top: -2.5em;
}

.mt-top4 {
    margin-top: -0.8em;
}

.mt-top4 picture:nth-child(3) {
    margin-top: -0.9em;
}

.mt-top4 picture:last-child {
    margin-top: -1em;
}

.mt-top5 {
    margin-top: -3.9em;
}

.mt-top6 {
    margin-top: -1em;
}

.mt-top6 picture:nth-child(3) {
    margin-top: -1em;
}

.mt-top6 picture:last-child {
    margin-top: -1em;
}

.mt-top7 {
    margin-top: -8em;
}

#MainHome #imgGallery img {
    width: 13em;
    max-height: max-content;
    height: 21vh;
    object-fit: cover;
    border-radius: 1em !important;
}

#ctp-pop {
    display: none;
}

#pop-up {
    position: absolute;
    inset: 10%;
    margin: auto;
    /* left: 27%; */
    margin-top: 14.5em;
    display: grid;
    place-items: center;
    align-items: center;
    justify-content: center;
    width: 37.5em;
    height: 15.5em;
    background: #FFFFFF;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
    border-radius: 1.5em;

}

#pop-up div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
}

#pop-up div p {
    font-size: 1.6em;
    font-weight: 800;
    width: 80%;
    text-align: center;
    font-family: 'inter';
    text-wrap: wrap;
    display: flex;
    justify-content: center;
}

#pop-up div button {
    margin: 0 auto;
    font-size: 0.9em;
    width: 60%;

}


#pop-up2 div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2em;
    width: 90%;
    margin: 0 auto;
    padding: 2em 0;
}

#pop-up2 div p {
    font-size: 1.3em;
    font-weight: 700;
    text-align: center;
    text-wrap: wrap;
    width: 70%;
}

#pop-up2 div picture {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 1.5em;
}

#pop-up2 div button {
    width: 23em;
    font-size: 0.9em;
}


/* Annonce */
#Annonce {
    margin-top: -7em;
}

#AnnonceMobile {
    display: none;
}

#Annonce img {
    width: 9em;
    height: 15em;
    position: absolute;
    object-fit: contain;
    display: none;
}

#AnnonceMobile img {
    width: 9em;
    height: 15em;
    position: absolute;
    display: none;
    object-fit: contain;
}

#Annonce img:nth-child(2) {
    margin-top: 4.5em;
    margin-left: 5.5em;
    left: 0;
}

#Annonce img:nth-child(4) {
    right: 0;
    margin-top: -5em;
    margin-right: 5.5em;
    width: 6em;
    height: 15em;
}

#Annonce svg {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: auto;
    position: absolute;
    margin-top: 0em;
    z-index: -1;
    /* left: -5%; */
    object-fit: cover;
    padding: 0 !important;
}

/* #AnnonceMobile svg {
    width: 100%;
    height: max-content;
    min-width: 100% !important;
    position: absolute;
    margin-top: -5.5em;
    z-index: -2;
    object-fit: cover;
    padding: 0 !important;
    scale: 1;
    filter: drop-shadow(-2px -2px 0px #00000040);
} */

#Annonce article:nth-child(3) {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    gap: 5em;
    width: 60%;
    padding-top: 10em;
    text-align: center;
}

#title {
    width: 80%;
    /* font-size: 1.1em; */
    line-height: 1.5em;
}

#Annonce article:nth-child(3) div p {
    text-align: center;
    font-weight: 700;
}

#Annonce article:nth-child(3) div {
    display: flex;
    width: 95%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
    align-items: center;
    background: #F0FBF7;
    border-radius: 1.5em;
    padding: 2em;
}

#Annoncepoint {
    display: flex;
    flex-direction: column;
    gap: 10em;
    margin-top: 8em;
    z-index: 99999;
}

#Annoncepoint article:nth-child(1) {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    gap: 2em;
    width: 60%;
    text-align: center;
}

#Annoncepoint article:nth-child(1) p:nth-child(1) {
    font-weight: 800;
    font-size: 1.7em;
}

#Annoncepoint article:nth-child(1) p:nth-child(2) {
    font-weight: 500;
    font-family: 'Barlow Condensed';
    font-size: 1.3em;
}

#Annoncepoint article:nth-child(1) p:nth-child(3) span {
    z-index: 99999;
    font-weight: 700;
    text-wrap: nowrap;
}

#underline {
    padding: 0.3em;
    width: 18.5vw;
    background: #81BAC0;
    position: absolute;
    z-index: -9999;
    margin-top: -0.6em;
}

#underline2 {
    padding: 0.3em;
    width: 21.5vw;
    background: linear-gradient(156.6deg, #EF7A64 -8.29%, #FAC16F 101.3%);
    position: absolute;
    z-index: -9999;
    margin-top: -0.6em;
}

#Annoncepoint article:nth-child(2) {
    background: #f7f7f7;
    display: flex;
    flex-direction: row;
    gap: 3em;
    border-radius: 1.5em;
    justify-content: space-between;
    margin: 0 auto;
    width: 97%;
    z-index: 99999;
    padding: 4em 2em;
}

#Annoncepoint article:nth-child(2) picture:nth-child(1) {
    margin-bottom: -8em;
}

#Annoncepoint article:nth-child(2) picture:nth-child(1) i {
    background: #81BAC0;
    height: max-content;
    padding: 1em 1.3em;
    border-radius: 1em;
}

.AnnonceExploreMobile article:nth-child(2) picture i {
    background: #EE7563 !important;
    height: max-content;
    padding: 1em 1.3em;
    border-radius: 1em;
}

#Annoncepoint article:nth-child(2) picture:nth-child(2) {
    margin-top: -8em;
}

#Annoncepoint article:nth-child(2) picture:nth-child(2) i {
    background: linear-gradient(156.6deg, #EF7A64 -8.29%, #FAC16F 101.3%);
    height: max-content;
    padding: 1em 1.3em;
    border-radius: 1em;
}

.AnnonceExploreMobile {
    display: none !important;
}

#Annoncepoint article:nth-child(2) picture {
    background: #fff;
    border-radius: 1.5em;
    padding: 2em 4em;
    width: 70%;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    z-index: -9999;
    gap: 1em;
}

#Annoncepoint article:nth-child(2) picture figure {
    display: flex;
    flex-direction: row;
    gap: 2em;
}

#Annoncepoint article:nth-child(2) picture figure p {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

#Annoncepoint article:nth-child(2) picture figure p span:nth-child(1) {
    font-size: 1.5em;
    font-weight: 700;
}

#Annoncepoint article:nth-child(2) picture figure p span:nth-child(2) {
    font-weight: 500;
    font-family: 'Barlow Condensed';

}

#desc {
    font-size: 0.9em;
}

#AnnonceExplore {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    gap: 4em;
    padding: 2em;
    width: 100%;
    margin-top: 12em;
}

#AnnonceExplore article {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

#AnnonceExplore article:nth-child(1) {
    margin-bottom: -5em;
}


#AnnonceExplore article:nth-child(2) {
    width: 100%;
    gap: 5em;
}

#AnnonceExplore article:nth-child(3) {
    justify-content: space-evenly;

}

#AnnonceExplore article:nth-child(4) {
    width: 100%;
    gap: 5em;

}

#AnnonceExplore article:nth-child(5) {
    margin-top: -5em;
}

#info {
    width: 50%;
    margin-top: -2em;
}


#info p:nth-child(1) {
    font-weight: 800;
    font-size: 1.7em;
    font-family: 'inter';

}

#info p:nth-child(2) {
    font-weight: 500;
    font-size: 1.5em;
    font-family: 'Barlow Condensed';
}

#info p:nth-child(3) {
    width: 70%;
    margin-top: 1em;
}

#AnnonceExplore article picture {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}

#AnnonceExplore article picture div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}

#AnnonceExplore article picture div p:nth-child(1) {
    font-weight: 700;
    margin-top: 0.5em;
}

#AnnonceExplore article img {
    background: var(--primary);
    padding: 1.5em;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6em;
    height: 6em;
    border-radius: 1em;
}

#AnnonceExplore article:is(:nth-child(1), :nth-child(3), :nth-child(5)) img {
    background: #EE7563;
}

#paginnation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4em;
    margin-top: 8em;
}

#paginnation article:nth-child(1) p {
    font-weight: 700;
    font-family: 'Barlow Condensed';
    font-size: 1.7em;
    text-align: center;
}

#paginnation article:nth-child(2) {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 95%;
    margin: 0 auto;
}

#paginnation article:nth-child(2) picture {
    z-index: 99999;

}

#paginnation article:nth-child(2) picture i {
    font-size: 1.3em;
    color: #fff;
    text-align: center;
    padding: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4em;
    height: 4em;
    border-radius: 50%;
    background-color: #EE7563;
    margin-top: -4.2em;
}

#paginnation article:nth-child(2) .bi-arrow-left {
    margin-right: -2em;

}

#paginnation article:nth-child(2) .bi-arrow-right {
    margin-left: -2em;

}

#paginnation article:nth-child(2) ul {
    display: flex;
    flex-direction: row;
    gap: 2em;
    justify-content: space-evenly !important;
    align-items: center;
    width: 80em;
    height: max-content !important;
    padding-top: 0.9em;
    overflow-x: hidden !important;
}

#paginnation article:nth-child(2) ul li {
    user-select: none;
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: max-content;

    position: relative;
    /* Parent must be relative for absolute child */
}

#paginnation article:nth-child(2) ul li i {
    background: #fff;
    width: max-content;
    color: #fff;
    font-size: 1.3em;
    z-index: 99999;
    margin: 0.5em;
    position: absolute;
    overflow: hidden;
    /* Ensure overflow hidden */
    margin-left: 12.8em;
    padding: 0.5em;
    color: var(--primary);
    border-radius: 0.5em;
}

#paginnation article:nth-child(2) ul li p {
    text-wrap: wrap;
    line-height: 1.5em;
}

#paginnation article:nth-child(2) ul li p:nth-child(2) {
    font-weight: 800 !important;
    text-wrap: wrap;
}

#paginnation article:nth-child(2) ul li p:nth-child(3) {
    font-size: 0.9em;
}

#paginnation article:nth-child(2) ul li p:nth-child(4) {
    font-size: 0.7em;
    display: flex;
    flex-direction: row;
    gap: 1em;
    align-items: center;
}

#paginnation article:nth-child(2) ul li p:nth-child(4) svg {
    margin-top: 0.1em;
}

#paginnation article:nth-child(2) ul li img {
    width: 20em;
    height: 34vh;
    object-fit: cover;
    border-radius: 1em;
}


#Explore {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3em;
    margin-top: 12em;
}

.exploreMobile {
    display: none !important;
}

#Explore article:nth-child(1) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
    text-align: center;
}

#Explore article:nth-child(1) p:nth-child(1) {
    font-weight: 700;
    font-family: 'Barlow Condensed';
    font-size: 1.7em;
}

#Explore article:nth-child(1) p:nth-child(2) {
    width: 80%;
}

#Explore article:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    /* row-gap: 1em;
    column-gap: 2em; */
    width: 90%;
    padding: 2em;
    margin: 0 auto;
}

#Explore article:nth-child(2) div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 4em;
    row-gap: 1em;
    column-gap: 2em;
    width: 100%;
    padding: 0;
}

#Explore article:nth-child(2) picture {
    display: flex;
    flex-direction: row;
    gap: 1.5em;
    padding: 1.5em 2em;
    width: 25vw;
}

#Explore article:nth-child(2) picture img {
    width: 5.3em;
    height: 5.3em;
    object-fit: contain;
    border-radius: 50%;
    /* border: 6px solid #F9C66E */
}

#Explore article:nth-child(2) picture p:nth-child(1) {
    font-weight: 700;
}

#Explore article:nth-child(2) picture figcaption {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

#Explore article:nth-child(2) picture i {
    color: #F9C66E;
}


#communaute {
    background: url('../Asset/communaute.png') no-repeat center center / cover;
    margin-top: 8em;
}

#communaute article {
    background: #ffffff92;
    padding: 10em;

}

#communaute article picture {
    display: flex;
    flex-direction: column;
    gap: 2em;
    align-items: center;
    margin: 0 auto;
    text-align: center;
    width: 90%;
}

#communaute article picture p:nth-child(1) {
    font-weight: 700;
    font-family: 'Barlow Condensed';
    font-size: 1.7em;
}

#communaute article picture p:nth-child(2) {
    font-family: 'Barlow Condensed';
    font-weight: 500;
    font-size: 1.5em;
}

#communaute article picture p:nth-child(3) {
    width: 95%;
    line-height: 1.5em;
}

#communaute article picture button {
    border: 2px solid var(--primary);
    border-radius: 1em;
    padding: 1.5em 5em;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.5em;
    color: var(--primary);
    background: #fff;
    font-size: 1em;
}


#temoignage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3em;
    margin-top: 8em;
}

#temoignage article:nth-child(1) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    text-align: center;
}

#temoignage article:nth-child(1) p:nth-child(1) {
    font-weight: 700;
    font-family: 'Barlow Condensed';
    font-size: 1.7em;
}

#temoignage article:nth-child(1) p:nth-child(2) {
    font-weight: 500;
    font-family: 'Barlow Condensed';
    font-size: 1.4em;
}

#temoignage article:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 4em;
    justify-content: center;
}

#temoignage article:nth-child(2) figure {
    background: #fff;
    border-radius: 1.5em;
    padding: 2em;
    width: 40%;
    height: max-content;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding-bottom: 3em;
}

#temoignage article:nth-child(2) figure picture {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1.5em;
    padding: 1em;
}

#temoignage article:nth-child(2) figure picture div {
    display: flex;
    flex-direction: row;
    gap: 1.5em;
    padding: 1em;
}

#temoignage article:nth-child(2) figure picture img:first-child {
    width: 5.5em;
    height: 5.5em;
    object-fit: contain;
    border-radius: 50%;
}

#quotes {
    width: 70px;
    height: 48px;
    right: 0;
}

#temoignage article:nth-child(2) figure picture p:nth-child(1) {
    font-weight: 700;
}

#temoignage article:nth-child(2) figure picture figcaption {
    display: flex;
    flex-direction: column;
    width: 80%;
    gap: 0.5em;
}

#desc1 {
    width: 97%;
}

.silver {
    color: #D9D9D9 !important;
}

#temoignage article:nth-child(2) figure picture i {
    color: #F9C66E;
}