html {
	height: 100%;
}

body {
	padding: 0;
	margin: 0;
	height: 100%;
	background-image: linear-gradient(#f2f2f2, #d6d6d6);
}

.body-level1 {
	background-image: linear-gradient(#241f51, #5747cc);
}

header {
	position: absolute;
	width: 100%;
	z-index: 100;
}

.header-home {
/*	border-bottom: 1px solid rgba(255,255,255,0.5);*/
}

.header-rest {
/*	border-bottom: 1px solid rgba(255,255,255,0.5);*/
}

#logo {
	width: 100px;
	margin: 2% 0 0 3%;
}

#background-home {
	width: 55%;
	height: 100%;
	top: 0;
	right: 0;
	position: absolute;
	background-image: url('../img/home-back.png');
	background-repeat: no-repeat;
	background-size: 100%;
}

#home-container {
	position: absolute;
	width: 35%;
	left: 10%;
	text-align: center;
	top: 25%;
}

.home-container-hide {
	top: -20% !important;
	opacity: 0;
	transition: 0.5s ease-in;
}

.home-title, .home-subtitle {
	font-family: 'Quicksand', sans-serif;
	color: #241f51;
}

.home-subtitle {
	color: #000;
	font-size: 1.1em;
}

.button-pink {
	display: inline-block;
	border: none;
	outline: none;
	background-color: #e80a89;
	color: white;
	border: none;
	padding: 15px 30px;
	border-radius: 1.8em;
	font-size: 0.9em;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 5px 5px 20px -1px rgba(168,11,108,0.3);
	transition: 0.1s linear;
}

.button-pink:hover {
	margin-left: 3px;
	margin-top: 3px;
	box-shadow: 1px 1px 20px -1px rgba(168,11,108,0.3);
	background: #cc0a82;
	transition: 0.1s linear;
}

.main-container {
	margin-top: 2em;
}

#background {
	background-repeat: no-repeat;
	background-size: 100% auto;
	width: 100%;
	height: 100%;
	z-index: 1;
	position: absolute;
	left: 0;
	top: 0;
	visibility: hidden;
	opacity: 0;
}

.background-level1 {
	background-image: url('../img/back-level1.png');
	visibility: visible !important;
	opacity: 1 !important;
}

.anim-fade {
	transition: visibility 0s, opacity 0.3s linear;
}

.anim-slideup {
	transition: visibility 0s, opacity 1s, top 1s linear;
}

.frombottom {
	position: absolute;
	left: 50%;
}

.frombottom-before {
	top: 110%;
	opacity: 0;
	visibility: 0;
}

.frombottom-active {
	top: 50%;
	opacity: 1;
	visibility: 1;
}

.frombottom-after {
	top: -50%;
	opacity: 0;
	visibility: 0;
}

#player {
	width: 80%;
	margin-left: -40%;
	margin-top: -15%;
}

#canvas-container {
	margin: 0 auto -5px auto !important;
}

#home-start {
	margin-top: 1em;
}

a.inline-link {
	color: #e80a89;
}

a.inline-link:hover {
	text-decoration: none;
}

@media only screen and (max-width: 768px) {
		
	#home-container {
		position: absolute;
		width: 40%;
		left: 10%;
		text-align: center;
		top: 20%;
	}
	
}

@media only screen and (max-width: 480px) {
	
	#background-home { display: none; }
	
	#home-container {
		position: absolute;
		width: 80%;
		left: 10%;
		text-align: center;
		top: 15%;
	}
	
}