@charset "UTF-8";

/** GLOBAL RESETS **/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
body{line-height:1;height:100%}
ol,ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}
table{border-collapse:collapse;border-spacing:0}

:link, :visited {text-decoration: none}
h1, h2, h3, h4, h5, h6, pre, code {font-size: 1em; font-weight: normal;}
ul, dl, dt, dd, ol, li, h1, h2, h3, h4, h5, h6, pre, form, body, html, p, blockquote, fieldset, input {margin: 0; padding: 0;}
a img, :link img, :visited img {border: none;}

/* apply a natural box layout model to all elements */
html {
	box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: border-box;
}
/* END RESETS */

/** GLOBAL SETS **/
:root {
	--text-blanc: rgb(250, 250, 250);
	--text-noir: rgb(8, 8, 8);
	--bleu: #0049b4;
	--fond: rgb(248, 248, 248);
	--fond-inverted: rgb(7, 7, 7);
	--positif: #222222;
	--negatif: #ffffff;
	--popup-top: 0%;
	--popup-left: 0%;
	--popup-fond: rgb(7, 7, 7);
}

.clear {clear: both;}
.hidden {display: none;}
.center {text-align: center}
.justify {text-align: justify;}
.bold {font-weight: bold}
.italic {font-style: italic}

.noir {background: black;}
.gris1 {background: rgb(240, 240, 240);}
.gris2 {background: rgb(230, 230, 230);}
.orange1 {background: rgb(254, 237, 217);}

.blanc {color: white;}
.gris {color: #999;}
.bleu {color: var(--bleu);}

/* Ajout des polices */
/* Polices fantaisies */

@font-face {
	font-family: "Font-Titre";
	src: url("./font/Harmond-ExtraBoldExpanded.otf");
}

@font-face {
	font-family: "Font-Titre9";
	src: url("./font/Harmond-ExtBdItaExp.otf");
}

@font-face {
	font-family: "SpaceGrotesk-SemiBold";
	src: url("./font/SpaceGrotesk-SemiBold.ttf");
}

@font-face {
	font-family: "Font-Texte";
	src: url("./font/Satoshi-Regular.woff2");
}

html {
	scroll-behavior: smooth;
	
	/* Taille de police de rˇfˇrence */
	font-size: 100%; /*2vw*/
	line-height: 100%;
}
@media only all and (max-width: 900px) {
	html {
		font-size: 16px;
		line-height: 18px;
	}
}

/* Corps des pages */
body {
	border: 0;
	text-align: left;
	font-family: "Font-Texte", sans-serif;

	color: #222;
	padding: 0px;
	background: var(--fondpage);
}
@media only all and (max-width: 900px) {
	body {
		margin: 0px;
	}
}

/* set font size for all divs, this overrides some body rules */
div {
	font-size: 1rem;
}

/* if img is inside "a" it would have borders, we don't want that */
img {
	border: 0;
}

/*default link styles*/
a, a:link a:active {
	text-decoration: underline;
	background-color: inherit;
	color: #0072bc;
}
a:visited {
	/* keeps the underline */
	text-decoration: underline;
	background-color: inherit;
	/* a different color is used for visited links */
	color: #0072bc;
}
a:hover {
	/* remove underline on hover */
	text-decoration: none;
	background-color: inherit;
	/* using a different color makes the hover obvious */
	color: #385C72;
}

/* BASIC LAYOUT */
#pageCtnr {
	border: 0;
	margin: 0px auto 0px auto;
	padding: 0px;
	text-align: center;
}

p {
	font-family: "Font-Texte";
	text-align: left;
	font-size: 1rem;
	line-height: 1.4rem;
	margin: 1rem 0.5rem;
	background-color: inherit;
}

.inverted {
	background-color: transparent;
	filter: invert(0%);
	-webkit-filter: invert(0%);
	transition-property: filter background-color;
	transition-duration: 0.5s;
}

.inverted:hover {
	filter: invert(100%);
	-webkit-filter: invert(100%);
}

.interLigne1 {
	width: 100%;
	height: 15vh;
	padding: 1rem;
}
@media only all and (max-width: 900px) {
	.interLigne1 {
		padding: 2rem;
	}
}

.piedpage {
	display: block;
	position: fixed;
	bottom: 0;
	right: 0;
	height: 18vh;
	min-height: 180px;
	max-height: 220px;
	text-align: center;
	background-color: transparent;
	width: 100px;
}
@media only all and (max-width: 900px) {
	.piedpage {
		left: calc(100% - 100px);
	}
}

.logoCtnr, .btnCtnr {
	margin: auto;
	padding: 0;
	display: block;
	position: fixed;
	bottom: 0;
	height: 18vh;
	min-height: 180px;
	max-height: 220px;
	left: calc(50% - 120px);
	width: 240px;
	text-align: center;
	background-color: transparent;
}

@media only all and (max-width: 900px) {
	.projet {
		left: 40px;
	}
}

.logo {
	width: 14vh;
	min-width: 150px;
	height: 14vh;
	min-height: 150px;
	
	animation: rotation 6s infinite linear;
}

@keyframes rotation {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(359deg);
	}
}

.logo2 {
	width: 5vh;
	min-width: 200px;
	height: 2.5vh;
	min-height: 100px;
	margin: 2.5vh auto;
}

.btnCtnr {
	left: 0;
	width: 10px;
	min-width: 10px;
}
@media only all and (max-width: 900px) {
	.btnCtnr {
		left: calc(100% - 10px);
		z-index: 100;
	}
}

.bouton2 {
	position: absolute;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	width: 54px;
	background-color: var(--positif);
	border-radius: 25px;
	/*cursor: pointer;*/
	cursor: url(./img/finger.png) 15 15, pointer;
	
	animation: animBtn 2s linear infinite alternate;
}
@media only all and (max-width: 900px) {
	.bouton2 {
		top: 50%;
		width: 42px;
	}
}

@keyframes animBtn {
	from {background-color: var(--negatif);}
	to {background-color: var(--positif);}
}

.bouton2 {
	left: 0.5rem;
}
@media only all and (max-width: 900px) {
	.bouton2 {
		left: calc(100% - 1rem - 42px);
	}
}

.bouton2[title]:hover::after {
	content: attr(title);
	position: absolute;
	top: -4rem;
	left: 0;
	
	background-color: var(--popup-fond);
	color: var(--text-blanc);
	padding: 1rem;
	border: 1px solid var(--fond);
	border-radius: 25px;
	
	font-family: "Font-Titre";
	font-size: 1rem;
	line-height: 1.2rem;
}
@media only all and (max-width: 900px) {
	.bouton2[title]:hover::after {
		left: calc(-1rem - 42px);
	}
}

.btnCurseur {
	display: block;
	position: relative;
	top: 0;
	right: 0;
	width: 50%;
	height: 25px;
	margin: 2px;
	background-color: #eee;
	border-radius: 25px;
}
@media only all and (max-width: 900px) {
	.btnCurseur {
		height: 20px;
		border-radius: 20px;
	}
}

.btnSlide {
	display: block;
	position: relative;
	top: 0;
	left: 23px;
}
@media only all and (max-width: 900px) {
	.btnSlide {
		left: 17px;
	}
}

.titreProjet {
	position: absolute;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	right: calc(2rem + 40px);
	text-align: right;
	font-family: Font-Titre;
	font-size: 1.3rem;
	margin: 0;
	padding: 0;
	color: var(--positif);
	
	min-width: 30vw;
}
@media only all and (max-width: 900px) {
	.page, .titreProjet {
		top: 30px;
		right: 16px;
	}
}

.number9 {
	font-family: "Font-Titre9";
}


/* Sidenav menu */
.sidenav {
	height: 100%;
	width: 100%;
	position: fixed;
	top: 0;
	right: -2500px;
	background-color: #e8e8e8;
	padding: 2rem 1rem 1rem 1rem;
	transition: left 0.5s ease;
	text-align: left;
	font-family: "Font-Texte", sans-serif;

	overflow: auto;
	/*cursor: pointer;*/
	cursor: url(./img/finger.png) 15 15, pointer;
	
	z-index: 101;
}
@media only all and (max-width: 900px) {
	.sidenav {
		display: none;
	}
}

/* Sidenav menu links */
.sidenav a {
	padding: 8px 8px 8px 32px;
	text-decoration: none;
	display: block;
	transition: 0.3s;
	width: 100%;
	margin: 0 auto;
}

.sidenav a:hover {
	/*color: var(--text-blanc);*/
}

.sidenav ul {
	list-style-type: none;
	padding: 0;
}

.sidenav li {
	text-align: center;
	padding: 0;
	border-bottom: 1px solid var(--text-noir);
}

/* Active class */
.sidenav.active {
	left: 0;
}

.sidenav ul .menu-proj {
	list-style-type: none;
	padding: 0;
}

.sidenav ul .menu-proj-li {
	padding: 0;
	margin: 0;
}
.sidenav ul .menu-proj-li:hover {
	/*color: var(--text-blanc);*/
	/*background-color: #e8e8e8;*/
}
.sidenav ul .menu-proj-li p {
	padding: 0.5rem;
	margin: 0;
	font-size: 1.8rem;
	line-height: 2rem;
	text-align: center;
	/*color: var(--text-noir);*/
	color: var(--positif);
}
.sidenav ul .menu-proj-li p:hover {
	color: var(--text-blanc);
}

.sidenav ul .menu-proj-link {
	display: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

.sidenav ul .menu-proj-img {
	display: none;
	position: relative;
	left: 0%;
	width: auto;
	height: 20vh;
	margin: 0.5rem 1rem;
	background-color: transparent;
}

/* Close btn */
.sidenav .close {
	position: absolute;
	top: 0;
	right: 1rem;
	width: 3rem;
	font-size: 2.5rem;
	color: var(--positif);
}

/* Ic™ne burger */
#openBtn {
	position: absolute;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	right: 1rem;
	
	width: 40px;
	height: 38px;
}
@media only all and (max-width: 900px) {
	#openBtn {
		display: none;
		
		height: 28px;
		right: 0;
	}
}

.burger-icon span {
	display: block;
	width: 35px;
	height: 4px;
	background-color: var(--positif);
	margin: 6px 0;
}
@media only all and (max-width: 900px) {
	.burger-icon span {
		width: 25px;
		height: 2px;
	}
}