/* custom css */

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
	font-size: 10px;
	word-wrap: break-word;
	color: black;
}

.popup {
	font-size: 2em;
	background-color: black;
	padding: 18px;
	color: white;
	width: calc(33% - 3 * 36px);
	position: absolute;
	z-index: 100;
	box-shadow: 10px 10px 10px lightgrey;
}

.popup > .close {
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
}

.popup > .text{
	width: 90%;
	margin-bottom: 36px;
}

.popup > .circleicon {
	margin-top: 2px;
}

.popup > a {
	color: white;
	border-color: white;
	margin: 9px 0 0 9px;
	font-size: 1em;
	line-height: 22px;
	padding-bottom: 3px;
}

.hidden {
	display: none;
}

/* INDEX */

#landing {
	width: 100%;
	height: 100%;
}

.bg {
	width: 100%;
	height: 100%;
	overflow: hidden;
	opacity: 0;
	-webkit-transition: all ease-in-out 1s;
    transition: all ease-in-out 1s;
}

.showbg {
	opacity: 1;
	-webkit-transition: all ease-in-out 0.5s;
    transition: all ease-in-out 0.5s;
}

#landing .turquoise, #portfolio > .turquoise {
	background-color: #00FFFF;
}

#landing .pink {
	background-color: #FF00FF;
}

#landing .yellow {
	background-color: #FFDC00;
}

#landing .green {
	background-color: #00A100;
}

a {
	text-decoration: none;
	color: black;
}

#header {
	top: 0;
}

#header.fixed {
	position: fixed;
	height: 36px;
	width: 100%;
	background-color: white;
	border-bottom: black solid 2.8px;
	z-index: 150;
}

.header > a {
	position: absolute;
	top: 9px;
	font-size: 2em;
	line-height: 20px;
	padding-bottom: 3px;
	/*border-bottom: black solid 1.4px;*/
}

a.projects {
	left: 2%;
}

a.contact {
	right: 2%;
}

.landingtext {
	width: 84%;
	height: 100%;
	margin: 10% 0;
	padding: 0 8%;
	font-family: 'EB Garamond', serif;
	line-height: calc(1em + 4px);
}

.landingtext.large {
	font-size: 9.5em;
}

.landingtext.medium {
	font-size: 6em;
}

.landingtext.small {
	font-size: 4em;
}
/*
.landingtext.rotated {
	margin: 4% 8%;
	-webkit-transform: rotate(-15deg); 
	-moz-transform: rotate(-15deg); 
	-o-transform: rotate(-15deg);
	-ms-transform: rotate(-15deg);
	transform: rotate(-15deg);
}
*/

/* PORTFOLIO */

#portfolio {
	height: auto;
	width: 100%;
	cursor: url(../img/skorp_30x30_no_ani.gif) 0 5, auto;
}

#portfolio > div {
	font-size: 2em;
	line-height: 1.33em;

	-moz-column-count: 1;
	-webkit-column-count: 1;
	column-count: 1;

	margin: 0 0 0 2%;
	padding: 90px 0 0 0;
}

.portfolioEntry, .categories > div {
	margin: 0 2% 30px 0;
	display: inline-block;
	vertical-align: top;
	width: 98%;

	*display: inline;
	*margin-right: 0.3em;
	*zoom: 1;
}

.portfolioEntry .portfolioImg {
	width: auto;
	max-width: 100%;
}

.teasertext {
	margin-top: 18px;
	font-family: 'EB Garamond', serif;
	line-height: 1.1;
}

.teasertext.large {
	font-size: 4em;
}

.teasertext.medium {
	font-size: 2.5em;
}

.teasertext.small {
	font-size: 1.3em;
}

.teasertext.rotated {
	margin: 4% 8%;
	-webkit-transform: rotate(-15deg); 
	-moz-transform: rotate(-15deg); 
	-o-transform: rotate(-15deg);
	-ms-transform: rotate(-15deg);
	transform: rotate(-15deg);
}

.teasertext.turquoise {
	color: #00FFFF;
}

.teasertext.pink {
	color: #FF00FF;
}

.teasertext.yellow {
	color: #FFDC00;
}

.teasertext.green {
	color: #00A100;
}

.description {
	margin: -27px 0 0 36px;
	font-size: 0.75em;
	line-height: calc(1em + 4px);
}

.circleicon {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid black;
	display: block;
	float: left;
}

.circleicon.white {
	border-color: white;	
}

.lineicon {
	margin-top: 12px;
	width: 18px;
	height: 16px;
	border-top: 2px solid black;
	display: block;
}

h2 {
	font-size: 1em;
	text-transform: uppercase;
	font-weight: 400;
	margin: -4px 0 0 36px;
}

h3 {
	font-size: 1em;
	font-weight: 400;
	margin-bottom: 0;
}

p {
	margin: 0;
}

img, video {
	width: 100%;
	height: auto;
}

/* CONTACT */

#contact {
	height: auto;
	width: 100%;hggggbhgb
	clear: both;
	background-color: lightgrey;
}

#contact > div {
	margin: 0 2%;
	padding: 2% 0;
	font-size: 2em;
	line-height: 1.33em
}

.left, .right {
	width: 96%;
}

#contactdetails {
	margin-top: 36px;
	margin-bottom: 36px;
}

.dateEntry {
	margin-bottom: 15px;
}

.hidemobile {
	display: none;
}

html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

@media only screen and (min-width : 680px) {

	/* index.html */

	#portfolio > div {
		-moz-column-count: 2;
		-webkit-column-count: 2;
		column-count: 2;
	}

	.hidemobile {
		display: block;
	}

	.portfolioEntry, .categories > div {
		width: 100%;
	}

	.portfolioEntry .portfolioImg {
		max-width: 75%;
	}

	#header.fixed {
		height: 45px;
	}

	.header > a:hover {
		border-bottom: black solid 1.4px;
	}

	.popup > a:hover {
		border-bottom: white solid 1.4px;
	}
}

/* FULL SIZE */
@media only screen and (min-width : 1020px) {

	a.projects {
		left: 36px;
	}

	/* index.html */

	.landingtext {
		width: 80%;
		padding: 0 5%;
		margin: 4% 0;
	}

	.landingtext.large {
		font-size: 30em;
		line-height: 1em;
	}

	.landingtext.medium {
		font-size: 16em;
		line-height: 1.1em;
	}

	.landingtext.small {
		font-size: 11em;
		line-height: 1.2em;
		width: 90%;
	}

	.landingtext.rotated {
		font-size: 27.5em;
		line-height: 1em;
		margin: 4% 0 0 4%;
		-webkit-transform: rotate(-15deg); 
		-moz-transform: rotate(-15deg); 
		-o-transform: rotate(-15deg);
		-ms-transform: rotate(-15deg);
		transform: rotate(-15deg);
	}

	.portfolioEntry {
		margin-right: 36px;
		position: relative;
	}
	
	.portfolioEntry .portfolioImg {
		display: none;
		z-index: 5;
		position: absolute;
	}

	.portfolioEntry .portfolioImg.hover {
		display: block;
		box-shadow: 10px 10px 10px lightgrey;
	}

	#portfolio > div {
		margin-left: 36px;
		margin-right: 36px;
		-moz-column-count: 3;
		-webkit-column-count: 3;
		column-count: 3;
	}

	.teasertext {
		margin-left: 0;
		margin-right: 0;
	}

	.teasertext.large {
		font-size: 5.5em;
	}

	.teasertext.large.rotated {
		font-size: 5em;
	}

	.teasertext.medium {
		font-size: 3.3em;
	}

	.teasertext.small {
		font-size: 1.8em;
	}

	.left, .right {
		float: left;
	}

	.left {
		width: 61%;
	}

	.right {
		width: 30%;
	}


	#contact {
		overflow-y: hidden;
		height: calc(100% - 45px);
	}

	#contactdetails {
		margin-top: 36px;
	}

	.right {
		overflow-x: hidden;
		height: 100%;
	}

	.right > .categories {
		width: calc(100% + 17px);
		height: 100%;
		overflow-y: auto;
		overflow-x: hidden;
		cursor: none;
	}

	#cursor {
	  position  : absolute;
	  z-index   : 10000;
	  width     : 30px;
	  height    : 30px;
	  background: transparent url(../img/skorp_30x30.gif) 0 0 no-repeat;
	}

	.right > .categories > div:first-child {
		padding-top: 1px;
	}

	.right > .categories > div:last-child {
		padding-bottom: 60px;
	}
}
