/*
* ===========================================
* Styles CSS (général)
* ===========================================
*/



/*
* -------------------------------------------
* Général
* -------------------------------------------
*/

/* Corps de la page */

body {
	padding: 0;
	margin: 0;
	background-color: #F9F5ED;
	width: 100vw;
	height: 100vh;
	font-family: 'Gellix-Bold', 'Gellix-SemiBold', 'Gellix-SemiBoldItalic', 'Gellix-Regular', 'Gellix-RegularItalic';
	font-weight: normal;
	font-style: normal;
	font-size: 	2.3vw;
	color: #000000;
	line-height: 1.2em;
	cursor: crosshair;
	overflow-x: hidden;
}



/* Tous les Liens  et span*/
a {
	text-decoration: none;
	color: #000000;
}

a:hover{
	cursor: crosshair;
}

a:visited{
	
}

em{
	font-family: Gellix-SemiBoldItalic;
}

emEN{
	font-family: Gellix-RegularItalic;
}

spanJaune{
	color: #FFB20D;
}

spanEN{
	font-size: 1vw;
  line-height: 1.2em;
  font-family: Gellix-Regular;
}


spanInterlettrage{
  letter-spacing: -0.46px;
}


.fadeIndex{
	opacity: 0;
  transform: translateY(15px); /* léger décalage pour l'effet */
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fadeIndex.fade-in{
	opacity: 1;
  transform: translateY(0);
}

/*
* -------------------------------------------
* bandeau header
* -------------------------------------------
*/
header {
	font-size: 4vw;
	width: 96vw;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #F9F5ED;
	padding: 3.5vh 2vw; 
	position: fixed;
	z-index: 5000;

}

#gregoireBorach {
	color: black;
  position: relative;
  display: inline-block;
  font-family: Gellix-Bold;
}

/* soulignement continu */
#gregoireBorach:hover {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-decoration-thickness: 4px;
}


#btAbout {
	color: #ed3f1c;
  position: relative;
  display: inline-block;
}

/* soulignement continu */
#btAbout:hover {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-decoration-thickness: 4px;
}




/*
* -------------------------------------------
* images
* -------------------------------------------
*/

/* -------- image accueil --------*/

.imageAccueil {
  position: absolute;
  top: 0vh; 
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  opacity: 1;
  z-index: 1000;
  transition: top 0.8s ease, opacity 2s ease;

  background-image: url("images/pageAccueil/pageAccueil.jpg");
}

.imageAccueil img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.imageAccueilDisparait {
  top: -100vh;
  opacity: 0;  /* fondu */
  pointer-events: none;/* ← IMPORTANT : pour libérer les clics */
}





/* -------- grille image ---------*/

.grilleImages{
	z-index: 1;
	box-sizing: border-box;

  display: grid;
  grid-template-columns:repeat(3,1fr);
  grid-gap: 0.1vh 0.5vw;
}

.grilleImages img{
  width: 100%;
  height: 83vh;
  object-fit: cover;  
}

.img1, .img2, .img3{
  margin-top: 12vh;/*réguler margin-top écran/mobile*/
}


/* -------- affichage hover --------*/
/*https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_image_overlay_fade*/

.infrasystem:hover .boiteImage img, .pr7711:hover .boiteImage img, .en_attendant_la_pluie:hover .boiteImage img, .living_the_frame:hover .boiteImage img, .ondulab:hover .boiteImage img, .compote:hover .boiteImage img, .droproom:hover .boiteImage img, .lavandieres:hover .boiteImage img, .collectionVanves:hover .boiteImage img, .traquer_inframince:hover .boiteImage img, .murata:hover .boiteImage img, .jun_et_yuko:hover .boiteImage img, .innerTubes:hover .boiteImage img, .tubauhaus:hover .boiteImage img, .abritation:hover .boiteImage img{
 	filter: grayscale(100%) brightness(100%) contrast(70%) opacity(50%);	
}

/* ---------- legendes ----------*/

.innerTubes, .tubauhaus, .abritation, .jun_et_yuko, 
.murata, .traquer_inframince, .collectionVanves, 
.lavandieres, .droproom, .compote, .ondulab, 
.en_attendant_la_pluie, .living_the_frame , .pr7711, 
.infrasystem {
  position: relative;
}

.legende{
	opacity: 0;
	z-index: 1;
	position: absolute;
	font-family: Gellix-Bold;
	text-align: left;
	left: 1.5vw;
	top: 3.5vh;
}


.infrasystem:hover .legende, .pr7711:hover .legende, 
.en_attendant_la_pluie:hover .legende, 
.living_the_frame:hover .legende, .ondulab:hover .legende, 
.compote:hover .legende, .droproom:hover .legende, 
.lavandieres:hover .legende, .collectionVanves:hover .legende, 
.traquer_inframince:hover .legende, .murata:hover .legende, 
.jun_et_yuko:hover .legende, .innerTubes:hover .legende, 
.tubauhaus:hover .legende, .abritation:hover .legende{
  opacity: 1;
  z-index: 1;
	position: absolute;
	font-family: Gellix-Bold;
	text-align: left;
	left: 1.5vw;
	top: 3.5vh;
}



/*
* -------------------------------------------
* Pages projets
* -------------------------------------------
*/

.carreRouge{
	position: absolute;
	width: 45vw;
	height: 70vh;
	top: 12vh;
	background-color: #ed3f1c;
}

#legendePageProjet{
	position: relative;
	top: 5vh;
	left: 2vw;
	color: #FFFFFF;
	font-size: 3vw;
	line-height: 1.2em;
}

.explicationProjet{
  display: flex;
  flex-direction: column;
  position: relative;
  left: 48vw;
  width: 38vw;
  height: 82vh;
}

.explicationProjet .fr{
  margin-top: auto; /* pousse bloc vers le bas */
  font-size: 1vw;
  line-height: 1.2em;
  font-family: Gellix-SemiBold;
}

.explicationProjet .en{
  font-size: 1vw;
  line-height: 1.2em;
  font-family: Gellix-Regular;
}

#lienVideo:hover{
	text-decoration: underline;
  text-decoration-skip-ink: none;
	cursor: crosshair;
}




.grilleImagesPageProjet{
	display: grid;
	box-sizing: border-box;

  grid-template-columns:repeat(2,1fr);
  grid-gap: 0.5vw;

  margin-top: 5vh;
  padding-bottom: 0.5vw;
  padding-left: 2vw;
  padding-right: 2vw;
  position: relative;
  z-index: 1;
}

/*taille des petites images de la grille*/
.grilleImagesPageProjet img{
  width: 100%;
  height: auto;
  display: block;
}

/*taille des grandes images de la grille*/
#grandeImage {
  grid-column: 1 / 3; /*L’élément commence à la ligne de colonne 1 et s’étend jusqu’à la ligne de colonne 3 (exclue)*/
}


.legendeImages{
	padding-bottom: 0.5vw;
  position: relative;
  left: 2vw;
  width: 96vw;
  font-size: 0.85vw;
  line-height: 1.2em;
}

.legendeImages .fr{
  font-family: Gellix-SemiBold;
}

.legendeImages .en{
  font-family: Gellix-Regular;
}


/*
* -------------------------------------------
* À propos
* -------------------------------------------
*/

.carreNoirAbout{
	display: flex;
	flex-direction: column;
	position: absolute;
	width: 45vw;
	height: 100vh;
	top: 0;
	background-color: #000000;
	box-sizing: border-box;
}

.contact{
	position: relative;
	margin-top: 15vh;
  margin-left: 2vw;
	width: 43vw;
	height: auto;
	font-family: Gellix-Bold;
	font-size: 2vw;
	line-height: 1.2em;
	color: #FFFFFF;
}

/* contact hover*/
#mail, #insta, #linkedin{
	color: #FFFFFF;
}


/* soulignement continu */

#mail:hover, #insta:hover, #linkedin:hover {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-decoration-thickness: 1.5px;
  cursor: crosshair;
}


.cv{
  display: flex;
  flex-direction: column;
  position: relative;
  color: #FFFFFF;
  left: 2vw;
  width: 39vw;
  height: 82vh;
}

.cv .fr{
  margin-top: 11vh;
  font-size: 1vw;
  line-height: 1.2em;
  font-family: Gellix-SemiBold;
}

.cv .en{
  font-size: 1vw;
  line-height: 1.2em;
  font-family: Gellix-Regular;
}


.credits{
  display: flex;
  flex-direction: column;
  position: relative;
  color: #FFFFFF;
  left: 2vw;
  width: 39vw;
  bottom: 4vh;
}

.credits .fr{
  margin-top: 10vh;
  font-size: 1vw;
  line-height: 1.2em;
  font-family: Gellix-SemiBold;
}

.credits .en{
  font-size: 1vw;
  line-height: 1.2em;
  font-family: Gellix-Regular;
}



.clientsExposPublicationsFormation{
  display: flex;
  flex-direction: column;
  position: relative;
  top: 35vh;
  left: 52vw;
  width: 38vw;
  height: 61vh;
  overflow-y: scroll;
}

.clientsExposPublicationsFormation .fr{
  /* margin-top: auto; pousse bloc vers le bas */
  font-size: 1vw;
  line-height: 1.2em;
  font-family: Gellix-SemiBold;
}




/*
* -------------------------------------------
* Responsive
* -------------------------------------------
*/

.ecran{
	display:block;
}
.mobile{
	display:none;
}

