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

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

h1 {
	font-weight: 900;
}

h1 > span {
	font-weight: 900;
	display: inline-block;
}

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 {
	margin: auto;
	max-width: 1280px;
	z-index: 1;
	background-color: #556;
}

#wrap.privacy {
	padding: 1em 2em;
}

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

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

/*#header {
	background: rgb(85,85,102);
	background: linear-gradient(0deg, rgba(85,85,102,1) 0%, rgba(85,85,102,0) 100%);
}*/

#navigation {
	transition: all 0.5s;
	text-align: center;
	z-index: 2;
	position: fixed;
	margin: 0;
	padding: 8px;
	/*padding: 8px 8px 48px;*/
	width: 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(40, 40, 50, 0.85);
}

a.patreonLink {
	color: #F96854;
}

.patreonLink:hover {
	color: #FF8A65;
}

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

.privacy .content {
	text-align: left;
}

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

.item {
	position: relative;
	z-index: 1;
	height: 20vh;
	min-height: 10em;
	display: block;
	width: auto;
	border-left: none;
	border-right: none;
	border-bottom: none;
	border-radius: 0;
	background: transparent;
	overflow: hidden;
	font-size: 1rem;
	/*border-radius: 0.5em;
	border: solid 2px #445;*/
	/*box-shadow: inset 0px 0px 20px #000;*/
}

.item > a {
	position: relative;
	height: 100%;
	display: block;
	color: #fff;
}

.item > a:hover, .item > a:visited {
	color: #fff;
}

.item > a > .game > h2 {
	color: #aad;
}

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

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

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

.item > a:hover > .background {
	background-size: 110% auto;
}

.game {
	transition: 0.5s all;
	background: rgba(40, 40, 40, 0.95);
	z-index: 2;
	margin:auto;
	width: 50%;
	padding: 1em;
	opacity: 1;
	border: solid 1px #fff;
	border-top: none;
	border-radius: 0px 0px 8px 8px;
	box-shadow: 0px 0px 20px #000;
}

.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 .game span {
	z-index: 3;
	position: absolute;
	font-weight: 900;
	font-size: 0.75em;
	bottom: 0;
	left: 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;
}

.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;
	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 {
	width: 75%;
}

#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 (max-width: 640px) {
	.item {
		border: none;
		height: auto;
	}

	.game {
		margin: auto;
		width: auto;
		padding: 1.5rem;
		background: rgba(40, 40, 40, 0.75);
		border: none;
		border-radius: 0;
		box-shadow: none;
	}

	.item .game span {
		top: 0;
		bottom: auto;
	}

	.itemType {
		top: 0;
		bottom: auto;
	}

	.background {
		height: 10em;
		position: relative;
		background-size: 100% auto;
	}
} 