@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css?family=Quicksand');

@font-face {
	font-family: Intro;
	src:url("../fonts/Intro.otf")
}

/* Color Scheme
#5de8dc turquoise
#e85d69 red
#7a7a7a grey
#a3e5dd light-turquoise
*/

.exclaim {
	font-family: Intro;
	font-weight: 100;
}

::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

body {
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 0px;
	margin: 0px;
}

section {
	display: block;
	height: 100vh;
	padding-left: 10vw;
	padding-right: 10vw;
}

h1, h2 {
	font-family: Intro;
}

h2 {
	margin: 0px;
}

h1{
	font-size: 40px;
	margin: 0px;
	padding: 0px;
}

header {
	position: fixed;
	width: 80vw;
	height: 70px;
	padding: 20px 10vw;
	z-index: 1;
}

#site-title {
	height: 70px;
	display:block;
	float: left;
}

#site-title a{
	text-decoration: none;
}

#site-title h1{
	color: #e85d69;
}
#site-title h2 {
	font-family: Quicksand;
	font-size: 20px;
	color: #7a7a7a;
	text-align: center;
	margin-top: -5px;
}

nav {
	font-family: Quicksand;
	font-weight: bold;
	text-align: right;
	font-size: 20px;
	line-height: 70px;
	margin: 0px;
	padding: 0px;
	display:block;
	float: right;
}

nav ul{
	list-style: none;
	padding-left: 0px;
	margin: 0px;
}

nav ul li{
	display: inline-block;
	padding-left: 2vw;
}

nav ul li a{
	text-decoration: none;
	color: #7a7a7a;
}

nav a:hover {
	color: #e85d69;
}

nav a.active {
	color: #e85d69;
}

main {
	padding: 0px;
}

#about {
	position: relative;
	color: #7a7a7a;
	background-color: #5de8dc;
}

#about article {
	width: 40vw;
	margin-left: 40vw;
	margin-top: 110px;
	position: absolute;
	top: 50%;
  	transform: translateY(-50%);
}

#about p{
	font-family: Quicksand;
	font-size: 19px;
	font-weight: normal;
	text-align: justify;
}

#profile {
	height: auto;
	width: 50vw;
	position: absolute;
	bottom: 0px;
	margin-left: -10vw;
	opacity: .88;
}

#portfolio {
	position: relative;
	width: 81vw;
	padding-left: 9.5vw;
	padding-right: 9.5vw;
	background-color: white;
}

#portfolio-container {
	position: absolute;
	width: 81vw;
	top: 50%;
  	transform: translateY(-50%);
}

.project-thumbnail {
	position: relative;
	width: 24%;
	height: 14vw;
	margin-right: 0.5%;
	margin-left: 0.5%;
	margin-bottom: 1vw;
	float: left;
	box-shadow: 1px 1px .5vw 0px rgba(36,36,36,0.2)
}

#project-1, #project-2, #project-3, #project-4, #project-5, #project-6, #project-7, #project-8 {
	background-size: 100%;
	background-repeat: no-repeat;
}

#project-1 {
	background-image: url("../images/portfolio/illuminatus.png");
}
#project-2 {
	background-image: url("../images/portfolio/mypeoplenow.png");
}
#project-3 {
	background-image: url("../images/portfolio/spice-and-friends.png");
}
#project-4 {
	background-image: url("../images/portfolio/gamansche.png");
}
#project-5 {
	background-image: url("../images/portfolio/eos-fitness.png");
}
#project-6 {
	background-image: url("../images/portfolio/ouvre-toi.png");
}
#project-7 {
	background-image: url("../images/portfolio/phi-theta-kappa.png");
}
#project-8 {
	background-image: url("../images/portfolio/octop1.png");
}


.caption {
	position: absolute;
	text-align: center;
	color: white;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: rgba(0,0,0,0.70);
}

.caption h2 {
	padding-top: 25%;
	font-size: 20px;
}

.caption p {
	font-family: Quicksand;
	margin: 0px;
	font-size: 15px;
}
.caption, .project-thumbnail {
	border-radius: 5px;
}

.project-thumbnail:hover .caption {
	opacity: 1;
}

#dash {
	font-family: sans-serif;
	font-size: 1.2em;
}

#contact {
	position: relative;
}

#contact-container {
	width: 80vw;
	position: absolute;
	top: 50%;
    transform: translateY(-50%);
}

#contact form {
	width: 50%;
	margin: 0 auto;
}

#contact input, #contact textarea {
	font-family: Quicksand;
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
	margin-bottom: 10px;
	border: 2px solid #D0D0D0;
	border-radius: 5px;
	outline: none;
}

#contact textarea {
	resize: none;
	height: 15vh;
}

#contact input:focus,  #contact textarea:focus{
	border: 2px solid #8cddd7;
}

#contact #submit {
	width: 25%;
	background-color: #e85d69;
	border: 2px solid white;
	color: white;
	font-weight: bold;
}

#contact #submit:hover {
	border: 2px solid #e85d69;
	background-color: white;
	color: #e85d69;
}

/*Project Pages*/

#project-details {
	padding-bottom: 110px;
	height: auto;
}

#project-details p{
	font-family: Quicksand;
	font-size: 20px;
	font-weight: normal;
	text-align: justify;
}

#project-main-image {
	margin-top: 130px;
}

#project-details img {
		width: 100%;
}

#project-details video {
	width: 80%;
	margin-left: 10%;
	margin-right: 10%;
}

#opaque-header {
	background-color: white;
}

#project-page {
	background-color: #EFEFEF;
	min-height: 100vh;
}


/*Screens*/

@media only screen and (max-aspect-ratio: 16/10){
	header {
		width: 80vw;
		height: auto;
	}
	
	#site-title {
		height: 70px;
		float: none;
		margin-bottom: 30px;
	}

	#site-title h1{
		width: max-content;
    	margin: 0px auto;
	}
	
	#site-title h2 {
		width: max-content;
    	margin: 0px auto;
	}

	nav {
		width: 80vw;
		text-align: center;
		font-size: 20px;
		line-height: 30px;
		float: none;
	}

	nav ul li{
		width: 26.6666vw;
		padding-left: 0px;
		float: left;
	}
	
	#about article {
		width: 80vw;
		padding-top: 8vh;
		position: relative;
		margin: 0px auto;
	}
	
	#profile {
		width: 60vw;
		margin: 0px 10vw;
		opacity: .2;
	}
	#project-main-image {
		margin-top: 200px;
	}
	
}


@media only screen and (max-aspect-ratio: 1/1){
	
	#portfolio {
		position: relative;
		width: 81vw;
		padding-left: 9.5vw;
		padding-right: 9.5vw;
		background-color: white;
	}

	#portfolio-container {
		margin-top: 50px;
	}

	.project-thumbnail {
		width: 28%;
		height: 16.333vw;
		margin-right: 11%;
		margin-left: 11%;
	}
	#contact #submit {
		width: 100%;
	}
}

@media only screen and (max-aspect-ratio: 82/100){
	.project-thumbnail {
		width: 40%;
		height: 23.333vw;
		margin-right: 5%;
		margin-left: 5%;
	}
	#contact form{
		width: 100%;
	}
	#contact #submit {
		width: 100%;
	}
}

@media only screen and (max-aspect-ratio: 77/100){
	
	#about article {
		padding-top: 25vh;
		top: auto;
		transform: none;
	}
}