/*------- Style des pages de projets------*/


.ProjectContainer{
    z-index: 0;
    width: 75vw;
}

/*-------Style du Header/grandebarreàgauche---------*/
.TopHeader{
    height: 25%;
}

.OngDisapear{ /*faire disparaitre l'onglet "trier" dans les pages de projets*/
    display: none;
} 

/*Style des textes du Subheader/en bas du panneau de droite*/
.SubHeader{
    height: 75%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    box-sizing: border-box;
    padding: 0 1.1em 0 1.1em;
}

.ProjContextualizer{
    font-size: 0.8em;
    line-height : 1.3em;
    color: rgb(254, 139, 216);
}

.lienProjContextualizer:hover{
    color: inherit;
    text-decoration: underline;   
}

a {
        color: inherit; /* Les liens prendront la couleur héritée du texte parent */
        text-decoration: none; /* Cela supprime le soulignement par défaut des liens, mais vous pouvez le laisser si vous le souhaitez */
    }

    .ProjPrevNext{
    display: inline-flex;
    justify-content: space-between;
}

.ProjSubTitle{
    text-transform: uppercase;
    padding-top: 0.5em;
}

.ProjCorpsdeText{
    line-height: 1.3rem;
    font-size: 1em;
    overflow-y: auto;
    max-height:50%;
    scrollbar-width: thin;
    scrollbar-color: grey white;
    padding-right: 1em;
}

/*Flêche de bas de header pour passer à une autre page*/
.ProjMove{
    border: none;
    background: none;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5vh;
    width: 5vh;
    transition: all 0.2s;
}

.ProjMove:hover{
    cursor: pointer;
    background: rgb(254, 244, 55);
}

.ProjChange{
    font-size: 1.5em;
    color: black;
}

/*-------Style des images des pages verticales---------*/

.imgClassique{
    width: 100%;
    object-fit: contain;
    margin : 1vh 0 1vh 0;
}

.imgCarnets{
    width: 100%;
    object-fit: contain;
    margin : 0vh 0 0vh 0;
}

/*-------Style du Carroussel---------*/

.CarrousselContainer{
    align-items: center;
    justify-content: center;
    display: flex;
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.carrou{
    display: block;
    height: 80vh;
    width : 100%;
}

.CarrouScrol{
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    scrollbar-width: none;
    }

.imgCarrou{
    max-height: 100%;
    padding: 0 0.8em 0 0.8em;
    box-sizing: border-box;

}

.imgCarrou:first-of-type{
    margin-left: 10%;
}

.imgCarrou:last-of-type{
    margin-right: 10%;
}

.CarrouButton{
    border: none;
    background: none;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 5vh;
    width: 5vh;
    transition: all 0.2s;
    font-size: 2em;
    
    margin: 0 1em 0 1em;
    z-index: 1;
    opacity: 100%;
    transition : all 0.2s;
}

.CarrouButton:hover{
    cursor: pointer;
    background: rgb(254, 244, 55);
}

.CarrouLeft{
    left: 0;
}

.CarrouRight{
    right: 0;
}

.Buttondisapear{
    opacity: 0%;
    visibility: hidden;
}

.Colpetit{
    padding: 0%;
    margin: 0 0.5em 0 0e.5m;
}

/*---------Fonds de couleurs------*/
.FondJAUNE{
    background-color: #fff675;
}

.FondROSE{
    background-color: rgb(254, 139, 216);
}

.Fondbleu{
    background-color: rgb(198, 255, 215);
}

.Fondnoir{
    background-color: black
}

.FondBLEUCIEL{
    background-color: #5daafc;
}

.FondORANGE{
    background-color: rgb(255, 128, 55);
}

.Fondblanc{
    background-color: white
}

.FondVERTPOMME{
    background-color: #00ba5b;}

.FondNOIR{
    background-color: black;
}

/*-------------Video----------*/

/*Video classique page verticale*/
.videoPageVerticale{
    box-sizing: border-box;
    max-height: 90%;
    max-width : 100%;
    padding : 0 10% 0 10%;
    scroll-snap-align: center;
}

/*Video IFRAME page verticale*/
.coloneVideo{
    min-width: 80%;
}

/*Video IFRAME dans le carroussel*/
.ContainervideoWrapperIFRAME{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90%;
    padding: 0 1em 0 1em;
    max-height: 90%;
    max-width:100%;
    width: 100%;
}

.videoWrapperIFRAME iframe,
.videoWrapperIFRAME embed,
.videoWrapperIFRAME object{
	position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
.videoWrapperspeYT{min-width: 50vw;
overflow: hidden;}

.videoWrapperIFRAME{
    display: inline-block;
    position: relative;
	padding-top: 56.25%;
    min-width: 60vw;
}
/*Video classique dans le carroussel*/
.videoCarroussel{
    box-sizing: border-box;
    max-height: 100%;
    max-width : 80%;
    padding: 0 1em 0 1em;
}


/*LAZY LOAD*/
.fade-in {
    opacity: 0;
    filter: brightness(2);
  }
  
  .fade-in-active {
    opacity: 1;
    filter: brightness(1);
    transition: opacity 1s ease, filter 1s ease;
  }