* {
	font-family: 'Josefin Sans', sans-serif;
}


html {
	position: relative;
}

body {
	margin:0;
	padding: 0;
	background: #fff;
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.wrapper {
	margin: 0 auto;

}


/* COMMUN */

@media (max-width: 575px) {
	body {
		border: 10px solid #ececec;
	}
}


@media (min-width: 576px) {

  .wrapper {
    max-width: 540px;
	  	padding: 0 40px 0 40px;
  }
		body {
		border: 20px solid #ececec;
	}
}

@media (min-width: 768px) {
  .wrapper {
    max-width: 720px;
  }
		body {
		border: 30px solid #ececec;
	}
}

@media (min-width: 992px) {
  .wrapper {
    max-width: 960px;
  }
		body {
		border: 40px solid #ececec;
	}
}

@media (min-width: 1200px) {
  .wrapper {
    max-width: 1140px;
  }
		body {
		border: 60px solid #ececec;
	}
}

@media (min-width: 1400px) {
  .wrapper {
    max-width: 1340px;
  }
		body {
		border: 60px solid #ececec;
	}
}

@media (min-width: 1700px) {
  .wrapper {
    max-width: 1500px;
  }
		body {
		border: 70px solid #ececec;
	}
}







	
	

/* TITRE */

h1 {
	font-size:24px;
	font-weight: bold;
	padding:40px 0 40px 0;
	margin:0 auto;
	text-align: center;
}


/* WORK */

#work {
	z-index: -1000;
}

.projet {
	position: relative;
	overflow: hidden;
	margin:10px;
}

.overlay {
	background:#f7e17c;
	position: absolute;
	bottom: -100px;
	width:100%;
	height: 100%;
	z-index: -1000;
	opacity: 0;
	-webkit-transition: -webkit-opacity 0.2s;
	transition: opacity 0.2s;
}

.projet img {

	width:100%;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

.overlay h2 {
	color:#fff;
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	padding: 20px 20px 0 20px;
	position: absolute;
	left: 0;
	bottom:0;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

.overlay p {
	color:#000;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 0.15em;
	text-transform: normal;
	padding: 20px 20px 0 20px;
	position: absolute;
	left: 0;
	bottom:0;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}


/* OVERLAY */

.projet:hover .overlay {
	top:-5px;
	opacity: 1;
}

.projet:hover img {
	-webkit-transform: translate3d(0,-80px,0);
	transform: translate3d(0,-80px,0);
}

.projet:hover h2 {
	-webkit-transform: translate3d(0,-30px,0);
	transform: translate3d(0,-30px,0);
}


.projet:hover p {
	-webkit-transform: translate3d(0,-10px,0);
	transform: translate3d(0,-10px,0);
}




/* /OVERLAY */

@media (min-width: 576px) {
	#work {

	}
}

@media (min-width: 768px) {
	#work {
		display: grid;
		grid-template-columns:1fr 1fr;
	}
}

@media (min-width: 992px) {
	#work {
		display: grid;
		grid-template-columns:1fr 1fr;
	}
}

@media (min-width: 1200px) {
	#work {
		display: grid;
		grid-template-columns:1fr 1fr 1fr;
	}
}

@media (min-width: 1700px) {
	#work {
		display: grid;
		grid-template-columns:1fr 1fr 1fr;
	}
}

/* ABOUT */
#about {
	background: #ececec;
	padding: 70px;
	position: relative;
}

#about h3 {
	font-size: 18px;
	color: #000;
	letter-spacing: 0.15em;	
}

#about .infoGauche p {
	font-size: 16px;
	color: #9d9d9d;
	letter-spacing: 0.15em;
	padding-left:40px;
}

.infoDroite {
	background: #f7e17c;
	padding: 40px;
}

.infoDroite .photoPixel {
	text-align: center;
	margin: 20px 0 0 0;
}

#about a {
	text-decoration: none;
	color: #000;
}

#about .infoDroite p {
	font-size: 16px;
	color: #fff;
	letter-spacing: 0.15em;
	padding-left:40px;
}

#about .infoDroite p strong{
	font-weight: bold;
	color: #000;
}


#arrow {
	animation: slideInLeft 2s infinite;
}

#enveloppe:hover {
	animation: wobble 2s ease;
}



@media (max-width: 575px) {
	#about .infoDroite p {
		padding-left:0;
	}
	#about {
		padding: 20px;
	}
	
	#about .infoDroite {
		padding:20px;
	}
}


@media (min-width: 576px) {
	#about .infoDroite p {
		padding-left:0;
	}
	#about {
		padding: 40px;
	}
	
	#about .infoDroite {
		padding:30px;
	}

}

@media (min-width: 768px) {

}

@media (min-width: 992px) {

}

@media (min-width: 1200px) {
	.infoDroite {
		position: absolute;
		top: -30px;
		right: 0;
	}
}

@media (min-width: 1400px) {
	.infoDroite {
		position: absolute;
		top: -50px;
		right: 10%;
	}
}



/* CONTACT */

#contact {
	clear: both;
	padding:50px 0 50px 0;
	margin: 20px auto 100px auto;
	text-align: center;
	background: url(../img/background-test.jpg) center center no-repeat;
	background-size: cover;
}


.groupeG {
	justify-self: end;
	padding-right: 20px;
}

.groupeD {
	justify-self: start;
	padding-left: 20px;
}

.mentions {
	grid-column: 1 / span 2;
	color: #fff;
	font-size: 11px;
	padding:20px 20px 0 20px;
}

.mentions a {
	text-decoration: none;
	color: #f7e17c;
}

.mentions a:hover {
	text-decoration: underline
}

.success {
	padding: 40px;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    background: #f7e17c;
    display: inline-block;
    margin-bottom: 40px;
	
}

.error {
	padding: 40px;
	text-transform: uppercase;
	color: #fff;
	font-weight: bold;
	background: #d32643;
	display: inline-block;
	margin-bottom: 40px;
}

@media (max-width: 575px) {
		input, textarea {

	  	width:200px;

		}
	#formulaire {
		display: inline-block;
		margin:0 auto;
		width:100%;
	}
	
	#contact {
		padding:50px 30px 50px 30px;
	}
		
	#contact .groupeD {
	padding:0;
	}
	
		
	#btnEnvoyer {
		margin:0;
	}
}


@media (min-width: 576px) {
	#formulaire {
		display: inline-block;
		margin:0 auto;
	}

	
	#contact {
		padding:50px 30px 50px 30px;
	}
		
	#contact .groupeD {
	padding:0;
	}
	
		
	#btnEnvoyer {
	margin:0 auto;
	}
	
	input, textarea {

  width:300px;

}
}

@media (min-width: 768px) {
	#formulaire {
		display: inline-block;
		margin:0 auto;
	}

	#contact {
		padding:50px;
	}
		
	#contact .groupeD {
	padding:0;
	}
	
		
	#btnEnvoyer {
	margin:0 auto;
	}
}

@media (min-width: 992px) {
#formulaire {
	display: grid;
	grid-template-columns:50% 50%;
	
}
	
		
	#btnEnvoyer {
		float: right;
	}

}

@media (min-width: 1200px) {
#formulaire {
	display: grid;
	grid-template-columns:50% 50%;
	
}
		
	#btnEnvoyer {
		float: right;
	}
}

@media (min-width: 1400px) {
#formulaire {
	display: grid;
	grid-template-columns:50% 50%;
	
}
	
		
	#btnEnvoyer {
		float: right;
	}
}



/* formulaire */
* { box-sizing:border-box; }

.group 			  { 
  position:relative; 
  margin-bottom:45px; 
}

input, textarea {
  font-size:14px;
  color: #fff;
  display:block;
  border:none;
  border-bottom:2px solid #fff;
  background: none;
}

input {
  padding:10px 10px 10px 5px;
}

textarea {
  padding:35px 10px 10px 5px;
}

textarea {
	height: 119px;
}
input:focus, textarea:focus { outline:none; }

/* LABEL ======================================= */
#formulaire label {
  color:#fff; 
  font-size:14px;
  font-weight:bold;
  position:absolute;
  text-transform: uppercase;
  pointer-events:none;
  left:5px;
  top:10px;
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}

/* active state */
#formulaire input:focus ~ label, #formulaire input:valid ~ label, textarea:focus ~ label {
  top:-20px;
  font-size:14px;
  color:#f7e17c;
}

/* BOTTOM BARS ================================= */
.bar 	{ position:relative; display:block; width:300px; }
.bar:before, .bar:after 	{
  content:'';
  height:2px; 
  width:0;
  bottom:0px; 
  position:absolute;
  background:#f7e17c; 
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
.bar:before {
  left:50%;
}
.bar:after {
  right:50%; 
}

/* active state */
input:focus ~ .bar:before, input:focus ~ .bar:after, textarea:focus ~ .bar:before, textarea:focus ~ .bar:after  {
  width:50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
  position:absolute;
  height:60%; 
  width:100px; 
  top:25%; 
  left:0;
  pointer-events:none;
  opacity:0.5;
}

/* active state */
input:focus ~ .highlight, textarea:focus ~ .highlight {
  -webkit-animation:inputHighlighter 0.3s ease;
  -moz-animation:inputHighlighter 0.3s ease;
  animation:inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
	from { background:#f7e17c; }
  to 	{ width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
	from { background:#f7e17c; }
  to 	{ width:0; background:transparent; }
}
@keyframes inputHighlighter {
	from { background:#f7e17c; }
  to 	{ width:0; background:transparent; }
}


#btnEnvoyer {
	width: inherit;
	border: 2px solid #fff;
	letter-spacing: 0.15em;
	padding: 10px 30px 10px 30px;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.2s linear;
}

#btnEnvoyer:hover {
	background: #f7e17c;
	color: #000;
	border: 2px solid #f7e17c;
}


/* FOOTER */


#footer {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	text-align: center;
}


#footer a {
	text-decoration: none;
	color: #000;
	font-size: 18px;
    margin: 0 10px;
	transition: all 0.2s linear;
}

#footer a:hover {
    color:#f7e17c;
	text-decoration: none;
}

#copyright {
	font-weight: bold;
	font-size: 12px;
	opacity: 0.7;
	margin: 10px auto;
	text-align: center;
}


/* MODAL */
.blur{
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
}

.modal-wrapper{
  width:100%;
  height:100%;
  position:fixed;
  left:0;
	right:0;
	top:0;
  background:rgba(0,0,0,0.7);
  visibility:hidden;
  opacity:0;
	z-index: 10000;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

.modal-wrapper.open{
  opacity:1;
  visibility:visible;
}

.modal{
  max-width:1400px;
	width:100%;
	height:100%;
  display:block;
  position:relative;
  margin:0 auto;
/*  top:10%;
  left:0;
	right:0;*/
  background:#fff;
  opacity:0;
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

.modal .content{
	overflow:scroll;
	overflow-x:hidden;
	height:100%;
}

.block-scroll{
	overflow:hidden;
}

.modal-wrapper.open .modal{
  opacity:1;
}

.enteteModal{
  position:absolute;
  top:0;
  right:0;
  padding:1.5em 5%;
  overflow:hidden;
  color: #000;
  font-weight: bold;
  text-transform: uppercase;
	font-size: 18px;
}

.btn-close{
  width:32px;
  height:32px;
  display:block;
  float:right;
	color:#000;
	z-index: 100000;
}

.btn-close::before, .btn-close::after{
  content:'';
  width:32px;
  height:6px;
  display:block;
  background:#000;
}

.btn-close::before{
  margin-top:12px;
  -webkit-transform:rotate(45deg);
  -moz-transform:rotate(45deg);
  -o-transform:rotate(45deg);
  transform:rotate(45deg);
}

.btn-close::after{
  margin-top:-6px;
  -webkit-transform:rotate(-45deg);
  -moz-transform:rotate(-45deg);
  -o-transform:rotate(-45deg);
  transform:rotate(-45deg);
}

.content {
	padding:0;
	width:100%;
}

.content img {
	width:100%
}

p.contenuPopUp {
	display: none;
}

p.contenuPopUp img {
	width:100%;
	
}

.grecaptcha-badge { 
	visibility: hidden;
}