/*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;
}

::-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:none;
}

header{
    position:fixed;
    height:28vh;
    width: 99vw;
    padding:1vh;
    display:flex;
    justify-content: space-between;  
    background-color:white;
    border-bottom:1px solid black;
    z-index:100;
}

header .onglet{
    width:24%;
}

header .onglet h2{
    border-bottom:1px solid black;
    font-weight:lighter;
    font-size:1.64vh;
    margin-bottom:0.5vh;
    height:20px;
    width:100%;
    cursor:default;
}

header .onglet:nth-child(2) h2:hover{
    cursor:pointer;
}

header .onglet:nth-child(3) h2{
    cursor:pointer;
}

header .onglet p{
    font-weight:normal;
    font-size:1.64vh;
    margin-bottom:0.5vh;
    width:100%;
}

header .double-onglet{
    width:24%;
    display:flex;
    justify-content: space-between;
}

header .double-onglet h2{ 
    border-bottom:1px solid black;
    font-size:1.64vh;
    height:20px;    
    font-weight:normal;
    cursor:pointer;
    margin-bottom:0.5vh;
}

header .double-onglet div:nth-child(1){ 
    width:75%;  
}

header .double-onglet p{
    font-weight:normal;
    font-size:1.64vh;
    margin-bottom:0.5vh;
    width:75%;    
}

header .onglet:nth-child(2) h2:nth-child(1) a{
    color:red;
}

header .onglet:nth-child(3) h2:nth-child(2){
    margin-top:8px;
}

a {
    color:inherit;
    text-decoration: none;
}

a:hover{
    color:red;
    text-decoration: none;
}

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

#infos-contact a{
    text-decoration: none;
}

#infos-contact a:hover{
    text-decoration: underline;
}

#infos-contact p{
    width:100%;
}

.boutonSwitch{
    position:absolute;
    bottom:1%;
    right:1vh;
    font-size:1.64vh;
    cursor:pointer;
}

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

h1{
    font-weight: lighter;
    font-family: 'IBM-Plex-Sans_Light', sans-serif;
    font-size:3.75vh;
    position:absolute;
    bottom:1%;
    display:block;
}

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

.container{
    position:absolute;
    top:30vh;
    width:100vw;
    display:flex;
    flex-wrap:wrap;
    background-color:white;
}

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

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

.colonne-view-image .project{
    width:100%;
    position:relative;
    background-color:white;
}

.colonne-view-image .project img{
    width:100%;
    display:block;  
}

.colonne-view-image .project span{
    position:absolute;
    top:0%;
    bottom:0%;
    left:0%;
    opacity: 0;
    width:100%;
    height:100%;
    text-decoration: underline 1px white;
    text-underline-position: under;
    z-index:10;
    background-color:red;
}

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

.colonne-view-image .project span p{
    text-align:center;
    position:relative;
    top:50%;
    transform: translate(0%, -75%);
    color:white;
}

.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{
    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:4vh;
    border-bottom:1px solid black;
}

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

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

.colonne-view-text .project span p{
    width:15vw;
    text-transform: uppercase;
    font-size:1.64vh;
    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:4vh;
    border-bottom:1px solid black;
    position:fixed;
    background-color:white;
    display:block;
    z-index:100;
}

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

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

.filterDiv {
   opacity:0.1;
   filter:brightness(2);
   transition: opacity 0.5s ease, filter 1s ease;
}

.show {
   opacity:1;
   filter:brightness(1);
   transition: opacity 0.5s ease, filter 1s ease;
}

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

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

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

