/*------------------------*/
/*------------------------*/
/*---------BUREAU---------*/
/*------------------------*/
/*------------------------*/
/* COMMUN */
/* BASES */
*{
	margin: 0;
	padding: 0;
	font-family: 'Roboto', sans-serif;
}

html{
	height: 100%;
}

body{
	background-color: #F2F2F2;
	height: 100%;
}

body.-overflow{
	overflow: hidden;
}

h1, .h1{
	font-size: 25px;
	text-align: center;
	font-family: 'Raleway', sans-serif;
}

h2, .h2{
	font-size: 60px;
	text-align: center;
	font-family: 'Raleway', sans-serif;
}

h3, .h3{
	font-size: 40px;
	font-family: 'Raleway', sans-serif;
}

h4, .h4{
	font-size: 20px;
	font-family: 'Raleway', sans-serif;
}

p{
	font-size: 16px;
	line-height: 1.62;
}

a{
	font-size: 16px;
}

p + .title {
	margin-top: 20px;
}

nav ul li a{
	font-size: 18px;
}

.image img{
	max-width: 100%;
}

.margin-top-60{
	margin-top: 30px !important;
}
.margin-top-30{
	margin-top: 15px !important;
}
.margin-top-20{
	margin-top: 20px !important;
}
.margin-top-15{
	margin-top: 7.5px !important;
}
.margin-bottom-60{
	margin-bottom: 30px !important;
}
.margin-bottom-30{
	margin-bottom: 15px !important;
}
.margin-bottom-20{
	margin-bottom: 20px !important;
}
.margin-bottom-15{
	margin-bottom: 7.5px !important;
}

@media (min-width: 768px) {
	.margin-top-60{
		margin-top: 60px !important;
	}
	.margin-top-30{
		margin-top: 30px !important;
	}
	.margin-top-20{
		margin-top: 10px !important;
	}
	.margin-top-15{
		margin-top: 15px !important;
	}
	.margin-bottom-60{
		margin-bottom: 60px !important;
	}
	.margin-bottom-30{
		margin-bottom: 30px !important;
	}
	.margin-bottom-20{
		margin-bottom: 10px !important;
	}
	.margin-bottom-15{
		margin-bottom: 15px !important;
	}
}

/* NAV */
@media (min-width: 800px) {
	#nav-hamburger{
		display: none;
	}
	#nav-main{
		position: fixed;
		top: 0px;
		left: 0px;
		width: 100%;
		height: 50px;
		background: rgba(242, 242, 242, 1);
		z-index: 100;
		transition: all 0.5s ease-in-out;
	}
	#nav-main.top{
		position: fixed;
		top: 0px;
		left: 0px;
		width: 100%;
		height: 75px;
		background: rgba(242, 242, 242, 0);
		z-index: 100;
		transition: all 0.5s ease-in-out;
	}
	#nav-main.hidden{
		position: fixed;
		top: -52px;
		left: 0px;
		width: 100%;
		height: 50px;
		background: rgba(242, 242, 242, 1);
		z-index: 100;
		transition: all 0.5s ease-in-out;
	}
	#nav-main.active{
		position: fixed;
		top: 0px;
		left: 0px;
		width: 100%;
		height: 50px;
		background: rgba(242, 242, 242, 1);
		z-index: 100;
		transition: all 0.5s ease-in-out;
	}
	#nav-main ul{
		display: flex;
		width: 100%;
		justify-content: space-around;
		align-items: center;
		list-style: none;
	}
	#nav-main li{
		display: inline-block;
		text-align: center;
	}
	#nav-main.top ul li a{
		text-decoration: none;
		text-transform: uppercase;
		display: inline-block;
		text-align: center;
		padding: 14px 0px;
		color: #F2F2F2;
		width: 100%;
	}
	#nav-main.top li a:hover span{
		border-bottom: solid 2px #F2F2F2;
	}
	#nav-main.top li a.active span{
		border-bottom: solid 2px #F2F2F2;
	}
	#nav-main.active ul li a, #nav-main.hidden ul li a, #nav-main ul li a{
		text-decoration: none;
		text-transform: uppercase;
		display: inline-block;
		text-align: center;
		padding: 14px 0px;
		color: #373655;
		width: 100%;
	}
	#nav-main li a:hover span{
		border-bottom: solid 2px #373655;
	}
	#nav-main li a.active span{
		border-bottom: solid 2px #373655;
	}
}
/* HEADER */
#header{
	width: 100%;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #F2F2F2;
	flex-direction: column;
	position: relative;
	box-sizing: border-box;
}

#home #header{
	background: url(/img/header/hero.jpg) center no-repeat;
	background-size: cover;
}

#whoiam #header{
	background: url(/img/header/hero_whoiam.jpg) center no-repeat;
	background-size: cover;
}

#skills #header{
	background: url(/img/header/hero_skills.jpg) center no-repeat;
	background-size: cover;
}

#works #header{
	background: url(/img/header/hero_works.jpg) center no-repeat;
	background-size: cover;
}

#contact #header{
	background: url(/img/header/hero_contact.jpg) center no-repeat;
	background-size: cover;
}

#header.-mini {
	width: 100%;
	height: 50vh;
}

#header h1{
	font-size: 50px;
}

#header:not(.-mini) h1{
	margin-bottom: 20px;
}

#header hr{
	width: 390px;
	border: 0;
	background-color: #F2F2F2;
	height: 3px;
}

#header h2{
	font-size: 25px;
	margin-top: 20px;
}

header .reseaux {
	position: absolute;
	bottom: 50px;
	right: 50px;
}

.reseaux{
	display: flex;
	justify-content: space-around;
	align-items: center;
	width: 100px;
}

.reseaux a{
	text-decoration: none;
}

.reseaux a i{
	color: #F2F2F2;
}

/* CONTENU */
/* WRAPPER CONTENT */
.wrapper-content{
	width: 100%;
	display: flex;
    justify-content: space-evenly;
    align-items: center;
	flex-direction: column;
	margin-top: 50px;
	margin-bottom: 50px;
}

.wrapper-content h2{
	font-size: 40px;
	text-align: center;
}

.wrapper-content hr {
	width: 390px;
	border: 0;
	background-color: #373655;
	height: 3px;
}


/* SECTION PRESENTATION*/
.section-contenu{
	margin-top: 0;
	margin-bottom: 130px;
	width: 100%;
}

@media (max-width: 767px) {
	.section-contenu{
		margin-top: 0;
		margin-bottom: 70px;
	}
}

/*Skills et Travaux*/
.article-box{
	background-color: #FFFFFF;
	display: flex;
	justify-content: center;
    align-items: center;
	flex-direction: column;
	box-shadow: 0 2px 8px rgba(0,0,0,.1);
	padding: 15px;
	color: #F2F2F2;
	position: relative;
}

.block-text p{
	text-align: center;
}

.article-box .h1{
	position: absolute;
	top: 15px;
	left: 15px;
	font-size: 25px !important;
	text-align: center;
}

.article-box .h2{
	margin-top: 5px;
	margin-bottom: 5px;
	font-size: 30px !important;
	text-align: center;
}

.article-box .h3{
	margin-top: 5px;
	margin-bottom: 5px;
	font-size: 25px !important;
	text-align: center;
}

.article-box p{
	margin-top: 5px;
	margin-bottom: 5px;
	text-align: center;
}

#video-steed-fast {
	border-radius: 20px;
	overflow: hidden;
	width: 187px;
	height: 405px;
}

#video-steed-fast video {
	width: 187px;
	height: 405px;
}

/*Général*/
.txt-dark h1{
	color: #373655 !important;
}

.txt-dark h2{
	color: #373655 !important;
}

.txt-dark h3{
	color: #373655 !important;
}

.txt-dark p{
	color: #373655 !important;
}

.button-wrap{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.button-dark{
	border: solid #373655 3px;
	color: #373655;
	background-color: rgba(0, 0, 0, 0);
	padding: 15px 0px;
	margin: 5px 5px;
	width: 125px;
	text-align: center;
	text-decoration: none;
	font-size: 16px;
	transition: all 0.2s ease-in-out;
	cursor: pointer;
}

.button-dark:hover{
	background-color: #373655;
	color: #F2F2F2;
}

.button-light{
	border: solid #F2F2F2 3px;
	color: #F2F2F2;
	background-color: rgba(0, 0, 0, 0);
	padding: 15px 10px;
	margin: 5px 5px;
	min-width: 125px;
	text-align: center;
	text-decoration: none;
	font-size: 16px;
	transition: all 0.2s ease-in-out;
	cursor: pointer;
}

.button-light:hover{
	background-color: #F2F2F2;
	color: #373655;
}

.video {
	margin: 15px
}
.video + .contenu {
	margin: 15px
}

/*Actualités*/
.actualite{
	height: 300px;
}

#actualites-cours{
	background: url(../img/contenu/iut.jpg) center no-repeat;
	background-size: cover;
}

#actualites-projet{
	background: url(../img/contenu/le_murmure_des_abysses.jpg) center no-repeat;
	background-size: cover;
}

#actualites-microsoft-1{
	background: url(../img/contenu/microsoft_experience_18.jpg) center no-repeat;
	background-size: cover;
}

#actualites-microsoft-2{
	background: url(../img/contenu/house_of_fans.jpg) center no-repeat;
	background-size: cover;
}

/*WhoIAm*/
#section-whoiam article p{
	text-align: justify;
}

/*Skills*/
#section-skills .col-contenu{
	display: flex;
	align-items: center;
}

.skills{
	min-height: 300px;
	background-color: #373655;
	padding: 30px;
}

.article-box.skills h2{
	text-align: center;
}

.contenu .title{
	font-weight: bold;
}

.contenu p{
	margin-top: 10px;
}

@media (max-width: 767px) {
	.article-video,
	.article-contenu {
		flex-direction: column;
		padding: 0;
		margin-bottom: 30px;
	}

	#video-steed-fast,
	#video-steed-fast video {
		width: 125px;
		height: 270px;
	}

	.video {
		border-radius: 14px;
	}

	.col-title {
		order: 1;
	}

	.col-contenu {
		order: 2;
	}
}

#competences-cv{
	background-color: #373655;
}

	/*En savoir plus compétences*/
	.section-box-plus{
		position: fixed;
		top: 0;
		right: -101%;
		width: 100%;
		height: 100%;
		background: rgba(55, 54, 85, 1);
		z-index: 1003;
		transition: all 0.5s ease-in-out;
		color: rgba(242, 242, 242, 1);
		display: flex;
		align-items: center;
		box-sizing: border-box;
		overflow: auto;
	}
	
	.section-box-plus.ouvert{
		right: 0;
	}

	.section-box-plus .wrap-plus{
		width: 100%;
		overflow: auto;
		height: 100%;
		padding-top: 60px;
		padding-bottom: 10px;
	}

	.section-box-plus .-title{
		text-align: center;
	}

	.section-box-plus .-title .h1{
		font-size: 30px;
		font-weight: bold;
		margin-bottom: 10px;
	}

	.section-box-plus .-title .h2{
		font-size: 20px;
		margin-bottom: 5px;
	}

	.section-box-plus .-title .h3{
		font-size: 16px;
	}

	.section-box-plus .-content .h4{
		font-size: 18px;
		font-weight: bold;
		margin-bottom: 20px;
	}

	.section-box-plus .-content ul{
		margin-left: 20px;
	}

	.section-box-plus .-content li:not(:last-child){
		margin-bottom: 5px;
	}

	.section-box-plus .-content li,
	.section-box-plus .-content p{
		font-size: 14px;
	}

	.section-box-plus .-content li strong,
	.section-box-plus .-content p strong{
		font-weight: bold;
	}

	.section-box-plus .-button{
		text-align: center;
	}
	
	.fermer-box-plus{
		z-index: 1005;
		cursor: pointer;
		position: absolute;
		top: 10px;
		right: 20px;
		width: 50px;
		height: 40px;
	}
	
	.fermer-box-plus span{
		display: block;
		position: absolute;
		width: 100%;
		height: 8px;
		background: rgba(242, 242, 242, 1);
	}
	
	
	.fermer-box-plus > span:nth-child(1){
		transform: rotate(45deg);
		top: 16px;
	}

	.fermer-box-plus > span:nth-child(2){
		transform: rotate(-45deg);
		top: 16px;
	}
	
	.section-box-plus h1, .article-box h1{
		font-size: 26px;
		text-align: center;
		margin: 10px 0px;
	}
	
	.section-box-plus h2, .article-box h2{
		font-size: 24px;
		text-align: left;
		margin: 2px 0px;
	}
	
	.section-box-plus h3, .article-box h3{
		font-size: 22px;
		text-align: left;
		margin: 2px 0px;
	}
	
	.section-box-plus p, .article-box p{
		font-size: 18px;
		text-align: left;
		margin: 2px 0px;
		max-width: 500px;
	}

/*contact*/
#article-contact{
	padding: 50px 15px;
	background-color: white;
}

#article-contact > .description{
	color: #373655;
	text-align: center;
}

#article-contact form,
#article-contact .form-submit{
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
	flex-direction: column;
	width: 80%;
}

.contact-form-wrap{
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-direction: column;
	width: 100%;
}

#article-contact label{
	color: #373655;
	margin-bottom: 5px;
}

#article-contact form div input{
	width: 100%;
	min-width: 150px;
	color: #373655;
	border: none;
	font-size: 14px;
	transition: all 0.2s ease-in-out;
	border-bottom: solid rgba(38, 38, 38, .2) 1px;
	margin-bottom: 2px;
	padding: 5px;
}

#article-contact form div input:focus{
	border-color: rgba(38, 38, 38, 1);
	outline: none;
}

#article-contact form div textarea{
	width: 100%;
	max-width: 100%;
	min-width: 100%;
	color: #373655;
	border: none;
	outline: none;
	border: solid rgba(38, 38, 38, .2) 1px;
	font-size: 14px;
	height: 100px;
	max-height: 125px;
	min-height: 100px;
	padding: 5px;
}

#article-contact form div textarea:focus{
	border-color: rgba(38, 38, 38, 1);
	outline: none;
}

#article-contact form .submit-button{
	border: solid #373655 3px;
	color: #373655;
	background-color: rgba(0, 0, 0, 0);
	padding: 15px 0px;
	width: 125px;
	text-align: center;
	text-decoration: none;
	font-size: 16px;
	transition: all 0.2s ease-in-out;
	cursor: pointer;
	align-self: flex-end;
}

#article-contact form .submit-button:hover{
	background-color: #373655;
	color: #F2F2F2;
}

.message{
	font-size: 14px;
	display: none;
}

.message.-error{
	color: #a12b2b;
}

.message.-success{
	color: #45a354;
}

/*work*/
.work-box{
	background-color: #FFFFFF;
	display: flex;
	justify-content: center;
    align-items: center;
	flex-direction: column;
	box-shadow: 0 2px 8px rgba(0,0,0,.1);
	padding: 15px;
	position: relative;
	min-height: 300px;
}

.work-box h1,
.work-box .h1{
	font-size: 30px;
	color: #373655;
	margin-bottom: 10px;
}

.work-box h2,
.work-box .h2{
	font-size: 20px;
	color: #373655;
	margin-bottom: 10px;
}

.work-box h3,
.work-box .h3{
	font-size: 16px;
	color: #373655;
}

/*Footer*/
#footer{
	background-color: #373655;
	padding: 25px 0;
}

#footer .-footer{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#footer .-footer p{
	color: white;
	font-size: 16px;
}

#footer .-footer a{
	color: white;
	font-size: 16px;
	white-space: nowrap;
}

/* ------------------------ */
/* ------------------------ */
/* --------TABLETTE-------- */
/* ------------------------ */
/* ------------------------ */
@media (max-width: 1020px) {
	.box-tablette{
		width: 100% !important;
	}
}

/* ------------------------ */
/* ------------------------ */
/* ---------MOBILE--------- */
/* ------------------------ */
/* ------------------------ */
@media (max-width: 800px) {
	.reseaux{
		bottom: 25px;
		right: 25px;
	}

	#header h1{
		font-size: 30px !important;
	}
	
	hr{
		width: 50% !important;
	}
	
	/* NAV */
	#nav-hamburger{
	position: fixed;
	top: 10px;
	right: 10px;
	width: 50px;
	height: 40px;
	z-index: 1001;
	}

	#nav-hamburger > span{
		display: block;
		position: absolute;
		width: 100%;
		height: 8px;
		opacity: 1;
		background-color: rgba(242, 242, 242, 1);
		border: 1px solid rgba(55, 54, 85, 1);
		transition: .5s ease-in-out;
	}

	#nav-hamburger.top.ouvert > span{
		background-color: rgba(55, 54, 85, 1) !important;
		border: 1px solid rgba(242, 242, 242, 1) !important;
	}
	
	#nav-hamburger.hidden > span, #nav-hamburger.active > span{
		background-color: rgba(55, 54, 85, 1) !important;
		border: 1px solid rgba(242, 242, 242, 1) !important;
	}
	
	#nav-hamburger.hidden.ouvert > span, #nav-hamburger.active.ouvert > span{
		background-color: rgba(242, 242, 242, 1) !important;
		border: 1px solid rgba(55, 54, 85, 1) !important;
	}
	
	#nav-hamburger > span:nth-child(1){
		top: 0%;
	}

	#nav-hamburger > span:nth-child(2){
		top: 16px;
	}

	#nav-hamburger > span:nth-child(3){
		top: 32px;
	}

	#nav-hamburger.ouvert > span:nth-child(1){
		transform: rotate(45deg);
		top: 16px;
	}

	#nav-hamburger.ouvert > span:nth-child(2){
		opacity: 0;
		width: 0%;
	}

	#nav-hamburger.ouvert > span:nth-child(3){
		transform: rotate(-45deg);
		top: 16px;
	}
	
	#nav-main{
		position: fixed;
		top: -101%;
		left: 0px;
		width: 100%;
		height: 100%;
		z-index: 100;
		transition: all 0.5s ease-in-out;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	#nav-main.deploiemenu{
		position: fixed;
		top: 0px;
		left: 0px;
		width: 100%;
		height: 100%;
		z-index: 100;
		transition: all 0.5s ease-in-out;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	#nav-main.top{
		background: rgba(242, 242, 242, 0.8);
	}

	#nav-main.hidden, #nav-main.active{
		background: rgba(55, 54, 85, 0.8);
	}

	#nav-main ul{
		display: flex;
		width: 100%;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		list-style: none;
	}

	#nav-main li{
		display: inline-block;
		text-align: center;
		width: 100%;
	}

	#nav-main ul li a{
		text-decoration: none;
		text-transform: uppercase;
		display: inline-block;
		text-align: center;
		padding: 14px 0px;
		width: 100%;
	}
	
	#nav-main.top ul li a{
		color: rgba(55, 54, 85, 1) !important;
	}
	
	#nav-main.hidden ul li a, #nav-main.active ul li a{
		color: rgba(242, 242, 242, 1) !important;
	}
	
	#nav-main.top li a:hover span{
		border-bottom: solid 2px rgba(55, 54, 85, 1);
	}

	#nav-main.hidden li a:hover span, #nav-main.active li a:hover span{
		border-bottom: solid 2px rgba(242, 242, 242, 1);
	}

	.work-box{
		min-height: 150px;
	}

	.work-box h1,
	.work-box .h1{
		font-size: 20px;
	}

	.work-box h2,
	.work-box .h2{
		font-size: 16px;
	}

	.work-box h3,
	.work-box .h3{
		font-size: 14px;
	}
}