html {
	margin: 0;
	padding: 0;
}
body {
	margin: 0;
	padding: 0;
	color: #ffffff;
	font-family: 'Lato', sans-serif;
	background: #000000;
	font-size: 1rem;
}
header {

}
#wrapper {
	perspective: 2px;
	transform-style: preserve-3d;
	  height: 100vh;
	  overflow-x: hidden;
	  overflow-y: scroll;
}

#logo {
	color: #ffffff;
	display: block;
	left: 0;
	right: 0;
	text-align: center;
	padding-top: 20px;
	text-decoration: none;
	position: absolute;
}
#logotext {
	color: #000000;
	display: inline-block;
	padding: 10px 20px;
	background: #ffffff;
	font-weight: bold;
	font-size: 40px;
	margin-bottom: 8px;
	transition: all 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
#logosub {
	display: inline-block;
	transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#logo:hover {
	cursor: pointer;
}
#logo:hover #logosub {
	transform: scale(1.1) translateY(-2px);
}
#logo:hover #logotext {
	opacity: 0.8;
	transform: translateY(-8px);
}
content {
	text-align: center;
}
.text-center { text-align: center; }
.text-black { color: #000000; }


/* Screens/Sections */
.screen {
	background-position: top center;
	background-size: cover;
	height: calc(100vh - 50px);
	min-height: 500px;
	text-align: left;
	position: relative;
}
.screen-center-text {
	top: 70%;
	transform: translateY(-50%);
	position: absolute;
	left: 0;
	right: 0;
}
.screen.half {
	min-height: 50vh;
	height: auto;
}
.screen.orange {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f17a22+0,fcc325+100 */
	background: #f17a22; /* Old browsers */
	background: -moz-linear-gradient(-45deg, #f17a22 0%, #fcc325 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg, #f17a22 0%,#fcc325 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg, #f17a22 0%,#fcc325 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f17a22', endColorstr='#fcc325',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	color: #000000;
}

.screen.gray {
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f9f9f9+0,e5e5e5+100 */
background: #f9f9f9; /* Old browsers */
background: -moz-linear-gradient(-45deg, #f9f9f9 0%, #e5e5e5 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg, #f9f9f9 0%,#e5e5e5 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg, #f9f9f9 0%,#e5e5e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#e5e5e5',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	color: #000000;
}

.screen.rainforest {
	background-image: url(../images/rainforest_blurred.jpg);
	background-size: cover;
	color: #000000;
}

.screen h1 {
	font-size: 3rem;
}
.screen h2 {
	font-size: 2.5rem;
}
.screen.padding {padding: 50px 0px;}




/* Section - Hero */
.hero {
	text-align: center;
}
.hero h1, .hero h2 {
	text-shadow: 2px 0px 10px rgba(0,0,0,0.6);
}
.hero-icons {
	position: absolute;
	text-align: center;
	top: 150px;
	width: 100%;
}
.hero-icons a.hero-icon {
	padding: 6px 14px;
	border-radius: 35px;
	background: #ECECEC;
	color: #2C2C2C;
	min-width: 40px;
	min-height: 40px;
	text-align: center;
	display: inline-block;
	
	font-size: 16px;
	margin-right: 8px;
	margin-bottom: 8px;
	transition: all 0.2s;
}
.hero-icons a.hero-icon i {
	line-height: 28px;
}

.hero-icons a.hero-icon:hover {
	color: #000000;
	background: #4AC1ED;
	box-shadow: 0px 2px 0px rgba(0,0,0,1);
	transform: translateY(-2px);
	cursor: pointer;
}


/* Section - Description */
.code-text {
	padding: 50px 20px;
	position: relative;
	font-size: 1.1rem;
}
.code-text:after {
	content: '}';
	position: absolute;
	font-size: 350px;
	top: -100px;
	right: -30px;
	opacity: 0.1;
	transform: rotate(-10deg);
}
.code-text:before {
	content: '{';
	position: absolute;
	font-size: 350px;
	top: -40px;
	left: -80px;
	opacity: 0.1;
	transform: rotate(-5deg);
}

.buzzwords {
	list-style-type: none;
	margin-top: 60px;
	margin-left: 0px;
	padding-left: 0px;
}
.buzzwords li {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 5px;
	margin: 5px;
	background: rgba(0,0,0,0.06);
	box-shadow: inset 0px 3px 3px rgba(0,0,0,0.1), 0px 1px 0px rgba(255,255,255,1);
}


/* Section - Portfolio */
.portfolio {
	display: flex;
	flex-flow: row wrap;
}
.portfolio>a {
	flex-basis: 33%;
	display: block;
	text-align: center;
	text-decoration: none;
	margin-bottom: 50px;
	cursor: pointer;
	padding: 0 15px;
}
.portfolio>a:hover .project-item-image {
	box-shadow: 0px 2px 2px 2px rgba(0,0,0,0.3);
	transform: scale(1.1);
}
.portfolio>a .project-item-image {
	border-bottom: 1px solid #a7a7a7;
	transition: all 0.2s;
}
.portfolio>a .project-item-header {
	text-transform: uppercase;
	font-size: 16px;
	color: #ffffff;
	margin: 5px;
	display: block;
	text-shadow: none;
}
.portfolio>a .project-item-description {
	color: #B4B4B4;
	font-size: 14px;
	margin: 0px 5px;
	display: block;
	text-shadow: none;
	font-weight: normal;
}

/* Section - More about */
.me-portrait {
	bottom: 0;
	height: 200px;
	width: auto;
	right: 0;
	left: 20px;
	position: relative;
}



/* EFFECTS */
/* Parallax */
.parallax, .parallax:before {
	background: 50% 50% / cover;
	background-size: cover;
}
.parallax:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	transform: translateZ(-1px) scale(1.55);
	z-index: -1;
}

.hero.parallax:before { background-image: url('../images/hero.jpg'); }
.projects.parallax:before { background: url('../images/footer_lodyas.png'); transform: none; }



#popup-cover {
	position: fixed;
	height: 100vh;
	width: 100vw;
	background: rgba(0,0,0,0.7);
	z-index: 20;
	top: 0;
	left: 0;
	opacity: 0;
	pointer-events: none;
}
#popup {
	display: block;
	position: fixed;
	background: #ffffff;
	height: 80vh;
	width: 96vw;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	z-index: 30;
	padding: 40px 60px;
	max-width: 800px;
	color: #484848;
	opacity: 0;
	pointer-events: none;
}

#popup.show { opacity: 1; pointer-events: auto; }
#popup-cover.show { opacity: 1; pointer-events: auto; }


#popup-description {
	overflow-y: auto;
	height: calc(80vh - 150px);
}
#popup-description h4 {
	margin-bottom: 0;
}
#popup-close {
	position: absolute;
	top: 0;
	right: 0;
	color: #484848;
	padding: 10px 20px;
	font-size: 30px;
}
#popup-close:hover {
	color: #000000;
	cursor: pointer;
}
.project-image {
	width: 25%;
	display: block;
	float: left;
	padding: 3px;
}
.project-image img { 
	max-width: 100%; 
	padding: 3px;
	background: #ffffff;
}

.hidden {display: none;}

/* Responsivity */
@media (min-width: 576px) {
	
	
	.screen-center-text { top: 50%; }	
	#popup { padding: 20px; }
	#popup-description { height: calc(80vh - 94px); }

}
@media (min-width: 768px) {
	.parallax, .parallax:before { background-size: cover; }
	.portfolio>a { flex-basis: 100%; }
	.me-portrait {
		height: 200px;
		width: auto;
		right: 6px;
		left: auto;
		position: absolute;
	}
}
@media (min-width: 992px) {
	.buzzwords { padding-left: 40px; }
	.portfolio>a { flex-basis: 50%; }
	.me-portrait {
		height: 450px;
		width: auto;
		right: 30px;
	}
}
@media (min-width: 1200px) { 
	.portfolio>a { flex-basis: 33%; }
	.me-portrait {
		height: 500px;
		width: auto;
		right: 30px;
	}
}