/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain) */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
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;
}

/* ---------------------------------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}

body {margin: 0;}

h1 {text-decoration: none;
	font-size: 3.5em; 
	font-family: Arial Narrow;
	color: #FFFFFF;
  }

h2 {color: #722033;
	text-decoration: none;
	font-size: 1.8em; 
	font-family: Arial Narrow;
	cursor: default;}

h3 {color: black;
	text-decoration: none;
	font-size: 1.4em; 
	font-family: Arial Narrow;
	cursor: default;
	margin: 20px auto 8px auto;
}

h4 { font-size: 0.8em;
	font-family: Arial Narrow;
	color: grey;
  	text-decoration: none;
}

h5{	color: #722033;
	text-decoration: none;
	font-size: 2em; 
	font-family: Arial Narrow;
	cursor: default;
	text-align: center;
	margin: 50px auto auto auto;
	}

h6{	color: black;
	text-decoration: none;
	font-size: 1.5em; 
	font-family: Arial Narrow;
	cursor: default;
	margin: 50px auto 10px auto;
}

.h7{color: grey;
	text-decoration: none;
	font-size: 1.3em; 
	font-family: Arial Narrow;
	cursor: default;
	line-height:1.1em;
}

.h8{color: grey;
	text-decoration: none;
	font-size: 1.6em; 
	font-family: Arial Narrow;
	cursor: default;
	margin: 5% auto auto auto;}

.gras{color: black;
}

.tech{
	margin: auto auto 50px auto;
}

.zeroecart{
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
}

p { font-size: 1.1em;
	font-family: Arial Narrow;
	color: grey;
  	text-decoration: none;
	}

/*hr{
	margin: 5px auto 15px auto;
}*/

section {
	display: block; 
	position: absolute;
	left: 50%;
	right: 5%;
	top: 50%;
	transform: translate(0, -50%);
 	-ms-transform: translate(0, -50%);
	text-align: justify;
}

a{text-decoration: none;
	color: #722033;
	-webkit-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}

/* ------------------------------------------ SCROLLBAR PERSO -------------------------------------------- */

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #FFFFFF; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: grey; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

/* ------------------------------------------ MENU SIDEBAR -------------------------------------------- */

.log{
	position: absolute;
	top:0px;
	left: 0px;
	padding: 10px 50px;
}

li {
  float: right;
}

li a {
  display: block;
  color: grey;
  text-align: center;
  font-family: Arial Narrow, sans-serif;
  font-size: 1.5em;
  padding: 20px 35px;
  text-decoration: none;
  margin-bottom: 0px;

  -webkit-transition-duration: 0.3s;/* commande survol */
 	transition-duration: 0.3s;
}

/* Change the link color on hover */
li a:hover {
  background-color: #FAFAFA;
  color: #722033;
}

li a.active {
  color: #722033;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0px 15px 0px 0px;
  overflow: hidden;
  background-color: #FFF;
  height: 105%;
  /*border: 1px solid #e7e7e7; */
}

@media screen and (max-width: 900px) { /* Le navbar change quand on descend en dessous de 900px*/
  li {font-size: 0.9em;
	}
}

@media screen and (max-width: 667px) { /* Le navbar se met en colonne quand on descend en dessous de 667px*/
  li {float: none;
	  font-size: 0.8em;
	  padding: 0px 10px;
	  text-align: right;
	}
}

/* ------------------------------------------ FOOTER -------------------------------------------- */
/* ----- FOOTER BLANC ----- */

.footer-r {
/*  position: fixed;*/       /* définit le sticky*/
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100px;
  color: transparent;
  text-align: center;
  font-family: Arial Narrow;
  text-decoration: none;
  position: relative;
  cursor:default;
}

.footer-r a:hover{
	opacity:0.2;
}

.fa {
  padding: 7.5px 15px 7.5px 15px; /* écart entre le logo et le bord du cercle*/
  font-size: 1.1em;
  text-align: center;
  text-decoration: none;
  margin: 12px 12px;
  border-radius: 50%;
  color: #722033;

	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}

.fa:hover{
	transform-origin: 50% 50%;
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}

.num{
	opacity:0;
	position: absolute;
	bottom: 100px;
	left: 46%;
	-webkit-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
	-webkit-transform: scale(0);
	transform: scale(0);
}

.fa-wechat:hover ~ .num{
	opacity:1;
	transform-origin: 50% 50%;
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}

.localisation{
	  opacity:0.6;
	  padding-left: 2em;
}

.localisation .fa{
  padding: 0px 0px 0px 0px; /* écart entre le logo et le bord du cercle*/
  font-size: 20px;
  text-align: center;
  text-decoration: none;
  margin: 8px 8px;
  border-radius: 50%;
  color: grey;
}

.localisation .fa:hover{
	transform-origin: 50% 50%;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.straight{
	font-size: 1.2em;
	text-align: center;
	font-family: Arial Narrow;
	color: white;
  	text-decoration: none;
  	display:inline-block;;
  	margin-bottom: 30px;
  	margin-top: 20px;
  	opacity:1;
  	cursor: pointer;

  	-webkit-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
	transform-origin: 50% 0%;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.straight .fa:hover{
	-webkit-transform: scale(1);
	transform: scale(1);	
}

.straight:hover{
	transform-origin: 50% 50%;
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
	opacity: 0.2;
}

/* ------------------------------------------ PAGE PROFIL -------------------------------------------- */
/* ----------- Définir deux colonnes ------------ */
.flexbox-container {
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
}

.flexbox-container > div {
	width: 50%;
	padding: 0px;
}

/*.flexbox-container > div:first-child {
	margin-right: 20px;}*/

.gauche{
	text-align: right;
	margin-right: 25px;

	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}

.droite{
	text-align: left;
}

div.gauche:hover{
	margin-right: 0px;
	transform-origin: 100% 50%;
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}

.competences{
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
}

div.competences:hover{
	transform-origin: 50% 50%;
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

/* ----------- Définir quatre colonnes - competences ------------ */
.flexbox-container-quatre {
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	overflow: hidden;
	padding-left: 50px;
	padding-right: 50px;
	}

.flexbox-container-quatre > div {
	width: 25%;
	text-align: center;
}

/*.flexbox-container > div:first-child {
	margin-right: 20px;}*/

/* ----------- Définir quatre colonnes - GIF ------------ */
.flexbox-container-quatre-gif {
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	overflow: hidden;
	padding-left: 50px;
	padding-right: 50px;
}

.flexbox-container-quatre-gif > div {
	width: 25%;
	height: 25%;
	text-align:center;
	padding-left: 10px;
	padding-right: 10px;
}


/* ----- Chagement d'images en GIF au survol ----- */

.image_off, #layer:hover .image_on{
   	display:none;
   	min-height:0;
   	min-width:0;
 	width:100%;
	height:100%;
}
.image_on, #layer:hover .image_off{
 	display:block;
 	min-height:0;
 	min-width:0;
    width:100%;
  	height:100%;
}

/* ----------- Citations ----------------*/

.citation{
	margin-left: 1.5%;
	margin-right: 1.5%;
}


.button-deux {
	background-color: transparent;
	border: 1.1px solid #722033; 
	color: #722033;
	padding: 15px 35px;
	text-align: center;
	text-decoration: none;
	font-family: Arial Narrow, sans-serif;
	cursor: pointer;

	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

a.button-deux:hover {
	font-size: 1.2em;
}

/* ----------- Définir quatre colonnes - recommandations ------------ */
.flexbox-container-quatre-reco {
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	overflow: hidden;
	padding-left: 50px;
	padding-right: 50px;
	padding-bottom:100px;
	}

.flexbox-container-quatre-reco > div {
	width: 25%;
	text-align: center;
}


/* ------------------------------------------ PAGE PORTFOLIO -------------------------------------------- */
/* ----------- Grille portfolio ------------ */

nav { /*Design de la grille  ---------------------*/
  display: grid;
  grid-template-columns: repeat(4, 7fr);
  grid-gap: 30px;
  border-top: 60px solid transparent;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 60px solid transparent;
  flex-direction: row;
}

.filterDiv {  /*Design des éléments --------------*/
  position: relative;
  float: left;
  width: 100%;
/*  line-height: 100px;*/
  text-align: center;
  margin: 2px;
  display: none; /* Hidden by default */
}

.btn { /*Design des boutons ----------------------*/
	font-size: 1.4em;
	margin: 30px 10px 10px 10px;
  	background-color: transparent;
	border: 1.1px solid #722033; 
	color: #722033;
	padding: 15px 35px;
	text-align: center;
	text-decoration: none;
	font-family: Arial Narrow, sans-serif;
	cursor: pointer;
	opacity: 0.6;

	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.btn:hover {
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
	opacity:1;
}

.acti {
  	opacity: 1;
  	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

.acti:focus{
	outline: none;
}

.coco{
	position: relative;
}

.text_coco {
  color: #722033;
  font-size: 1.6em;
  font-family: Arial Narrow;
  position:absolute;
  top:50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  opacity:0;
}

.coco:hover{
	opacity: 0;
}

.filterDiv:hover .text_coco{
	opacity:1;
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

/* ------------------------------------------ PAGE PROJET -------------------------------------------- */

.lefty{
	text-align: left;
	margin: 1em 1em 1em 3em;
}

.righty{
	text-align: center;
	margin: 1em 3em 1em 1em;
}

.flechesun{
	color:#722033;
	text-decoration: none;
	font-size: 1.5em; 
	font-family: Arial Narrow;
	cursor: pointer;
	text-align: left;
	display: flex;
    justify-content: space-between;

    -webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
}

.flechesun a:hover{
	transform-origin: 50% 50%;
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

/* ------- Grille page projet ------- */

/* The grid: Four equal columns that floats next to each other */
.column {
  float: left;
  width: 10.5vw;
  height: 10.5vw;
  padding: 1vw;
}

/* Style the images inside the grid */
.column img {
  opacity: 0.8; 
  cursor: pointer;
  max-height: 100%;
  max-width: 100%;
  position: relative;
  top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);

}

.column img:hover {
  opacity: 1;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* The expanding image container (positioning is needed to position the close button and the text) */
.righty .container {
  position: relative;
  text-align: center;
  display: block;

}
/* Expanding image text */
#imgtext {
  position: absolute;
  bottom: 50%;
  left: 50%;
  color: transparent;
  font-size: 25px;
  font-family: Arial Narrow;
	cursor: default;
}

/* ---------------------------------------- PAGE PRIVACY POLICY ------------------------------------------*/

.bakk{
	display: block; 
	position: absolute;
	left: 25%;
	right: auto;
	top: 85%;
	transform: translate(-50%, 0);
 	-ms-transform: translate(-50%, 0%);
	text-align: justify;
	font-size: 1.7em; 
	font-family: Arial Narrow;
}

.bakk:hover{
	font-size: 1.8em;
	color: grey;
	-webkit-transition-duration: 0.4s;/* commande survol */
 	transition-duration: 0.4s;
}

.logo_about{
	display: block; 
	position: absolute;
	left: 43%;
	right: auto;
	top: 45%;
	transform: translate(-50%, -50%);
 	-ms-transform: translate(-50%, -50%);

}

@media screen and (max-width: 900px) {
	.bakk {
		display: block; 
		position: absolute;
		left: 25%;
		right: auto;
		top: 85%;
		transform: translate(-50%, 0);
	 	-ms-transform: translate(-50%, 0%);
		text-align: justify;
		font-size: 1.5em; 
		font-family: Arial Narrow;
	}

	.logo_about{
		display: block; 
		position: absolute;
		left: 25%;
		right: auto;
		top: 40%;
		transform: translate(-50%, -50%);
	 	-ms-transform: translate(-50%, -50%);
	}
}

@media screen and (max-width: 667px) {
		.bakk {
		display: block; 
		position: absolute;
		left: 50%;
		right: auto;
		top: 55%;
		transform: translate(-50%, 0);
	 	-ms-transform: translate(-50%, 0%);
		text-align: justify;
		font-size: 1.5em; 
		font-family: Arial Narrow;
			}

		.bakk:hover{
			font-size: 1.6em;
			color: black;
		}

		.logo_about{
			left: 50%;
			right: auto;
			top: 30%;
			transform: translate(-50%, -50%);
		 	-ms-transform: translate(-50%, -50%);
		}

		section {
			display: block; 
			left: 5%;
			right: 5%;
			top: 850px;
			text-align: justify;
		}
}

/* ---------------------------------------- PAGE 404 ------------------------------------------*/
.logo_abou{
	display: block; 
	position: absolute;
	left: 50%;
	right: auto;
	top: 45%;
	transform: translate(-50%, -50%);
 	-ms-transform: translate(-50%, -50%);
}



/* ----------------------------------------- JOUONS ----------------------------------------------*/
.titeul{

	color: #000;
	text-decoration: none;
	font-size: 3em; 
	font-family: Arial Narrow;
	cursor: default;
	text-align: center;
	margin-top: 20vh; /* poussé de la moitié de hauteur de viewport */
}

.gau{
	text-align: right;
	margin-right: 1em;
}

.droi{
	text-align: left;
	margin-left: 1em;
}

.damn{
	padding: 1em;

	-webkit-filter: grayscale(100%); /* Pour les navigateurs Chrome, Safari, Opera */
	filter: grayscale(100%); /* Firefox */

	-webkit-transition-duration: 0.3s;
 	transition-duration: 0.3s;
	opacity:0.6;
}

img.zem{
	width:15em;
	height:auto;
}

img.zemdeux{
	width:6.5em;
	height:auto;
}

img.zemtrois{
	width:5em;
	height:auto;
}

a.damn:hover{
	opacity:1;

	-webkit-filter: grayscale(0%); /* Pour les navigateurs Chrome, Safari, Opera */
	filter: grayscale(0%); /* Firefox */
}

.nude .column{
  float: left;
  width: 10vw;
  height: 10vw;
  padding: 1vw;
}