@import url('https://fonts.googleapis.com/css?family=Roboto:300,400');

@import url(http://weloveiconfonts.com/api/?family=brandico);

/* brandico */
[class*="brandico-"]:before {
  font-family: 'brandico', sans-serif;
}

/* ------------ nav mobile ---------- */
.mobile {
display: none;
}

.mobile i {
cursor: pointer;
margin-left: 10px;
margin-top: 10px;
}

.opacity {
display: none;
position: fixed;
left: 0;
right: 0;
height: 100vh;
z-index: 500;
background-color: rgba(0,0,0,0.3);
}

aside {
position: fixed;
width: 200px;
left: -200px;
top: 0;
background-color: black;
z-index: 999;
height: 100vh;
}

aside ul li a {
	color: white;
}

aside ul li a:hover {
	background-color: #3498db;
}

aside #reseaux {
	margin-top: 10px;
}

aside .pic {
	height: 200px;
}
/* fin nav mobile */

#reseaux > a {
	color: white;
	text-decoration: none;
	font-size: 2em;
	transition: .2s ease;
	padding: 3px;
}

#reseaux > a:hover {
	color: #0069B3;
	transition: .2s ease;
}

#reseaux {
	display: flex;
	justify-content: space-around;
}

body {
	margin: 0;
	font-family: Roboto;
	background-color: #ecf0f1;
}

header {
	display: flex;
	flex-direction: column;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	width: 300px;
	align-items: center;
	background-color: white;
	box-shadow: 3px 0px 5px 0px rgba(209,209,209,1);
}

#profil {
	background-color: #3498db;
	padding-bottom: 20px;
	color: white;
}

h1 {
	font-weight: 300;
}

.pic {
	display: flex;
	height: 300px;
}

header img, aside img {
	width: 75%;
	margin: auto;
	border: 10px solid lightblue;
	border-radius: 50%;
}

h1, h1 + p, h1 + p + div {
	display: flex;
	justify-content: center;
}

nav {
	width: 100%;
	display: flex;
	justify-content: center;
}

ul {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	width: 100%;
}

li {
	width: 100%;
	text-align: center;
	list-style: none;
}

li a {
	display: block;
	width: 100%;
	padding: 10px 0px;
	text-decoration: none;
	color: black;
	text-transform: uppercase;
	font-weight: bold;
}

nav li:hover a{
	background-color: #3498db;
	color: white;
	transition: .2s;
}

main {
	width: calc(100% - 300px);
	right: 0;
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
}

section {
	width: 1000px;
	display: flex;
	background-color: white;
	margin: 50px;
	box-shadow: 0px 2px 5px 0px rgba(189,189,189,1);
}

section > div {
	flex: 1;
}

#propos > div {
	padding: 10px;
}

#head {
	box-sizing: border-box;
	width: 100%;
	padding:15px;
	transition: .3s;
}

#head:hover {
	padding: 10px;
	transition: .3s;
}

h2, h3 {
	font-weight: 300;
	text-transform: uppercase;
}

h2 {
	font-size: 2.3em;
}

.button {
	padding: 10px;
	background-color: #3498db;
	align-self: center;
	color: white;
	text-transform: uppercase;
	text-decoration: none;
	display: block;
	width: 128px;
}

h4 {
	font-weight: 300;
	font-size: 2em;
	margin: 0;
}

#experience {
	margin-bottom: 50px;
}

h5{
	font-size: 1.2em;
	font-weight: 300;
	margin: 5px;
}

h6 {
	margin: 3px;
	font-size: 1em;
	font-weight: 300;
}

.skill {
	padding: 0px 10px;
	margin: 10px 0px;
}

.skill100 {
	width: 100%;
	height: 20px;
	background-color: #ECF0F1;
	border-radius: 10px;
}

.skill90 {
	width: 90%;
	height: 100%;
	background-color: #3498DB;
	border-radius: 10px;
}

.skill70 {
	width: 70%;
	height: 100%;
	background-color: #3498DB;
	border-radius: 10px;
}

.skill50 {
	width: 50%;
	height: 100%;
	background-color: #3498DB;
	border-radius: 10px;
}

.skill80 {
	width: 80%;
	height: 100%;
	background-color: #3498DB;
	border-radius: 10px;
}

.hovershadow h5, .hovershadow h6{
	margin: 7px;
}

.hovershadow h6 {
	color: #3498DB;
}

.hovershadow p {
	margin: 7px;
	text-align: justify;
	line-height: 25px;
}

.hovershadow {
	margin: 10px;
	transition: .3s;
}

#education {
	box-shadow: 0px 2px 5px 0px rgba(189,189,189,1);
	transition: .3s;
}

section:hover, #education:hover {
	box-shadow: 0px 2px 20px 0px rgba(189,189,189,1);
	transition: .3s;
}

#etudes {
	margin-top: 50px;
}

#etude {
	background-color: transparent;
	box-shadow: 0px 0px 0px 0px rgba(255,255,255,1);
}

#etude > div {
	background-color: white;
	margin: 5px;
	padding: 3px;
}

#etude > div > p:first-child {
	margin: 3px;
	padding: 5px;
	color: white;
	background-color: #3498DB;
	border-radius: 3px;
	width: 85px;
}

#etude p:last-child {
	margin: 5px;
	text-align: justify;
	line-height: 25px;
}

#etude h6 {
	color: #3498DB;
}

#interet > div {
	display: flex;
}

#interet > div > div {
	display: flex;
	justify-content: center;
	flex:1;
	align-items: center;
	border:1px solid #3498DB;
	margin: 10px;
	height: 80px;
}

#interet > div > div > img {
	width: 60px;
}

svg {
	width: 60px;
	height:60px;
	color: #3498DB;
}

#contact + section > div:last-child, #contact + section > div:last-child div {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

#contact + section > div:last-child div {
	align-items: center;
}

#contact + section > div:last-child i {
	font-size: 40px;
	color: #3D3E3E;
}

#contact + section > div:last-child i + p {
	text-align: center;
	line-height: 20px;
}

iframe {
	width: 100%;
	height: 400px;
}

section:last-child {
	height: 400px;
}

@media screen and (max-width: 1300px) {
	section {
		width: 500px;
		flex-direction:column;
	}

	section:last-child {
		height: initial;
	}

	#etude {
		flex-direction: column-reverse;
	}
}

@media screen and (max-width: 900px) {
	header {
		display: none;
	}
	main {
		width: 100%;
	}

	section {
		width: 85%;
	}

	.mobile {
		display: flex;
	}


}