#texte{
    display: block;
    position: relative;
    padding: var(--marge);
    padding-top: calc(var(--marge)*2);
    border-bottom: 1px solid var(--ndC);
}

h1{
    font-weight: 900;
    width: 50%;
    text-transform: uppercase;
    padding-bottom: calc(var(--marge)*2);
    text-align: center;
    margin: 0 auto;
}

#introduction{
    display: block;
    width: 50%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: calc(var(--marge));
}

#introduction p::after{
    display: block;
    content: " ";
    white-space: pre;
}

#pointMet{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: top;
}


.pM{
    display: inline-block;
    width: 40%;
    height: auto;
    padding: var(--marge);
    text-align: center;
}

.pM .ic{
    display: block;
    width: 50px;
    height: 50px;
    background-color: var(--ndC);
    border-radius: 50%;
    margin:  0 auto;
    margin-bottom:  calc(var(--marge) / 2  );
}

.pM h2{
    display: block;
    margin: 0 auto;
    padding: calc(var(--marge) / 2  );
    text-transform: uppercase;
    font-weight: var(--bold);
}

#realisationMet{
    display: block;
    position: relative;
    width: 100%;
    overflow-x: hidden;
    padding:  calc(var(--marge) *2) 0;
    border-bottom: 1px solid var(--ndC);
}

#realisationMet h1{
    padding-bottom: var(--marge);
}

#compteur{
    display: block;
    position: relative;
    text-align: center;
    margin: 0 auto;
    padding-bottom: var(--marge);
}

.siema{
    display: block;
    position: relative;
    height: auto;
    width: 150%;
    left: 50%;
    transform: translate(-50%, 0);

}

.siema .mainC{
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}


.imMore{
    cursor: pointer;
}

.stIm{
    display: block;
    position: relative;
    max-height: 50vh;
    width: auto;
    max-width: 70vw;
    height: auto;
}

.moreIm{
    display: block;
    position: relative;
    text-align: center;
    margin-top: var(--marge);
    width: 100%;
}

.smallIm{
    height: 50px !important;
    width: auto;
    display: inline-block;
    cursor: pointer;
    transition: .2s;
}

.smallIm:hover{
    border-radius: 10px;
}

.siema div img{
    margin: 0 auto;
}

.stIm img{
    max-height: 50vh;
    border-radius: 20px;
    width: auto;
    max-width: 100%;
    height: auto;
}

.descriptionImage{
    width: 50%;
    text-align: center;
    margin:  0 auto;
    font-size: .8em;
    margin-top: calc(var(--marge)/2);

}

.pn{
    width: 20vw;
    height: 100%;
    position: absolute;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    transition: .2s;
    opacity: 1;
}


.pn:hover .arrow{
    color: var(--rdC);
    background-color: var(--stC);
}

.arrow{
    color: var(--stC);
    border: 1px solid var(--rdC);
    user-select: none;
    transition: .2s;
    padding: calc(var(--marge)/4) calc(var(--marge)/2);
    background-color: var(--rdC);
}

#prev{
    left: 0;
}
#next{
    right: 0;
}

#nextGroupe{
    right: 0;
}

#boxIm{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    height: 100vh;
    width: 100vw;
    transition: .2s;
    background-color: var(--ndCa);
}


.bF{
    pointer-events: none;
    opacity: 0;
}

.bO{
    pointer-events: all;
    cursor: pointer;
    opacity: 1;
}

#bigPic{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 70vw;
    max-height: 80vh;
    width: auto;
    height: auto;
}

#descBim{
    display: block;
    position: absolute;
    font-weight: 400;
    font-size: .75em;
    bottom: 0;
    left: 0;
    text-align: center;
    color: var(--stC);
    margin: var(--marge) 5vw;
    width: 90vw;
}


#close{
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    margin: var(--marge);
    width: 3vw;
    height: 3vw;
}

#close span{
    background-color: var(--stC);
    height: 3px;
    display: block;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

#close span:first-of-type{
    transform: translate(-50%, -50%) rotate(45deg);

}


@media (orientation:portrait){
    h1{
        width: 100%;
    }

    #introduction{
        width: 100%;
    }

    #close{
        width: 10vw;
        height: 10vw;
       }

    .stIm{
        max-height: 50vh;
        max-width: 60vw;
    }

    

    .pM{
        width: 100%;
    }

    .pn{
        width: 15vw;
    }

 
    
}