/*PARAMÈTRES DE LA PAGE --------------*/
/*------------------------------------*/

html, body, * {
    margin: 0;
    padding:0;
    font-family: 'IBM-Plex-Sans_Regular', sans-serif;
}

body{
    background-color: white;
    font-family: 'IBM-Plex-Sans_Regular', sans-serif;
    width:100vw;
    overflow-x: hidden;
}

::-webkit-scrollbar
{
    display:none;
}

/*TYPOGRAPHIES -----------------------*/
/*------------------------------------*/

@font-face { 
    font-family: 'IBM-Plex-Sans_Light';
    src: url('../../Fontes/IBMPlexSans-Light.eot');
    src: url('../../Fontes/IBMPlexSans-Light.eot?#iefix') format('embedded-opentype'),
       url('../../Fontes/IBMPlexSans-Light.woff2') format('woff2'),
       url('../../Fontes/IBMPlexSans-Light.woff') format('woff'),
       url('../../Fontes/IBMPlexSans-Light.ttf') format('truetype'),
       url('../../Fontes/IBMPlexSans-Light.otf') format('opentype');
}

@font-face { 
    font-family: 'IBM-Plex-Sans_Regular';
    src: url('../../Fontes/IBMPlexSans-Regular.eot');
    src: url('../../Fontes/IBMPlexSans-Regular.eot?#iefix') format('embedded-opentype'),
       url('../../Fontes/IBMPlexSans-Regular.woff2') format('woff2'),
       url('../../Fontes/IBMPlexSans-Regular.woff') format('woff'),
       url('../../Fontes/IBMPlexSans-Regular.ttf') format('truetype'),
       url('../../Fontes/IBMPlexSans-Regular.otf') format('opentype');
}

/*PARAMÈTRES DU HEADER ---------------*/
/*------------------------------------*/

#bouton-wrapper-mobile{
    display:block;
    height:3.5vh;
    margin-bottom:0.5vh;
    width:10vw;
    cursor:pointer;
}

.wrapper-up{
    visibility: visible;
}

.wrapper-down{
    visibility: hidden;
}

header {
    position:fixed;
    height:4vh;
    width: 97vw;
    overflow-y: hidden;
    background-color:white;
    padding:2vh 1.5vw;
    display:flex;
    flex-direction: column;
    justify-content: flex-start;
    border-bottom:2px solid black;
    z-index:100;
    transition: height 0.5s;
}

header .onglet:nth-child(1){
    width:97%;
    display:flex;
    justify-content: space-between;
    position:absolute;
}

header .onglet h2, header .double-onglet h2{
    border-bottom:2px solid black;
    font-size:2.4vh;
    margin-bottom:0.5vh;
    height:3.5vh;
    width:80vw;    
    cursor:default;
    font-weight:lighter;
}

header .onglet:nth-child(2), header .onglet:nth-child(3), header .double-onglet{
    margin-top:2vh;
    position:relative;
    top:4vh;
}

header .double-onglet{
    width:100%;
    display:flex;
    flex-direction: column;
    justify-content: flex-start;
}

#biographie, #infos-contact{
    height:0vh;
    overflow-y: hidden;
    transition:all ease 0.5s;
}

#titreProjet{
    display:none;
}

.boutonSwitch{
    position:relative;
    bottom:1%;
    left:0vw;
    font-size:2.4vh;
    cursor:pointer;
    margin-top:2vh;
}

button {
    position: relative;
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    text-align:left;
}

/*SECTION PROJETS --------------------*/
/*------------------------------------*/

.container{
    position:absolute;
    top:8vh;
    width:100vw;
    max-width:100vw;
    min-width:100vw;
    display:flex;
    flex-wrap:wrap;
}

/*SECTION PROJETS : IMAGE VIEW -------*/
/*------------------------------------*/

.colonne-view-image{
    width:100vw;
    max-width:100vw;
    min-width:100vw;
    display:flex;
    flex-direction:column;
    position:relative;
}

.colonne-view-image .project{
    width:100vw;
    max-width:100vw;
    min-width:100vw;
    position:relative;
    background-color:white;
    padding-bottom:7vh; 
}

.colonne-view-image .project img{
    width:100vw;
    max-width:100vw;
    min-width:100vw;
    display:block; 
}

.colonne-view-image .project span{
    position:absolute;
    top:auto;
    bottom:1vh;
    left:0%;
    width:100vw;
    max-width:100vw;
    min-width:100vw;
    height:5vh;
    text-decoration: none;
    z-index:10;
    background-color:transparent;
    opacity:1;
}

.colonne-view-image .project:hover span{
    opacity: 1;
}

.colonne-view-image .project span p{
    text-align:center;
    position:relative;
    height:2.5vh;
    top:0%;
    transform: translate(0%, 0%);
    color:black;
    font-size:4vw;
}

.colonne-view-image .project span p:nth-child(3), 
.colonne-view-image .project span p:nth-child(4), 
.colonne-view-image .project span p:nth-child(5), 
.colonne-view-image .project span p:nth-child(6){
    display: none;
}

.colonne-view-image .project-header-text, .colonne-view-image .none{
    display:none;
}

/*SECTION PROJETS : TEXT VIEW --------*/
/*------------------------------------*/

.colonne-view-text{
    width:100vw;
    display:flex;
    flex-direction:column;
}

.colonne-view-text:nth-child(1){
    margin-top:1px;
}

.colonne-view-text .project{
    width:100%;
    height:5vh;
    border-bottom:2px solid black;
}

.colonne-view-text .project:hover{
    background-color:red;
}

.colonne-view-text .project span{
    display:flex; 
    justify-content: space-around;
    padding-top:2vh;
}

.colonne-view-text .project span p:nth-child(3),
.colonne-view-text .project span p:nth-child(6){
    display: none;   
}

.colonne-view-text .project span p{
    width:22vw;
    text-transform: uppercase;
    font-size:1.5vh;
    color:black;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.colonne-view-text .project img{
    display:none; 
}

.colonne-view-text .project-header-text{
    width:100%;
    height:5vh;
    border-bottom:2px solid black;
    position:fixed;
    background-color:white;
    display:block;
    z-index:90;
}

.colonne-view-text .project-header-text span{
    display:flex; 
    justify-content: space-around;
    padding-top:2vh;
}

.colonne-view-text .project-header-text span p:nth-child(3),
.colonne-view-text .project-header-text span p:nth-child(6){
    display: none;  
}

.colonne-view-text .project-header-text span p{
    width:22vw;
    text-transform: uppercase;
    font-size:1.5vh;
}

.filterDiv {
   opacity:1;
   filter:brightness(1);
}

.show {
   opacity:1;
   filter:brightness(1);
}

/*CHARGEMENT DES IMAGES --------------*/
/*------------------------------------*/

.fade-in {
    opacity: 0.1;
    filter: brightness(2);
}

.fade-in-active {
    opacity: 1;
    filter: brightness(1);
    transition: opacity 0.5s ease, filter 1s ease;
}
