:root{
	--color1: white;
	--color2: #090C9B; /*#1b207e*/
	--color3: yellow;
	
	color: var(--color2);

	scroll-behavior: smooth;
	scrollbar-width: auto;
	-ms-overflow-style: auto;  /* IE and Edge */
	scrollbar-color: var(--color2) var(--color1);
}

::selection{
	color: var(--color2);
	background-color: var(--color3);
}

body{
	background-color: var(--color1);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#global{
/*	margin: 10px;*/
/*	display: grid;*/
	grid-template-columns: 1fr 1fr 1fr;
	width: 100%;
}

/*------------------------- header*/
header{
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 3;
}

#presentation{
	padding: 15px 15px 8px 15px;
	border-bottom: 1px solid var(--color2);
	grid-column: 1/4;

	display: grid;
	grid-template-columns: 1fr 1fr 0.4fr;
	background-color: var(--color1);
}

/*#headerindex:hover{
	background-color: white;
}*/

a{
	text-decoration: none;
	color: var(--color2);
}

a:hover{
/*	text-decoration: underline;*/
	box-shadow: inset 0px -40px 14px -35px var(--color3);
}

p{
	font-family: 'lucette';
	font-size: 1.2em;
}

#liens{
	grid-column: 3/4;
	text-align: right;
}

.globalindex #nom{
	margin-bottom: 10px;
}

#nom{
	font-family: 'lucette-ital';
	font-size: 1.5em;
	width: max-content;
}

#mailDesktop{
	display: inline;
}

#mail{
	display: none;
}

/*------------ nav*/

nav{
/*	background-color: var(--color1);*/
/*	border-radius: 0  0 25px 25px;*/
/*	padding: 10px;*/
/*	border-bottom: 1px solid var(--color2);*/

	display: flex;
	justify-content: flex-start;
	padding: 15px 0;
	box-shadow: inset 10px 40px 3.5em -20px var(--color1);

	overflow-x: scroll;
	-ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */

	
}

h3{
	display: flex;
	color: var(--color2);
	font-family: 'lucette';
	font-size: 1.5em;
	cursor: pointer;
	background-color: var(--color3);
	padding: 0 3vw;
	border-radius: 10px;
	margin: auto 0 0 15px;
	height: 8vh;
	width: auto;
/*	max-width: 10vw;*/
	align-items: center;
	flex-grow: 0;
	
/*	height: 50px;*/
/*	text-align: center;*/


}

h3:hover{
	background-color: var(--color2);
	color: var(--color1);
}

.activetag{
	background-color: var(--color2);
	color: var(--color1);
}

/*------------ fin nav*/
/*------------------------- fin header*/

/*------------------------- année*/
#annee1{
	border-top: 1px solid var(--color2);
}

h4{
	font-family: 'lucette-ital';
	font-size: 1.5em;
	letter-spacing: 3em;
	text-align: center;
	padding: 10px;
/*	border-bottom: 1px solid var(--color2);*/
	box-shadow: inset 0px 40px 10px -35px var(--color2);
	color: var(--color2);
	text-transform: uppercase;
}

/*------------------------- fin année*/

/*------------------------- archives*/
.archives{
	background-color: lightgrey;
	border-color: var(--color3);
}

.archives #title{
	box-shadow: none;
	font-size: 3em;
	text-align: center;
	cursor: pointer;
	background-color: var(--color2);
	letter-spacing: 1em;
	color: var(--color1);
}

/*------------------------- fin archives*/


/*------------------------- images projets*/
.imgallprojects{
	position: fixed;
	/*padding: 40px;
	height: 100%;*/
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 0;
}

.projet .imgallprojects{
	visibility: hidden;
/*	opacity: 0;*/
	height: 20vw;
	display: block;
	position: fixed;
/*	transition: opacity 0.1s ease-in-out;*/
}

/*.projet .detail{
	visibility: hidden;
}

.projet:hover .detail{
	visibility: visible;
}*/

.projet:hover .imgallprojects{
	visibility: visible;
	opacity: 1;
}

/*.imgallprojects #img1{
	margin-top: 15vh;
}*/

/*------------------------- fin images projets*/


/*------------------------- projets*/
.projetlien h2::after{
	content: '[⤤]';
	margin-left: 15px;
	font-family: 'lucette';
	font-size: 0.7em;
}

.projetlien .projet:hover{
/*	box-shadow: inset 0px -40px 14px -35px var(--color3);*/
}

h2{
	font-family: 'lucette-ital';
	font-size: 3.5em;
/*	margin-bottom: 5vh;*/

	transition: all 0.1s ease-in-out;
}

/*h2:hover{
	font-family: 'lucette';
	transform: skew(30deg);
}*/

/*.hoverh2 h2{
	font-family: 'lucette';
	transform: skew(30deg);
}*/

.listeprojets{
	grid-column: 1/4;
	margin-top: 22vh;

}

.projet{
	position: relative;
	padding: 15px;
	border-bottom: 1px solid var(--color2);

	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
/*	grid-template-rows: 1fr 1fr;*/
	row-gap: 25px;
	width: inherit;

	height: 100%;
	overflow: hidden;
	z-index: 0;
	cursor: pointer;
/*	transition: all 0.5s ease-in-out;*/
}

.active{
	padding-bottom: 0;
	padding-left: 0;
}

.active .imgintro{
	padding-left: 15px;
}

.active h2{
	font-family: 'lucette';
	transform: skew(30deg);
}

.projet:hover{
/*	box-shadow: inset 0px -40px 1.9em -35px var(--color2);*/
	box-shadow: inset 0px -50px 50px -35px var(--color3);
}

.projet p{
	grid-column: 3/4;
	margin-left: 15px;
}

.imgintro{
	grid-column: 1/3;
}

#typographies .imgintro{
	grid-column: auto;
}

.contenu{
	grid-column: 3/4;
	grid-row: 2/2;
	height: 71vh;
/*	width: 70%;*/
	/* margin-bottom: 5vh; */
	border-top: 1px solid var(--color2);
	padding-top: 15px;
	overflow-y: scroll;
	-ms-overflow-style: none;  /* Pour IE et Edge */
    scrollbar-width: none;     /* Pour Firefox */
}

.text-infos-projet{
	margin-bottom: 5vh;
}

.contenu p{
	max-width: 28rem;
	line-height: 1.1em;
	margin-bottom: 0.8em;
}

.contenu p a{
	box-shadow: inset 0px -40px 14px -35px var(--color3);
}

/* Grille infos livrables */
.projet-infos{
	display: flex;
	margin-bottom: 20px;
	border-bottom: 1px solid;
}

.infos-item{
	max-width: 100vw;
}

.infos-label{
	width: 8vw;
}

.infos-text{
	border-bottom: 1px solid;
	padding-bottom: 10px;
	margin-bottom: 10px;
	max-width: none !important;
}

#last-infos-item{
	border: 0;
}

.content p{
	line-height: calc(1.2em + 0.2pt);
}

p:not(.downloadlink, #nom, #lang) a::after{
	content: ' [⤤]';
}



.downloadlink{
	margin-top: 15px;
	display: flex;
	justify-content: flex-end;
}

.downloadlink a{
	color: var(--color2);
	padding: 8px 15px;
	margin-left: 15px;
	border: 1px solid var(--color2);
}

.downloadlink a:hover{
	background-color: var(--color2);
	color: var(--color1);
	border: 1px solid var(--color2);
}

i{
	font-family: 'lucette-ital';
}

/*------------ images*/
.imgproject{
/*	position: absolute;*/
/*	display: grid;*/
/*	grid-template-columns: 1fr 1fr 1fr;*/
	background-color: var(--color3);

	
/*	width: 40%;*/
	height: 20%;
	top: 0;
	z-index: 1;
}

.contenuimg{
	grid-column: 1/3;
	grid-row: 2/2;
	width: 100%;
	height: 70vh;
	padding: 18px 0 15px 0;
	border-top: 1px solid var(--color2);
	border-right: 1px solid var(--color2);
/*	margin-right: 15px;*/
/*	top: 10vh;*/
/*	right: 15px;*/
/*	transform: translate(-35%);*/

	overflow-y: scroll;

  scroll-behavior: smooth;
	scrollbar-width: thin;
	-ms-overflow-style: auto;  /* IE and Edge */
	scrollbar-color: var(--color2) var(--color3);
}

figure{
/*	background-color: white;*/
/*	box-shadow: 0px -40px 50px var(--color1);*/
	height: 100%;
	padding-left: 15px;
	display: flex;
	flex-direction: column;
}
.image-section{
	order: 2;
}

.video-section{
	display: inline;
	height: auto;
	width: auto;
	margin-bottom: 15px;
}

.video-start{
	order: 1;
}

.video-end{
	order: 3;
}


.sizeImg .contenuimg img, .sizeImg .contenuimg video{
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	margin-bottom: 15px;
}

.contenuimg iframe{
	height: 60vh;
	width: 60vw;
}

.media-content{
	position: relative;
	padding-top: 56.5%;
	overflow: hidden;
	max-width: 100%;
	margin-right: 10%;
	margin-bottom: 15px;
}

.media-background{
	background-color: white;
	position: absolute;
	width: auto;
	height: auto;
	top: 1px;
	left: 1px;
	right: 1px;
	bottom: 1px;
	z-index: -1;
}

.media-item{
	position: absolute;
	top: 0;
	/* left: 50%;
	transform: translate(-50%, -50%); */
}

.container-media{
	background-color: grey;
	height: auto;
	margin-left: 15px;
	padding-left: 0;
	margin-bottom: 15px;
}

.media-figure{
	margin-bottom: 0 !important;
	vertical-align: middle;
	opacity: 0;
	transition: opacity 0.5s;
	height: inherit;
}

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

/*------------------------- fin projets*/

/*------------------------- footer*/
footer{
	padding: 15px 15px 8px 15px;
	display: grid;
	grid-template-columns: 1fr 1fr 0.3fr;

	line-height: calc(1.2em + 0.2pt);
}

#about-site{
	grid-column: 1/2;
}

#amies{
	grid-column: 3/4;
	text-align: right;
}

#separationFooter{
	display: none;
}

/*------------------------- fin footer*/

/*------------------------- page index*/
/*#randomimages{
	height: 100vh;
	overflow: hidden;
	position: relative;
	z-index: 3;
	padding: 15px;
}

#randomimages img{
	width: 20vw;
	position: relative;
}*/

.globalindex #presentation{
	background-color: transparent;
	border-bottom: 0;
}

.pbkcolor{
	background-color: var(--color3);
	display: inline-block;
}

main{
	position: relative;
/*  	z-index: 3;*/
  	width: 100%;
  	height: 100vh;
  	overflow: hidden;
}

canvas {
  display: block;
}

#lienspageindex{
	display: grid;
	grid-template-columns: 1fr 1fr;
	position: absolute;
	bottom: 3vh;
}

/*.about{
	margin-top: 10px;
	max-width: 70%;
}

#quisuisje{
	display: flex;
	flex-direction: column;
}*/


#lienspageindex .projet{
	border: none;
/*	background-color: rgba(9, 12, 155, 0.5);*/
	box-shadow: inset 0px -110px 14px -35px var(--color1);
	border-bottom: 1px solid;
}

#lienspageindex .projet:hover{
	background-color: var(--color3);
}

#lienspageindex a:hover{
	box-shadow: none;
}

.globalindex footer{
	position: absolute;
	top: 102vh;
	width: calc(100% - 40px);
/*	background-color: var(--color1);*/
}

/*------------------------- fin page index*/

/*------------------------- page typographies*/
.projettypo a:hover{
	box-shadow: none;
}

#typographies{
	display: grid;
	grid-template-columns: 1fr;
	margin-top: 10vh;
}

#typographies p::selection, #typographies a::selection, #typographies h2::selection{
	background-color: var(--color1);
}

.projettypo{
	padding: 15px 15px 5px 15px;
	border-bottom: 1px solid;
}

.projettypo .typetester{
	width: 100%;
}

.projettypo .infosprojets{
	/* margin-bottom: 0; */
}

.projettypo:hover{
	background-color: var(--color3);
}

.typotest{
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 15px;
}

.infosprojets{
	display: grid;
	grid-template-columns: 3fr 1fr 1fr 1fr;
	column-gap: 15px;
	margin-bottom: 20px;
}

.active-content h2{
	cursor: pointer;
}

.infostypo{
	grid-column: 3/4;
}

.infostypo span{
	cursor: pointer;
}

.infosprojets .downloadlink{
	width: 20vw;
}

/*------------ texte infos typo*/
.txtinfos{
	width: auto;
	margin-top: 15px;
	grid-row: 2/2;
}

/*------------ fin texte infos typo*/

/*------------ typetester*/
.typetester{
	grid-column: 1/3;
	width: 80%;
}

.fontname{
	cursor: pointer;
	border: 1px solid transparent;
	padding: 5px 8px;
	margin-left: -1px;

}

input.font-size{
	-webkit-appearance: none;
	background-color: var(--color2);
	height: 1px;
	margin-top: 10px;
}

.projettypo:hover input.font-size::-moz-range-thumb{
	background-color: var(--color3);
}

input.font-size::-moz-range-thumb{
	background-color: transparent;
	border: 1px solid var(--color2);
	border-radius: 0;
	background-color: var(--color1);
}

.fontname:hover{
	border-color: var(--color2);
}

.selected{
	border-color: var(--color2);
}

.fontSize-input{
	display: flex;
	padding: 5px 8px;
}

.text-area{
	overflow: hidden;
	outline: none;
	background-color: transparent;
	font-size: 8em;
	color: var(--color2);
	width: 100%;
	border: none;
}

.text-area::selection{
	background-color: white;
}

.text-area::placeholder{
	color: var(--color2);
}

.text-area:focus::placeholder{
	opacity: 0.6;

}

.uppercase{
	text-transform: uppercase;
}

.ptest2, .ptest3{
	font-size: 3em;
	line-height: 1.2em;
}

.typelegend{
	position: relative;
/*	top: -28px;*/
	text-align: right;
/*	font-size: 1em;*/
}

.fontsettings{
	position: relative;
	display: flex;
	padding: 8px 0px;
}

/*.trame{
	font-family: 'lucette-ital';
}*/

#grandesserresTrame1, #grandesserresTrame2{
	font-family: 'grandesserres-trame';
	text-transform: uppercase;
	padding: 30px 15px 25px 15px;
}

#grandesserresRegular{
	font-family: grandesserres;
	text-transform: uppercase;
	padding: 30px 15px 25px 15px;
}

#matisse{
	font-family: 'matisse';
	padding: 40px 15px 40px 15px;
	font-size: 14em;
	line-height: 10rem;
}

.testbox1 #panoplieBarreaux{
	/* font-size: 12em; */
}

.testbox1 #panoplieBigBrother{
	font-size: 10em;
}

.testbox1 #panopliePuces{
	font-size: 8em;
}

#panoplieBarreaux{
	font-family: 'panoplie-barreaux';
	padding: 30px 15px 25px 15px;
	
}

#panoplieBigBrother{
	font-family: 'panoplie-bigbrother';
	padding: 30px 15px 25px 15px;
}

#panopliePuces{
	font-family: 'panoplie-puces';
	padding: 30px 15px 25px 15px;
}

#boniot{
	font-family: 'boniot';
	padding: 30px 15px 25px 15px;
	text-transform: uppercase;
}

#meandre{
	font-family: 'meandre';
}

/*Style of select*/

select{
	font-family: 'lucette';
	font-size: 1.2em;
/*	display: none;*/
	border: 0;
	background-color: transparent;
	color: var(--color2);
}

.selected-toggle{
	display: none;
}

.toggle-images{
	padding: 5px 8px;
	border: 1px solid transparent;
	cursor: pointer;
}

.toggle-images:hover{
	border-color: var(--color2);
}

.fontinuse-section{
	grid-column: 1/5;
	margin-top: 15px;
	padding: 15px 0 23px 10px;
	background-color: var(--color1);
	border-bottom: 1px solid var(--color2);
	border-top: 1px solid var(--color2);
}

.fontinuse-img{
	width: 95vw;
}

.fontinuse-video{
	display: flex;
}

.fontinuse-img figure{
	display: flex;
	flex-direction: row;
	width: auto;
	overflow-y: scroll;
	padding-left: 0;
	scrollbar-width: thin;
}

.fontinuse-img figure img{
	height: 30vh;
	padding-right: 10px;
}

.fontinuse-img figure iframe{
	background-color: black;
	margin-right: 10px;
}



/*------------ fin typetester*/

/*------------------------- fin page typographies*/