html, body {
	font-family: 'Open Sans', sans-serif;
	font-size: 100%;
	background-color: #fff;
}
a:link,
a:visited,
a:active,
a:hover {
	color: #3855dd;	
}
a:hover {
	text-decoration: underline;
}

hr {
	border-color: #fff;
	border-width: 2px;
	margin-top: 1.8rem;
}

/*COMMON*/
.app.darkstories {
		background: #323232;
		color: #ccc;
	}
	.app.decisionroulette {
		background: #894b9d;
		color: #fff;
	}
		.app.decisionroulette .description {
			color: #fff;
		}
	.app.luckycage {
		background: #007d71;
		color: #fff;
	}
		.app.luckycage .description {
			color: #f0f0f0;
		}
	.app.noumi {
		background: #bf263c;
		color: #fff;
	}
		.app.noumi .description {
			color: #f0f0f0;
		}
	.app.pixelblast3d {
		background: #2da059;
		color: #fff;
	}
		.app.pixelblast3d .description {
			color: #f0f0f0;
		}
	.app.pinballhero {
		background: #3d7fb4;
		color: #fff;
	}
		.app.pinballhero .description {
			color: #fff;
		}
	.app.timetrivia {
		background: #474747;
		color: #fff;
	}
		.app.timetrivia .description {
			color: #fff;
		}
	.app.ballstar,
	.app.treasured {
		background: #2d93c8;
		color: #fff;
	}
		.app.ballstar .description,
		.app.treasured .description {
			color: #fff;
		}
	.app.battlecards {
		background: #292929;
		color: #fff;
	}
		.app.battlecards .description {
			color: #fff;
		}


/*HEADER + FOOTER*/
#header {
	padding: 0.5em 0;
	position: relative;
}
	#header .container {
		height: 70px;
		position: relative;
	}

	#header .logo a {
		background: url(../img/treebit.png) no-repeat 50% 0px;
		display: block;
		height: 64px;
		width: 256px;
	}
	#header .nav {
		padding-top: 15px;
	}
		#header .nav a {
			color: #333;
		}
		#header .nav .language a {
			background: #f2f2f2;
			border-radius: 5px;
		}
		#header .nav a:hover {
			color: #000;
		}

#footer {
	color: #666;
	padding: 3em 0;
	text-align: center;
}


/*INDEX*/
#index #start {
	background-color: #42c85a;
	background-image: url("../img/landing/header.png");
	background-size: cover;
	height: 350px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

#index #features{
}
	#index #features h2 {
		font-weight: 700;
		font-size: 3em;
	}
		#index #features span {
			width: 230px;
			height: 230px;
			display: inline-block;
			background: url(../img/landing/features.png) no-repeat 0px 0px;
		}
		#index #features p {
			color: #666666;
			font-size: 1em;
			width: 85%;
			margin: 0 auto;
		}
		#index #features span.all {
			background-position: -10px 0px;
		}
		#index #features span.group {
			background-position: -250px 0px;
		}
		#index #features span.original {
			background-position: -490px 0px;
		}
#index #apps {
}
	#index #apps .app {
		box-shadow: inset 0 8px 5px rgba(0,0,0,.25);
	}
	#index #apps .app .app-content {
		order: 1;
	}
	#index #apps .app.even .app-content {
		order: 0;
	}
		#index #apps .app-content h3 {
			color: #fff;
			font-weight: 800;
			font-size: 3em;
			margin-top: 1em;
		}
		#index #apps .app-content p {
			line-height: 1.8em;
		}

		#index #apps .app-content a {
			border-radius: 10px;
			border: 2px solid #fff;
			color: #fff;
			display: inline-block;
			font-size: 20px;
			margin-top: 1em;
			padding: 0.8em 1.4em;
			text-align: center;
		}
			#index #apps .app-content a:hover {
				text-decoration: none;
			}
	#index #apps .app-image img {
		width: 100%;
	}
	#index #apps #secondaryapps {
		background: #444;
	}
		#index #apps #secondaryapps h3 {
			color: #fff;
			font-size: 2em;
			font-weight: bold;
		}
		#index #apps #secondaryapps a {
			color: #fff;
			font-size: 1.2em;
			text-decoration: none;
		}
			#index #apps #secondaryapps a img {
				margin-top: 20px;
			}
			#index #apps #secondaryapps a span {
				display: block;
				margin-bottom: 10px;
				margin-top: 10px;
			}


#index #contact {
	height: 300px;
	padding: 5em 0;
	text-align: center;
}
	#index #contact h3 {
		color: #323232;
		font-size: 3em;
		font-weight: 700;
		margin-bottom: 0.5em; 
	}
	#index #contact p {
		color: #666;
		line-height: 1.8em;
	}


/*APP INFO*/
#appinfo {
	line-height: 1.8em;
}
	#appinfo h1 {
		color: #fff;
		font-size: 3.5em;
		font-weight: bold;
	}
	#appinfo h2 {
		color: #fff;
		font-size: 2.5em;
	}
	#appinfo h3 {
		color: #fff;
		font-size: 1.8em;
	}
	#appinfo .highlighted {
		font-size: 2em;
		font-style: italic;
		font-weight: 300;
		line-height: 1.2em;
	}
	#appinfo .features {
		background-color: rgba(255,255,255,0.05);
		font-size: 0.9em;
		padding: 10px 20px;
	}
		#appinfo .features strong {
			font-weight: 600;
			text-transform: uppercase;
		}
		#appinfo .features ul {
			margin-top: 5px;
			padding-left: 20px;
		}
	#appinfo .gallery {
		background-color: rgba(0,0,0,.5);
		box-shadow: inset 0 5px 5px rgba(0,0,0,.1), inset 0 -5px 5px rgba(0,0,0,.1);
	}
		#appinfo .gallery img {
			box-shadow: 0 1px 5px rgba(0,0,0,.5);
		}
	#appinfo .conversation {
		background-color: rgba(0,0,0,.3);
		box-shadow: inset 0 5px 5px rgba(0,0,0,.1), inset 0 -5px 5px rgba(0,0,0,.1);
	}
		#appinfo .conversation h3 {
			text-align: center;
		}
		#appinfo .conversation .items .item {
			color: #323232;
		}
		#appinfo .conversation .items .item .user {
			display: inline-block;
			font-style: italic;
			text-align: center;
		}
			#appinfo .conversation .items .item.narrator {
				color: #357ef3;
			}
			#appinfo .conversation .items .item.player1 {
				color: #8e44ad;
			}
			#appinfo .conversation .items .item.player2 {
				color: #109d58;
			}
			#appinfo .conversation .items .item.even .user {
				float: right;
			}
			#appinfo .conversation .items .item .user i {
				display: block;
				font-size: 4em;
			}
		#appinfo .conversation .items .item .bubble {
			background-color: #eee;
			border-radius: 7px;
			box-shadow: 1px 5px 10px rgba(0,0,0,.4);
			display: inline-block;
			font-style: italic;
			line-height: 1.4em;
			padding: 0.8em 1.2em;
			position: relative;
			text-align: left;
		}	
			#appinfo .conversation .items .item.even .bubble {
				float: right;
			}
		#appinfo .conversation .items .item .bubble .bubble-tip {
				bottom: 8px;
				height: 0; 
				position: absolute;
				width: 0; 
			}

			#appinfo .conversation .items .item.odd .bubble .bubble-tip {
				border-top: 8px solid transparent;
				border-bottom: 8px solid transparent;
				border-right: 10px solid #eee; 
				left: -10px;
			}
			#appinfo .conversation .items .item.even .bubble .bubble-tip {
				border-top: 8px solid transparent;
				border-bottom: 8px solid transparent;
				border-left: 10px solid #eee; 
				right: -10px;
			}
	#appinfo .faqs .question {
		margin-bottom: 0;
	}
	#appinfo .faqs .question {
		color: #fff;
		font-weight: 700;
		margin-bottom: 0;
	}

	#appinfo .download a.store {
		display: inline-block;
		height: 70px;
		width: auto;
	}
		#appinfo .download a.store:hover {
			text-decoration: none;
		}
	#appinfo .download .legal {
		font-size: 0.7em;
		line-height: 1.5em;
		max-width: 75%;
		margin: 0 auto;
		opacity: 0.5;
	}


	#appinfo .privacypolicy,
	#appinfo .privacypolicy h2 {
		color: #323232;
	}

#privacy {
}
	#privacy .header {
		margin: 80px 0 60px;
	}
		
	#privacy img {
		width: 200px;
	}
	#privacy h1 {
		margin-bottom: 20px;
	}
	#privacy p {
		margin-bottom: 20px;
	}
	#privacy .description {
		max-width: 500px;
	}
	#privacy #footer {
		text-align: left;
	}


/*LOGIN*/
#login {
	height: calc(100vh);
	padding-top: 40px;
	padding-bottom: 40px;
	background-color: #f5f5f5;
	text-align: center;
}

#login form {
	padding: 15px;
	margin: auto;
	max-width: 330px;
	width: 100%;
}
	#login form .form-control {
		position: relative;
		box-sizing: border-box;
		height: auto;
		padding: 10px;
		font-size: 16px;
	}
	#login form .form-control:focus {
		z-index: 2;
	}
	#login form input[type="email"] {
		margin-bottom: -1px;
		border-bottom-right-radius: 0;
		border-bottom-left-radius: 0;
	}
	#login form input[type="password"] {
		margin-bottom: 10px;
		border-top-left-radius: 0;
		border-top-right-radius: 0;
	}



@media screen and (max-width: 996px) {
	#header .container {
		max-width: 100%;
	}
	
	#main #features h2 {
		font-size: 2em;
	}
	#main .app {
		overflow: hidden;
	}
		#main .app h3 {
			font-size: 2.5em;
		}
	#index .app-content a {
		font-size: 17px;
		padding: 0.6em 1.2em;
		margin-bottom: 2em;
	}
}

@media screen and (max-width: 767px) {
	#main #start {
		height: 150px;
		margin-top: 50px;
	}
	#main .app.darkstories,
	#main .app.luckycage {
		background-repeat: no-repeat;
		background-position: -50% -20%;
		padding-left: 200px;
	}
	#main .app.decisionroulette,
	#main .app.noumi {
		background-repeat: no-repeat;
		background-position: 150% -20%;
		padding-right: 200px;
	}

	#main .app.darkstories {
		background-image: url(../img/landing/darkstories.png);
	}
	#main .app.luckycage {
		background-image: url(../img/landing/luckycage.png);
	}
	#main .app.noumi {
		background-image: url(../img/landing/noumi.png);
	}
	#main .app.decisionroulette {
		background-image: url(../img/landing/decisionroulette.png);
	}
}

@media screen and (max-width: 640px) {
	#main .app.darkstories,
	#main .app.decisionroulette,
	#main .app.luckycage,
	#main .app.noumi {
		background-image: none;
		padding: 0;
	}
}