/*
* ===========================================
* Styles CSS (mobile)
* ===========================================
*/




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

/* Corps de la page */

html{
    overflow-x: hidden;
}

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: 6.5vw;
	color: #000000;
	line-height: 1.2em;
	cursor: crosshair;
}


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

a:active{

}

a:visited{
	
}

spanJaune{
	color: #FFB20D;
}

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

spanInterlettrage{
  letter-spacing: -0.46px;
}


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

}

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


#btAbout {
	color: #ed3f1c;
  position: relative;
  display: inline-block;
  font-family: Gellix-Bold;
  font-size: 6.5vw;
}



/*
* -------------------------------------------
* 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(1,1fr);
  grid-gap: 1vh;
  padding: 2vw;
  padding-bottom: 0;
}

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

.img1 {
  margin-top: 6.2vh;/*réguler margin-top écran/mobile*/
}

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



/* ---------- 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;
  transition: opacity 0.3s ease;

  z-index: 10;
  position: absolute;
  font-family: Gellix-Bold;
  text-align: left;
  margin-left: 2vw;
  margin-top: -2vh;
}

.legende.visible {
  opacity: 1;
}

.boiteImage {
  position: relative;
  width: 100%;
  height: 70vh;
}

/* Affichage 1er clic*/
.boiteImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 260ms ease, filter 260ms ease;
}

.boiteImage img.active {
  filter: grayscale(100%) brightness(100%) contrast(70%) opacity(50%);
  transition: filter 0.3s ease;
}

.lienPageProjet {
  display: block;
}


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

.carreRougeMobile{
	display: flex;
  flex-direction: column;
  position: relative;
	width: 98vw;
	height: auto;
	top: 0vh;
	background-color: #ed3f1c;
}

#legendePageProjetMobile{
	position: relative;
	margin-top: 9vh;
	left: 5.5vw;
	padding-bottom: 2vh;
  font-size: 6vw;
	line-height: 1.2em;
	color: #FFFFFF;
}

.explicationProjetMobile{
  position: relative;
  margin-top: 3vh;
  left: 8vw;
  width: 84vw;
}

.explicationProjetMobile .fr{
  font-size: 4vw;
  line-height: 1.2em;
  font-family: Gellix-SemiBold;
}

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



#lienVideoMobile{
	text-decoration: underline;
  text-decoration-skip-ink: none;
	cursor: pointer;
}




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

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

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

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

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





.legendeImagesMobile{
	padding-bottom: 1vh;
  position: relative;
  left: 2vw;
  width: 96vw;
  font-size: 2.5vw;
  line-height: 1.2em;
}

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

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


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

.carreNoirAboutMobile{
	display: flex;
	flex-direction: column;
	position: absolute;
	width: 98vw;
	height: auto;
	top: 0vw;
	background-color: #000000;
	box-sizing: border-box;
}

.contactMobile{
	position: relative;
	margin-top: 10vh;
  margin-left: 8vw;
	width: 70vw;
	height: auto;
	font-family: Gellix-Bold;
  font-size: 4.2vw;
	line-height: 1.2em;
	color: #FFFFFF;
}

#mailMobile, #instaMobile, #linkedinMobile{
	color: #FFFFFF;
}


/* soulignement continu */
#mailMobile, #instaMobile, #linkedinMobile {
  text-decoration: underline;
  text-decoration-skip-ink: none;
}


.cvMobile{
  position: relative;
  color: #FFFFFF;
  left: 8vw;
  width: 84vw;
}

.cvMobile .fr{
  margin-top: 3vh;
  font-size: 4vw;
	line-height: 1.2em;
  font-family: Gellix-SemiBold;
}

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



.clientsExposPublicationsFormationMobile{
  position: relative;
  top: 3vh;
  left: 8vw;
  width: 84vw;
  color: #FFFFFF;
}

.clientsExposPublicationsFormationMobile .fr{
  font-size: 4vw;
	line-height: 1.2em;
	font-family: Gellix-SemiBold;
}



.creditsMobile{
  position: relative;
  color: #FFFFFF;
  left: 8vw;
  width: 84vw;
}

.creditsMobile .fr{
  margin-top: 24vh;
  font-size: 4vw;
  line-height: 1.2em;
  font-family: Gellix-SemiBold;
}

.creditsMobile .en{
	margin-bottom: 3vh;
  font-size: 4vw;
  line-height: 1.2em;
  font-family: Gellix-Regular;
}

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


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




