html, body{
	text-align: center;
	background-color: #445;
	padding: 0;
	margin: 0;
	color: #fff;
	font-size: 1em;
}

p, h1, h2, h3, h4, h5, h6 {	
	transition: all 0.25s;
	font-family: 'Roboto', sans-serif;
	color: #fff;
	padding: 0;
	margin: 0;
	font-weight: 100;
}

h1 {
	font-weight: 900;
}

h2 {
	font-weight: 900;
}

h3 {
	font-size: 1.25rem;
	margin: 1rem 0;
}

h4 {
	font-size: 0.6rem;
	font-weight: 900;
}

a, a:visited {
	display: inline-block;
	transition: all 0.25s;
	font-weight: 700;
	color: #aad;
	text-decoration: none;
	text-shadow: 0 1px 2px #224;
}

a:hover {
	color: #cdf;
}


a.gray {
	color: #ddd;
}

a.gray:hover {
	color: #fff;
}

#wrap {
	z-index: 1;
	background-color: #556;
}

#top {
	text-align: center;
	padding: 5em 15px 3em;
}

#top > h3 {
	margin: 0;
	padding: 0;
}

#navigation {
	transition: all 0.5s;
	text-align: center;
	z-index: 2;
	position: fixed;
	margin: 0;
	padding: 8px;
	/*padding: 8px 8px 48px;*/
	width: 100%;
	/*background: rgba(0, 0, 0, 0);*/
	/*background: linear-gradient(to bottom, rgba(85,85,102,1) 0%, rgba(85,85,102,.9) 33%, rgba(85,85,102,0) 100%);*/
}

#navigation > li {
	display: inline-block;
	margin: 0 8px;
}

#navigation img {
	height: 0.75em;
	margin-top: -0.5em;
}

/*
#navigation:hover img {
	animation-name: dance;
	animation-duration: 2s;
}

@keyframes dance {
	0%     {}
	25%    {transform: rotate(-30deg);}
	75%    {transform: rotate(365deg);}
	95%    {transform: rotate(355deg);}
	100%   {transform: rotate(360deg);}
}
*/

.scrolled {
	background: rgba(50, 50, 60, 0.75);
}

a.patreonLink {
	color: #F96854;
}

.patreonLink:hover {
	color: #FF8A65;
}

.content {
	text-align: center;
	padding-bottom: 4rem;
	font-size: 0;
}

.content > h3 {
	font-size: 0.8rem;
	letter-spacing: 0.5em;
}

.item {
	vertical-align: top;
	position: relative;
	z-index: 1;
	height: 10rem;
	display: inline-block;
	width: 25%;
	background: transparent;
	overflow: hidden;
	font-size: 1rem;
	/*border-radius: 0.5em;
	border: solid 2px #445;*/
}

#current .background {
	background-position: 50%;
}

.background {
	transition: all 0.5s;
	width: 100%;
	height: 100%;
	z-index: -1;
	position: absolute;
	background-position: 50%;
	background-size: 120% auto;
	opacity: 1;
}

.game {
	transition: 0.5s all;
	background: rgba(40, 40, 40, 0.75);
	z-index: 2;
	position: relative;
	top: -2em;
	height: 100%;
	padding: 1em;
	opacity: 0;
}

.game > p {
	/*display: inline;*/
	margin: 0 2em;
}

.game > h2 {
	/*display: inline;*/
}

.game > h2 a {
	text-shadow: none;
}

.game > h2 a:hover {
	color: #cdf;
}

.game > h3 {
	font-size: 1.1em;
	margin: 0.25rem auto;
	font-weight: 400;
}

.item h4 {
	z-index: 3;
	position: absolute;
	/*top: -3px;*/
	top: 0;
	left: 0;
	display: inline-block;
	/*width: 50%;*/
	padding: 0.25em 0.5em;
	margin: 0 auto 0.5em;
	text-shadow: 0 0.5px 1px #000;
	background-color: rgba(0, 0, 0, 0.5);
	border-bottom-right-radius: 8px;
}

.itemType {
	z-index: 3;
	position: absolute;
	/*top: -3px;*/
	bottom: 0;
	right: 0;
	margin: 0.5rem;
	padding: 0.5rem;
	text-shadow: 0 0.5px 6px rgba(0,0,0,0.5);
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 8px;
}

#current .item .game p {
	margin: 0 3em;
}

.switch {
	width: 5rem;
	margin: 0.5rem auto;
	padding: 0.5rem;
	font-size: 0.75rem;
	background-color: rgba(0, 0, 0, 0.15);
	border-radius: 0.35rem;
}

.switch:hover{
	cursor: pointer;
}

.portfolio {
	padding-bottom: 1em;
}

#contactme {
}

#contactform {
	text-align: center;
}

input, textarea {
	transition: all 0.5s;
	font-family: 'Open Sans', sans-serif;
	width: 80%;
	padding: 0.5em;
	margin-top: 2px;
	margin-bottom: 1em;
	margin-left: -15px;
	font-size: 1.25em;
	color: #fff;
	background-color: #445;
	border: solid 1px #667;
	border-radius: 2px;
}

input[type="submit"] {
	max-width: 12em;
}

input[type="submit"]:hover {
	background-color: #fff;
	border-color: #fff;
	color: #445;
}

#contactme{
	text-align: center;
	width: 50%;
	margin: auto;
	padding: 0 0 1em;
}

#footer {
	font-size: 0.7em;
	background: #445;
	padding: 1em 15px 2em;
}

.sitenav {
	margin-bottom: 0.5em;
}

.sitenav a{
	font-weight: bold;
	margin: 4px;
}

.fa-heart {
	position: relative;
}

@keyframes heartbeat {
	0%   {color: #f00;}
	20%  {font-size: 1.15em; top: -0.0625em;}
	30%  {font-size: 1em;}
	50%  {font-size: 1.15em; top: -0.0625em;}
	60%  {font-size: 1em;}
	80%  {font-size: 1.15em; top: -0.0625em;}
	90%  {font-size: 1em; color: #f00;}
	100% {color: #fff;}
}

.fa-heart:hover {
	animation-name: "heartbeat";
	animation-duration: 2s;
}

@media screen and (min-width: 1921px) {
	html {
		font-size: 1.5em;
	}

	.item {
		height: 15rem;
	}
}

@media screen and (min-width: 1025px) {
	#current > .item {
		width: 50%;
		height: 15rem;
	}

	.item {
		height: 20vh;
	}

	.item:hover .background, .item:focus .background, .hover {
		background-size: 135% auto;
		background-position: 50%;
		/*filter: blur(2px);*/
	}

	.item:hover .game, .item:focus .game {
		top: 0;
		left: 0;
		opacity: 1;
	}

}


@media screen and (max-width: 1024px) {
	/*
	#navigation {
		text-align: center;
		background: linear-gradient(to bottom, rgba(85,85,102,1) 0%, rgba(85,85,102,.9) 33%, rgba(85,85,102,0) 100%);
	}
	*/

	html {
		font-size: 1.15rem;
	}

	.item {
		display: block;
		width: auto;
		border-left: none;
		border-right: none;
		border-bottom: none;
		border-radius: 0;
	}

	.item:last-child {
		border-bottom: solid 2px #445;
	}

	#current .item {
		height: 15em;
	}
	
	.game {
		background: rgba(40, 40, 40, 0.75);
		position: relative;
		padding: 1rem;
		width: 50%;
		top: 0;
		left: 0;
		opacity: 1;
	}

	.game > p {
		margin: 0 1em;
	}

	#contactme {
		width: 75%;
	}
	
	.background {
		background-position: 0;
		background-size: 1024px auto;
	}
}

@media screen and (max-width: 640px) {
	.item {
		border: none;
	}
	.game {
		margin: auto;
		width: auto;
		padding: 1.5rem 1.5rem 0;
		background: rgba(40, 40, 40, 0.75);
	}

	.background {
		background-position: 0;
		background-size: 640px auto;
	}

	#contactme {
		width: 90%;
	}
}