body {
	/* max-width: 1300px; */
	margin: 0 auto;
}

.content {
	max-width: 1300px;
	margin: 0 auto;
}

h1,h2 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 700;
	margin: 0 auto;
}


h1 {
	font-size: 2em;
	font-weight: 800;
	text-align: left;
}

h2 {
	font-family: 'Gentium Basic', serif;
	font-weight: 400;
	color: rgba(66, 9, 104, 0.63);
}

p {
	font-family: 'Gentium Basic', serif;
	font-size: 1.2em;
}

a { 
	text-decoration: none;
    color: #8864a0; 
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}


section a:hover {
	color: white;
	background-color: rgba(66, 9, 104, 0.25);
	cursor: pointer;
}

.icon:hover {
	background-color: transparent;
}

section {
   display: -webkit-flex;
   display: flex;
   flex-wrap: wrap;
   -webkit-flex-wrap: wrap;
   -webkit-flex-direction: row;
   flex-direction: row;
   -webkit-align-items: center;
   align-items: center;
   -webkit-justify-content: center;
   justify-content: center;
}

.reverse {
	-webkit-flex-direction: row-reverse;
	flex-direction: row-reverse;
}

.text, .pic {
	margin: 3rem;
	width: 40%;
	height: auto;
	flex: 1 1 0;

	min-width: 400px;
	flex-basis: 300px;
}

h1#latest, h1#me {
	font-size: 3em;
}

.pic {
	margin-left: 1rem;
	max-width: 40rem;
}

.text {
	margin-right: 1rem;
	text-align: justify;
}

.intro .fa {
	margin-right: 1rem;
	color: rgba(66, 9, 104, 1);
	cursor: pointer;
	    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.intro .fa:hover {
	color: rgba(66, 9, 104, .43);
}

.bioVideo {
	margin: 16px;
}

.werk {
	background:
		linear-gradient(
	      rgba(66, 9, 104, 0.63), 
	      rgba(0, 0, 0, 0)
	    ),
		url('../assets/images/bigcat.JPG');
	background-attachment: fixed;
	background-size: cover;
	background-position: middle;
	color: white;
	height: 50vh;
}

.project {
	height: 70vh;
	margin: 16px;
	max-width:100%;
	overflow-x: hidden;
	border-bottom: solid 1px rgba(66, 9, 104, 0.5);
}

.project h1 {
	padding-bottom: .5rem;
	border-bottom: solid 2px rgba(66, 9, 104, 0.63);
	text-align: center;
}

.project p {
	/*font-size: 1.5em;*/
	text-align: center;
}

.project #pres {
	font-size: 1.8em;
}

.button {
    font-family: 'Open Sans';
    font-weight: 700;
    letter-spacing: .1rem;
    cursor: pointer;
    padding: 10px 30px;
    display: inline-block;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border: solid 3px rgba(66, 9, 104, 1);
    letter-spacing: 1px;
    font-weight: 700;
    width: 5rem;
    margin: 3rem auto;
    display: block;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.button:hover {
	background-color: rgba(66, 9, 104, 1);
	color: white;
}


.project img {
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);}


.nav {
	max-width: 100%;
	padding: 32px 0px;
	height: 28px;
    font-size: 20px;
    padding-left: 48px;
    display: flex;
    flex-direction: row;
	text-transform: uppercase;
}



.navLink {
    margin-right: 16px;
    display: flex;
    align-items: flex-end;
    border-bottom: 2px solid transparent;
	cursor: pointer;
}

.navLink a {
	border-bottom: 4px solid transparent;
}

.navLink a:hover {
	border-bottom: 4px solid #A8DADC;
}

.navLinkSelected a {
    border-bottom: 4px solid #457B9D;
    font-weight: bold;
}


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

	.nav {
		padding-left: 16px;
		max-width: 100%;
		text-align: center;
	}	

	body{
		width: 100%;
	}

	h2 {
		text-align: left;
	}

	#moi {
		display: none;
	}

	.text, .pic {
		width: 100%;
		padding: 0px 16px;
		margin: 0px;
	}

	.project {
		height: auto;
		margin: 10px;
	}

	.reverse {
		-webkit-flex-direction: row;
		flex-direction: row;
	}
}


