@font-face {
	font-family: 'Wremena';
	src: url('fonts/Wremena_Regular.woff') format('woff2');
}

body {
	background-color: #222149;
	background-image: url("../images/bg/belspel.gif");
  background-position-y: 80px;
	background-repeat: no-repeat;
  background-size: 75%;
	background-attachment: fixed;
	background-position: center;
  font-family: 'Wremena', "Times New Roman", Times, serif;
}

#content {
	right: 0px;
}

#projects {
	margin-top: 40px;
	padding: 0 12px;
	overflow: hidden;
}

#projects ul li {
	width: 50%;
	margin-bottom: 12px;
	position: relative;
	box-sizing: border-box;
	display: block;
	float: left;
}

#projects ul li:nth-child(odd) {
	padding: 0 6px 0 0;

}

#projects ul li:nth-child(even) {
	padding: 0 0 0 6px;
}

#projects ul li img {
	width: 100%;
	cursor: pointer;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.8), 0px 0px 3px rgba(0,0,0,0.4);
	vertical-align: top;
	/*z-index: 1;*/
}

#projects ul li .title {
	top: 7px;
	left: 7px;
	right: 7px;
	position: absolute;
	color: #ffffff;
	font: italic 40px "Helvetica Neue", Helvetica, sans-serif;
	text-shadow: 0px 0px 10px #00ff00, 0px 0px 6px #00ff00, 0px 0px 3px #00ff00;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: 500;
	line-height: 35px;
	word-wrap: break-word;
	/*z-index: 2;*/
}

#projects ul li:nth-child(odd) .title {
	right: 13px;
}

#projects ul li:nth-child(even) .title {
	left: 13px;
}

#project {
	top: 0;
	left: 0;
	right: 0;
	min-height: 100%;
	padding: 0 20px;
	position: absolute;
	background: #ffffff;
	box-shadow: 0px 0px 80px rgba(0,0,0,0.9), 0px 0px 12px rgba(0,0,0,0.8);
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
	display: none;
	z-index: 2000;
}

#project h3 {
	width: 100%;
	margin-bottom: 20px;
	color: blue;
	font: italic 40px "Helvetica Neue", Helvetica, sans-serif;
	text-shadow: 0px 0px 10px #00ff00, 0px 0px 6px #00ff00, 0px 0px 3px #00ff00;
	text-transform: uppercase;
	font-weight: 500;
	line-height: 1;
	word-wrap: break-word;
	font-size: 42px;
	float: left;
}

#project .text {
	margin-bottom: 20px;
}

#project img {
	width: 100%;
	margin: 10px 0;
}

@media (min-width: 520px) {
	#projects ul li {
		width: 33.333%;
	}

	#projects ul li:nth-child(3n+1) {
		padding: 0 8px 0 0;
	}

	#projects ul li:nth-child(3n+2) {
		padding: 0 4px 0;
	}

	#projects ul li:nth-child(3n+3) {
		padding: 0 0 0 8px;
	}

	#projects ul li:nth-child(3n+1) .title {
		left: 7px;
		right: 15px;
	}

	#projects ul li:nth-child(3n+2) .title {
		left: 11px;
		right: 11px;
	}

	#projects ul li:nth-child(3n+3) .title {
		left: 15px;
		right: 7px;
	}

	#project #close_icon {
		margin: 5px 0 10px 0;
	}

	#project h3 {
		width: 40%;
		padding: 0 10px 0 0;
		box-sizing: border-box;
		float: left;
	}

	#project .text {
		width: 60%;
		padding: 0 0 0 10px;
		box-sizing: border-box;
		float: right;
	}
}

	#content {
		right: 0px;
		bottom: 0px;
		overflow: hidden;
	}

	#projects ul li {
		width: 200px;
		position: absolute;
		padding: 0 !important;
		box-shadow: 0px 0px 40px rgba(0,0,0,0.8), 0px 0px 8px rgba(0,0,0,0.4);
	}

	#projects ul li.ui-draggable,
	#projects ul li.ui-draggable img {
		cursor: pointer;
	}

	#projects ul li.ui-draggable-dragging,
	#projects ul li.ui-draggable-dragging img {
		cursor: grabbing;
	}

	#project {
		left: auto;
		bottom: 0;
		width: 650px;
	}
}
