.mainzone {
    width: 90%;
    height: 100%;
    padding-left: var(--unite-base);
    padding-right: var(--unite-base);
    overflow: hidden;
    display: block;
}

.mainzone a {
    color: var(--couleur-defaut-typo);
}


.scribe {
    width: 100%;
    height: 100%;
    position: relative;
    top: -100%;
    opacity: 1;
    transition: opacity var(--vitesse-transitions-moyenne) linear;
    /* border-left: 1px solid #808080; */
    /* border-right: 1px solid white; */
}

.scribe h1, .scribe p, .scribe a {
    color: #333333;
}

.scribe h1 {
    font-family: 'kanitregular', sans-serif;
    /* font-weight: 300; */
    font-size: 25px;
}

.scribe p {
    font-family: 'biotiflight', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.3;
}

.scribe p:nth-child(2) {
    padding-top: calc(var(--unite-base)/2);
}

.scribe strong {
    font-family: 'biotifmedium';
}

.scribe .colonne {
    width: 100%;
    height: auto;
    padding-left: var(--unite-base);
    padding-top: calc(var(--unite-base)/4);
}

.scribe .ligne {
    padding-bottom: 0;
    padding-top: 0;
    margin: 0;
}





.projecteur {
    width: 100%;
    height: 100%;
    /* position: relative; */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    opacity: 0;
    transition: opacity var(--vitesse-transitions-moyenne) linear;
}

.slide {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
} 


.projecteur img {
    height: calc(var(--unite-base)*10);
    width: calc(var(--unite-base)*10);
    transition: opacity var(--vitesse-transitions-moyenne) linear;
    border: 3px solid white;
    /* box-shadow: 0px 0px 5px white; */

}


.legende {
    /* max-width: calc(var(--unite-base)*9); */
    width: calc(var(--unite-base)*10);
    overflow: hidden;
    border-left: 1px solid white;
    color: white;
    font-weight: bolder;
    color: var(--couleur-defaut-typo);
    background-color: rgba(255, 255, 255, 0.8);
}


.legende p {
    padding: 5px;
}


/* GESTION DES COULEURS */

section:nth-child(2) h1 {
    color: var(--couleur-page1);
}

        /* section:nth-child(2) img {
            border: 1px solid var(--couleur-page1);
        } */


section:nth-child(3) h1 {
    color: var(--couleur-page2);
}

        /* section:nth-child(3) img {
            border: 1px solid var(--couleur-page2);
        } */



section:nth-child(4) h1 {
    color: var(--couleur-page3);
}

        /* section:nth-child(4) img {
            border: 1px solid var(--couleur-page3);
        } */


section:nth-child(5) h1 {
    color: var(--couleur-page4);
}

/* section:nth-child(5) img {
    border: 1px solid var(--couleur-page4);
    border-left: none;
    border-right: none;
} */




/* ------------------------ */




/* RESPONSIVE */
/* ------------------------------------ */

@media screen and (max-aspect-ratio: 16/9) and (orientation: landscape) {
    .scribe {
        overflow-y: scroll;
    }
}


/* @media screen and (min-aspect-ratio: 660/880) and (orientation: portrait) {
    .scribe {
        overflow-y: scroll;
    }

} */



/* IPad Paysage */

@media screen and (max-width: 1024px) and (orientation: landscape)
{
    .mainzone {
        height: 100%;
        width: 100%;
    }

    .projecteur img {
        height: calc(var(--unite-base)*14);
        width: calc(var(--unite-base)*14); 
    }
    
    .legende {
        width: calc(var(--unite-base)*14);
    }

}


/* IPAD Portrait */
@media screen and (max-width: 768px) and (orientation: Portrait)
{

    .mainzone {
        height: 90%;
        width: 100%;
        padding: 0px;
    }

    .projecteur img {
        height: calc(var(--unite-base)*14);
        width: calc(var(--unite-base)*14); 
    }
    
    .legende {
        width: calc(var(--unite-base)*14);
    }

    .scribe {
        padding: 0px;
    }

    .scribe h1 {
        font-size: 28px;
    }

}


/* SMARTPHONE HD portrait */

@media screen and (max-width: 480px) and (orientation: Portrait)
{

    /* .scribe {
        height: 80%;
    } */


    .scribe .colonne {
        padding: 0px;
    }

    .scribe .colonne, .scribe .ligne {
        margin-bottom: 10px;
    }

    .scribe h1 {
        font-size: 20px;
    }
    
    .scribe p {
        font-size: 15px;
        line-height: 1.3;
    }

    .scribe {
        overflow-y: scroll;
    }

    .projecteur img {
        height: calc(var(--unite-base)*11);
        width: calc(var(--unite-base)*11); 
    }
    
    .legende {
        width: calc(var(--unite-base)*11);
        font-size: 14px;
    }

}