@charset "utf-8";

h1, h3, h4, nav a, em, #mail, h5, .alert-success, .alert, #feel, input[type="submit"], #logo
{
	font-family: 'EB Garamond', Times New Roman, serif;
}

h2, p, .contenu em, input, input[placeholder], textarea, textarea[placeholder]
{
	font-family: 'Roboto', Arial, sans-serif;
}

body { margin: 0; }

/*-----------------------------
			SECTION
-----------------------------*/

.section
{ 
	height: 100%;
	box-sizing: border-box;
	padding: 0;
	margin: 0;

	display: flex;
	
	display: -webkit-box;
	/*display: -moz-box;*/
	display: -ms-flexbox;
	display: -webkit-flex;
	
	-webkit-align-items: center;
	-webkit-flex-direction: row;
	flex-direction: row;

}



/*-----------------------------
		  NAV / LOGO
-----------------------------*/

#logo
{
	left: 20px;
	top: 20px;
	position: fixed;
	font-weight: 700;
	font-size: 20px;
	line-height: 1;
}

#logo a{text-decoration: none; color: #432f4e;}

#st, #pe
{
	background-color: #e85d20;
	height: 12px;
	position: absolute;
	border-width: 6px 0px 7px 0px;
	border-color: #FFF;
	border-style: solid;
}

#logo a:hover #st{
	width: 0px;
	transition: ease-out 0.11s;
	transition-delay: 0.09s
}

#logo a:hover #pe{
	width: 0px;
}

#st{
	width: 45px;
	top: 0px;
	left: 10px;
	transition: ease-in 0.08s;
	transition-delay: 0.01s
}

#pe{
	width: 115px;
	top: 19px;
	transition: ease 0.3s;
}

nav
{
	right: 23px;
	top: 8px;
	position: fixed;
}

nav ul {list-style-type: none;}

nav li {display: inline-block; transition: ease 0.7s;}

nav li:hover {transition: ease 0.3s;}

nav a
{
	font-size: 1.3em;
	padding: 8px;
	margin-left: 30px;
	color: white;
	text-decoration: none;
	font-weight: 700;
}


/*-----------------------------
		  	HOME
-----------------------------*/

#home-sec
{
	background-color: #FFF;
	align-items: center;
	justify-content: center;
	color: #FFF;
	padding: 0px;
	
	-webkit-flex: 1;
	-ms-flex: 1;
    flex: 1;
	
	-webkit-align-self: center;
    align-self: center;
}


.linear-gradient{
  position:fixed;
  top:0px;
  left:0px;
  height:200%;
  width:100vw;
  background: linear-gradient(45deg, rgba(232,93,32,1), rgba(67,47,78,1));
}


.radial1-gradient {
  position:fixed;
  top:0px;
  left:0px;
  height:200%;
  width:100vw;
  
  /*Fallback if gradeints don't work */
  background: #e85d20;
  /*Radial gradient 1 */
  background:
    radial-gradient(circle at center, rgba(232,93,32,1), rgba(67,47,78,0));
}

.radial2-gradient {
  position:fixed;
  top:0px;
  left:0px;
  height:200%;
  width:100vw;
  
  /*Fallback if gradeints don't work */
  background: #e85d20;
  /*Radial gradient 2 */
  background:
    radial-gradient(circle at center, rgba(67,47,78,1), transparent); 
}


header{
	z-index: 1;
	position: absolute;
	top: 15px;
	left: 15px;
}


h1
{
	font-size: 36px;
	font-weight: 700;
	line-height: 0.9;
	margin: 0px;
}

h3
{
	font-size: 24px;
	font-weight: 300;
	margin: 0px;
}

* ::selection {background: rgba(67, 47, 78, 0.95); color: #FFF;}
* ::-webkit-selection {background:rgba(67, 47, 78, 0.95); color: #FFF;}
* ::-moz-selection {background: rgba(67, 47, 78, 0.95); color: #FFF;}


/*-----------------------------
			WORK
-----------------------------*/

#work-sec{color: #FFF;}

article.work li
{
	pointer-events: auto;
	list-style-type: none;
}

h5
{
	font-weight: 700;
	font-size: 22px;
	margin: 0;
}

h5 em
{
	margin: 0;
	font-weight: 500;
	font-size: 16px;
	font-style: normal;
}

.work{
	margin: 0;
	padding: 0;
	width: 100vw;
	height: 100%;
	position: relative;
}

article.work li a{
	border: 2px solid white;
	position: absolute;
	color: white;
	margin: 5px;
	transition: ease 0.5s;
	overflow: hidden;
}


article.work li a:hover .titre{
	display: none;
}

#case1{
	top: 15px;
	bottom: 45%;
}

#case2{
	top: 55%;
	bottom: 15px;
}

#case3{
	top: 15px;
	bottom: 59%;
}

#case4{
	top: 41%;
	bottom: 15px;
}

#case5{
	top: 15px;
	bottom: 75%;
}

#case6{
	top: 25%;
	bottom: 50%;
}

#case7{
	top: 50%;
	bottom: 15px;
}

#case8{
	top: 70px;
	bottom: 66%;
}

#case9{
	top: 34%;
	bottom: 28%;
}

#case10{
	top: 72%;
	bottom: 15px;
}

#case1, #case2{
	left: 15px;
	right: 75%;
}

#case3, #case4{
	left: 25%;
	right: 50%;
}

#case5, #case6, #case7{
	left: 50%;
	right: 25%;
}

#case8, #case9, #case10{
	left: 75%;
	right: 15px;
}

.titre{
	position: absolute;
	top: 20px;
	left: 20px;
	line-height: 1;
	transition: ease 0.2s;
}

.vignette{
	object-fit: cover;
	height: 100%;
	width: 100%;
	opacity: 0.1;
	transition: ease 0.5s;
}

.vignette:hover{opacity: 0.5;}

/* FANCYBOX */

.fancybox-slide--iframe .fancybox-content {
	width  : 1000px;
	height: 8000px;
	max-height: none;
	max-width: 86%;
}

.fancybox-slide--video .fancybox-content {
	width  : 1000px;
	height : 563px;
}


/*-----------------------------
			ABOUT
-----------------------------*/

.contenu
{
	margin: 0;
	padding: 0;
	width: 100vw;
	height: 100%;
	position: relative;
}

.colonne
{
	position: absolute;
	top: 100px;
	margin: 5px;
	color: #e85d20;
}

#exp
{
	left: 15px;
	right: 75%;
}

#educ
{
	left: 25%;
	right: 50%;
}

#skill
{
	left: 50%;
	right: 25%;
}

#interest
{
	left: 75%;
	right: 15px;
}

.colonne p
{
	padding-left: 25px;
	padding-right: 20px;
	font-weight: 500;
	font-size: 16px;
}

strong
{
	font-style: normal;
	font-weight: 500;
	color: #432f4e;	
}

.colonne em
{
	font-style: normal;
	font-weight: 300;
	color: #432f4e;	
}

h4
{
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
	padding-left: 25px;
	transition: ease 1.2s;
}


/*-----------------------------
		   CONTACT
-----------------------------*/

/*Formulaire*/

#contact-sec .fp-scroller {overflow: visible !important;}
/*Fait en sorte que le formulaire ne soit pas caché si la section n'est pas assez haute*/

form
{	
	padding: 0;
	position: absolute;
	width: 25%;
	left: 25%;
	right: 50%;
	top: 15vh;
}

input, textarea, input[placeholder], textarea[placeholder]
{
	position: relative;
	font-size: 16px;
	font-weight: 300;
	padding: 0.8vw;
	border: 2px solid rgba(232,93,32,1);
	border: 2px solid transparent;
	border-image: linear-gradient(45deg, rgba(67,47,78,1) 20%, rgba(232,93,32,1) 80%);
	border-image-slice: 1;
	background-color: #FFF;
	color: #432f4e;	
	outline: 0;
	width: 23vw;
	
	-webkit-appearance: none;
    border-radius: 0;
}

#feel
{
	color: #e85d20;
	font-size: 24px;
	font-weight: 700;
	transition: ease 1.2s;
}

textarea::-webkit-scrollbar
{
	width: 15px;
	background: #FFF;
}

textarea::-webkit-scrollbar-track-piece
{
	background: transparent none;
	border: solid 5px transparent;
	border-right-width: 8px;
	margin: 5px;
	-webkit-box-shadow: inset 0 0 0 2px #432f4e;
}

textarea::-webkit-scrollbar-thumb
{								
	border: solid 0 transparent;
	border-right-width: 4px;
	-webkit-box-shadow: inset 0 0 0 6px #e85d20;
}
	
textarea
{
	resize: none;
	height: 200px;
}

::-webkit-input-placeholder {color: #432f4e;}
:-moz-placeholder {color: #432f4e; opacity:  1;}
::-moz-placeholder {color: #432f4e; opacity:  1;}
:-ms-input-placeholder {color: #432f4e;}

input[type="submit"]
{
	border: 0;
	padding: 0px 3px 0px 0px;
	width: 100%;
	float: right;
	text-align: right;
	color: #e85d20;
	font-weight: 700;
	font-size: 24px;
	transition: ease 0.7s;
}

input[type="submit"]:hover{transform: translateX(-15px); transition: ease 0.3s;}


.alert
{
	background: red;
	color: white;
	font-size: 20px;
	width: 23.7vw;
}

.alert-success
{
	margin: 0;
	padding: 14px 10px 14px 10px;
	font-size: 18px;
	background: linear-gradient(45deg, rgba(67,47,78,1) 20%, rgba(232,93,32,1) 80%);
	color: #FFF;
	width: 23.7vw;
	text-align: center;
}



@media screen and (max-width: 1000px)
{	

	nav li, #logo{display: none;}
	

	/*WORK*/

	.titre{
		top: 10px;
		left: 10px;
	}

	#case1{
		top: 15px;
		bottom: 70%;
	}

	#case2{
		top: 30%;
		bottom: 38%;
	}

	#case3{
		top: 62%;
		bottom: 15px;
	}

	#case4{
		top: 15px;
		bottom: 63%;
	}

	#case5{
		top: 37%;
		bottom: 33%;
	}

	#case6{
		top: 67%;
		bottom: 15px;
	}

	#case7{
		top: 15px;
		bottom: 65%;
	}

	#case8{
		top: 35%;
		bottom: 46%;
	}

	#case9{
		top: 54%;
		bottom: 19%;
	}

	#case10{
		top: 81%;
		bottom: 15px;
	}

	#case1, #case2, #case3{
		left: 15px;
		right: 65%;
	}

	#case4, #case5, #case6{
		left: 35%;
		right: 35%;
	}

	#case7, #case8, #case9, #case10{
		left: 65%;
		right: 15px;
	}
	
	/*ABOUT*/
	
	.colonne
	{
		display: inline-block;
		position: relative;
		top: 50px;
		width: 30%;
		margin-left: 15px;
		float: left;
	}

#exp, #educ, #skill, #interest{left: 0; right: 0; bottom: 0; top: 0;}

	#interest{width: 100%; top: 10px;}

	#interest p
	{
		display: inline-block;
	}

	
	/*CONTACT*/	
	
	form
{	

	position: absolute;
	width: 62%;
	left: 35px;
	right: 35%;
	top: 10%;
}

input, textarea, input[placeholder], textarea[placeholder]
{	
	width: 60vw;
}

.alert
{
	width: 62vw;
}

.alert-success
{
	width: 60vw;
}

}



@media screen and (max-width: 600px)
{
	/*ABOUT*/

		.colonne
	{
		display: block;
		position: relative;
		top: 50px;
		width: 85%;
		margin-left: 30px;
	}

		#interest p
	{
		display: block;
		width: 85%;
	}
}


@media all and (max-device-width: 1150px)
{
	/*WORK*/

	.linear-gradient {
		background: radial-gradient(circle at 100% 10%, #432f4e 20%, #e85d20 60%);
		background-size: 300% 200%;
		-webkit-animation: Gradient 15s ease infinite;
		-moz-animation: Gradient 15s ease infinite;
		animation: Gradient 15s ease infinite;
	}

	.radial1-gradient {
		background: linear-gradient(45deg, #432f4e 25%, transparent 50%);
		background-size: 300% 200%;
		-webkit-animation: Gradient 20s ease infinite;
		-moz-animation: Gradient 20s ease infinite;
		animation: Gradient 20s ease infinite;
	}

	.radial2-gradient{
		display: none;
	}

@-webkit-keyframes Gradient {
	0% {
		background-position: 0% 50%
	}
	50% {
		background-position: 100% 50%
	}
	100% {
		background-position: 0% 50%
	}
}

@-moz-keyframes Gradient {
	0% {
		background-position: 0% 50%
	}
	50% {
		background-position: 100% 50%
	}
	100% {
		background-position: 0% 50%
	}
}

@keyframes Gradient {
	0% {
		background-position: 0% 50%
	}
	50% {
		background-position: 100% 50%
	}
	100% {
		background-position: 0% 50%
	}
}
}

@media all and (max-device-width: 480px)
{
	
	/*HOME*/

	h1{font-size: 1.5em;}
	h3{font-size: 1em;}

	/*WORK*/

	h5
	{
		font-size: 17px;	line-height: 0.9;
	}

	h5 em
	{
		font-size: 12px;

	}

	.vignette{
	opacity: 0.25;
	}

	.titre{
		top: 5px;
		left: 5px;
	}

	#case1{
		top: 27%;
		bottom: 50%;
	}

	#case2{
		top: 50%;
		bottom: 30%;
	}

	#case3{
		top: 70%;
		bottom: 15%;
	}

	#case4{
		top: 5px;
		bottom: 73%;
	}

	#case5{
		top: 85%;
		bottom: 5px;
	}

	#case6{
		top: 5px;
		bottom: 88%;
	}

	#case7{
		top: 74%;
		bottom: 5px;
	}

	#case8{
		top: 12%;
		bottom: 76%;
	}

	#case9{
		top: 44%;
		bottom: 26%;
	}

	#case10{
		top: 24%;
		bottom: 56%;
	}

	#case1, #case2, #case3, #case4, #case5{
		left: 5px;
		right: 50%;
	}

	#case6, #case7, #case8, #case9, #case10{
		left: 50%;
		right: 5px;
	}

	/*Bouton close fancybox dans le cadre*/

	.fancybox-slide--iframe .fancybox-close-small, .fancybox-slide--image .fancybox-close-small{
		right:0;
	}

	.fancybox-content{
		margin: 7% 0;
	}

	/*CONTACT*/	
	
	form
{	

	position: absolute;
	width: 83%;
	left: 35px;
	top: 30px;
}

input, textarea, input[placeholder], textarea[placeholder]
{	
	width: 90%;
	padding: 10px;
}

.alert
{
	width: 87%;
}

.alert-success
{
	width: 90%;
}


}
