html
{
	height: 100%;
	background-image: url('images/bgback.png');
}

body
{
	margin:0px;
	height: 100%;
}

header.site_header
{
	background: rgb(255,255,230);
	background-image: url('images/bghead.png');
	height: 192px;
	position: relative;
}
#title
{
	position: absolute;
	top: 32px;
	z-index:0;
	width: 100%;
}
#languages
{
	position: absolute;
	top: 4px;
	right: 4px;
	z-index:10;
	width: 100%;
	text-align: right;
}
#home
{
	text-align: left;
}
nav
{
	background: rgb(230,255,255);
	background-image: url('images/bgnav.png');
	height: 32px;
}
nav a
{
	display: inline-block;
	height: 24px;
	margin: 4px;
}
a.card
{
	color: white;
}
#container
{
	width: 800px;
	background-image: url('images/bgmain.png');
	min-height: 100%;
	overflow: visible;
	background-color: #808080;
	margin:auto;
	text-align:center;
	font-family: 'Ubuntu Condensed', sans-serif;
	color:black;
}

#ibbanniere{
	width: 100%;
	height: auto;
}
#ibmacaron{
	position: absolute;
	right: 0;
	bottom: 0;
	height: 50%;
	width: auto;
}
@media all and (max-width: 540px)
{
	#ibmacaron{
	position: absolute;
	right: 0;
	bottom: 0;
	height: 50%;
	width: auto;
	display: none;
	}

}



img
{
    max-width: 100%;
}
img
{
    height: auto;
}
#main h2
{
	padding-left: 5px;
}


article.game
{
	width:385px;
	height:280px;
	display:inline-block;
	position: relative;
	background-color: black;
	box-shadow: 6px 6px 8px rgba(0,0,0,0.5);
	border-radius: 4px;
	overflow: hidden;
	margin-left: 6px;
	border: 1px solid black;
	margin-top: 10px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	max-width: 90%;
	color: white;
}


a[href] article.game:hover
{
	bottom:2px;
	box-shadow: 6px 8px 8px rgba(0,0,0,0.5);
}







article.game h2
{
	text-align:left;
	margin:0px;
	background-color: rgba(20,20,50,0.8);
	z-index: 10;
	position: absolute;
	top: 0px;
	width: 100%;
	font-weight: normal;
	font-size: 18px;
	font-family: 'Paytone One', sans-serif;

	height: 30px;
	padding-left:3px;
	padding-top: 2px;
}

article.game aside
{
	text-align:right;
	margin:0px;
	z-index: 10;
	position: absolute;
	top: 2px;
	right: 2px;
	width: 100%;
	font-weight: normal;
	font-size: 16px;
	/*color: rgb(150,150,150);*/
	/*background-color: rgba(20,20,50,0.6);*/
}
article.game:hover .playnow { text-decoration: underline; }

.game_description
{
	width: 100%;
	background-color: rgba(20,20,50,0.8);
	position: absolute;
	bottom: 0px;
	z-index: 0;
	text-align:left;
	font-size: 0.9em;
	max-width: 100%;
	padding: 2px;
}


article.game_full
{
	margin:auto;
	margin-top: 10px;
	width: 95%
}
article.game_full h2
{
	font-family: 'Paytone One', sans-serif;
	font-size: 2em;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

article.game_full p
{
	text-align: justify;
}
.screenshots
{
	clear:both;
	text-align: center;
	font-style: italic;
	margin-bottom: 1.5em;
	margin-top: 1em;
}
.screenshots img
{
	max-width: 480px;
}

article.game_full aside
{
	width: 100%;
	text-align: center;
	margin-bottom: 8px;
}
article.game_full h3
{
	margin: 5px;
	font-size: 15px;
}
article.game_full aside a
{
	display: inline-block;
	width: 246px;
	font-weight: bold;
	/*background-color: rgb(130,130,130);
	background: linear-gradient(rgb(130,130,130), rgb(100,100,100));*/
	background-color: rgb(110,200,80);
	background: linear-gradient(rgb(110,200,80), rgb(70,160,40));
	font-size: 1.3em;
	margin: 2px;
	text-decoration: none;
	color: white;
	border: 1px solid black;
	border-radius: 4px;
	box-shadow: 4px 4px 4px rgba(0,0,0,0.5);
	padding-top: 4px;
	padding-bottom: 4px;
	position: relative;
}
article.game_full aside a:hover
{
	bottom: 2px;
	background-color: rgb(210,210,900);
	background: linear-gradient(rgb(210,210,90), rgb(170,170,50));
	box-shadow: 4px 6px 4px rgba(0,0,0,0.5);
}

.about
{
	text-align: justify;
	width: 95%;
	margin:auto;
	margin-top: 10px;
}


a.good, article.game_full aside a.good
{
	background-color: rgb(170,170,50);
	background: linear-gradient(rgb(170,170,50), rgb(140,140,20));
}
a.facebook, article.game_full aside a.facebook
{
	background-color: rgb(59, 89, 152);
	background: linear-gradient(rgb(59, 89, 152), rgb(29, 59, 122));
}
a.indiedb, article.game_full aside a.indiedb
{
	background-color: rgb(120, 140, 120);
	background: linear-gradient(rgb(120, 140, 120), rgb(90, 110, 90));
}
a.android, article.game_full aside a.android
{
	background-color: rgb(134,169,27);
	background: linear-gradient(rgb(134,169,27), rgb(104,139,0));
}

.placeholder
{
	width:300px;
	height: 2px;
	display:inline-block;
	visibility: hidden;
	margin-left: 8px;
	margin-right: 8px;
	border: 1px solid black;
	margin-top: 10px;
}
.feed-item{
	padding: 0.25em;
	margin-top: 1em;
	width: 70%;
	text-align: left;
	box-shadow: 3px 3px 4px rgba(0,0,0,0.2);
	border-radius: 2px;
}
.feed-item:nth-child(odd){
	background-image: url('images/bgnewsA.png');
	margin-left: 25%;
	margin-right: 5%;
	text-align: right;
}
.feed-item:nth-child(even){
	background-image: url('images/bgnewsB.png');
	margin-left: 5%;
	margin-right: 25%;
}
.feed-item h3{
	text-align: left;
	font-family: 'Paytone One', sans-serif;
	margin: 0;
	font-size: 1.2em;
	display: inline-block;
}
.feed-item h4{
	text-align: left;
	margin: 0;
	font-size: 1em;
	color: grey;
	font-style: italic;
	font-weight: normal;
	display: inline-block;
}
.feed-item p{
	margin: 0.25em;
	text-align: left;
	text-align: justify;
}
.feed-item:nth-child(odd) h3, .feed-item:nth-child(odd) h4{
	text-align: right;
}
a#expandfeed{
	color:black;
	text-decoration: none;
}
a#expandfeed:hover{
	color:darkgrey;
	text-decoration: none;
}


@media all and (max-width: 800px)
{
    #container
	{
		width: 100%;
	}
	.feed-item{
		width: 87%;
	}
	.feed-item:nth-child(odd){
		margin-left: 10%;
		margin-right: 3%;
		text-align: right;
	}
	.feed-item:nth-child(even){
		margin-left: 3%;
		margin-right: 10%;
		text-align: left;
	}
	html
	{
		background-image: url('images/bgmain.png');
	}
	iframe.youtube
	{
		width: 256px;
		height: 144px;
	}
	article.game_full aside
	{
	width: 250px;
	float: none;
	text-align: center;
	margin: auto;
	margin-top: 8px;
	}
	article.game_full h3
	{
		display:none;
	}
	article.game_full .summary
	{
		max-width: 100%;
	}
	#home
	{
		text-align: center;
	}
}
@media all and (max-width: 480px)
{
    #container
	{
		width: 100%;
	}
	html
	{
		background-image: url('images/bgmain.png');
	}
	iframe.youtube
	{
		width: 256px;
		height: 144px;
	}
	article.game_full aside
	{
	width: 250px;
	float: none;
	text-align: center;
	border-bottom: 1px solid black;
	margin: auto;
	margin-top: 8px;
	}
	article.game_full h3
	{
		display:none;
	}
	article.game_full .summary
	{
		max-width: 100%;
	}
	.screenshots img
	{
		max-width: 90%;
	}
}

#newsletter p{
	text-align: left;
	padding-left: 0.5em;
	display: inline-block;
	margin: 0;
}
#newsletter form{
	display: inline-block;
}
#newsletter input{
	border-radius: 3px;
	border: 1px solid black;
	padding: 4px;
	font-family: 'Ubuntu Condensed', sans-serif;
}
#newsletter button{
	border-radius: 3px;
	border: 1px solid #343a40;
	padding: 4px;
	font-family: 'Ubuntu Condensed', sans-serif;
	background-color: #007bff;
	color: white;
	cursor: pointer;
}
.newsletter_ok{
	padding: 1em;
	margin: 1em;
	color: #155724;
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	border-radius: 3px;
}
