@font-face {
    font-family: 'Shear15';
    src: url('fonts/shear15-webfont.eot');
    src: url('fonts/shear15-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/shear15-webfont.woff') format('woff'),
         url('fonts/shear15-webfont.ttf') format('truetype'),
         url('fonts/shear15-webfont.svg#Shear15ARegular') format('svg');
    font-weight: bold;
    font-style: normal;
}

#field {
    background: url('images/cloud.png');
    background-color: skyblue;
		background-size: 100%;
    position: absolute;
    top: 10px;
    left: 400px;
}

#healthbar {
    position: absolute;
    top: 25px;
    left: 425px;
    width: 100px;
    height: 20px;
    border-style: solid;
    border-width: 1px;
    border-color: white;
}

#health {
    width: 100%;
    height: 100%;
    background-color: red;
}

#lives {
    position: absolute;
		height: 40px;
    left: 525px;
    -webkit-transform: scale(0.3);
    -moz-transform: scale(0.5);
    -o-transform: scale(0.5);
    -ms-transform: scale(0.5);
    transform: scale(0.4);
}

#titlescore {
		position: absolute;
		top: 25px;
		left: 820px;
		width: 100px;
		text-align: right;
		color: #360a68;
		font: 22px Arial, sans-serif;
}

#score {
    position: absolute;
    top: 25px;
    left: 925px;
    width: 100px;
    text-align: left;
    color: #360a68;
    font: 22px Arial, sans-serif;
}

#level {
    position: absolute;
    top: 25px;
    left: 640px;
    width: 100px;
    text-align: right;
    color: #360a68;
    font: 22px Arial, sans-serif;
}

#combo {
    position: absolute;
    top: 25px;
    left: 700px;
    width: 200px;
    text-align: center;
    color: #360a68;
    font: 22px Arial, sans-serif;
}

.overlay {
    position: absolute;
    font-family: 'Shear15', Arial, sans-serif;
    font-weight: bold;
    font-size: 50px;
    line-height: 62px;
    text-align: center;
    padding-top: 12px;
    color: #360a68;
    text-transform: uppercase;
    visibility: hidden;
    border-style: solid;
    border-width: 3px;
    border-color: #360a68;
    border-radius: 30px;
    background-color: rgba(0, 0, 255, 0.25);
}

#start {
    top: 70px;
    left: 440px;
    width: 520px;
    height: 480px;
}

#end {
    top: 170px;
    left: 535px;
    width: 340px;
    height: 260px;
}

#finish{
    top: 130px;
    left: 485px;
    width: 440px;
    height: 320px;
}

#pause {
    top: 240px;
    left: 505px;
    width: 400px;
    height: 125px;
}

#chara{
    top: 70px;
    left: 440px;
    width: 500px;
    height: 455px;
    padding-right: 10px;
    font: 14px bold 'Shear15', sans-serif;
    letter-spacing: 0;
    line-height: normal;
}

.chara{
    background-color: rgba(96, 96, 255, 0.25);
    border-style: solid;
    border-width: 3px;
    border-color: #360a68;
    border-radius: 14px;
		height:60px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 10px;
    padding-right: 10px;
		float:left;
		margin-left:120px;
}

.namechara{
		line-height:75px;
		margin-left:240px;
		text-align:left;
}

#credits {
    top: 200px;
    left: 440px;
    width: 500px;
    height: 150px;
    padding-right: 10px;
    font: 14px bold 'Shear15', sans-serif;
    letter-spacing: 0;
    line-height: normal;
}

.underneath , button{
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 6px;
    line-height: 24px;
}

a {
    color: #360a68;
}

.underneath a ,button a{
    display: inline-block;
    margin: 10px;
    color: #360a68;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 10px;
    padding-right: 4px;
    background-color: rgba(96, 96, 255, 0.25);
    border-style: solid;
    border-width: 3px;
    border-color: #360a68;
    border-radius: 14px;
    text-decoration: none;
}

.underneath a:hover , button a:hover{
    background-color: rgba(192, 192, 255, 0.25);
}

ul {
    list-style-type: none;
    margin: 15px;
    padding: 0;
    text-transform: none;
}

section h1 {
    margin: 10px;
    text-decoration: underline;
}

#begin {
    margin-top: 16px;
    margin-left: -10px;
}

#resume {
    margin-top: 2px;
    margin-left: -10px;
}

#mouse_ctrl {
    position: absolute;
    top: 580px;
		color:white;
    left: 415px;
}

.FlattrButton {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 228px;
    height: 130px;
    z-index: -1;
}

/*360x640*/
@media only screen and (max-width: 360px){
	#field {
			width:340px;
			height:340px;
			top: 10px;
			left: 10px;
	}

	#healthbar {
			position: absolute;
			top: 20px;
			left: 25px;
			width: 50px;
			height: 5px;
			border-style: solid;
			border-width: 1px;
			border-color: white;
	}

	#health {
			width: 100%;
			height: 100%;
			background-color: red;
	}

	#lives {
			position: absolute;
			top: 1px;
			left: 40px;
			-webkit-transform: scale(0.25);
			-moz-transform: scale(0.25);
			-o-transform: scale(0.25);
			-ms-transform: scale(0.25);
			transform: scale(0.25);
	}

	#titlescore {
			position: absolute;
			top: 15px;
			left: 250px;
			width: 10px;
			text-align: right;
			color: #360a68;
			font: 10px Arial, sans-serif;
	}
	#score {
			position: absolute;
			top: 15px;
			left: 280px;
			width: 10px;
			text-align: right;
			color: #360a68;
			font: 10px Arial, sans-serif;
	}

	#level {
			position: absolute;
			top: 15px;
			left: 140px;
			width: 40px;
			text-align: right;
			color: #360a68;
			font: 10px Arial, sans-serif;
	}

	#combo {
			position: absolute;
			top: 15px;
			left: 200px;
			width: 10px;
			text-align: center;
			color: #360a68;
			font: 10px Arial, sans-serif;
	}

	.overlay {
			position: absolute;
			font-family: 'Shear15', Arial, sans-serif;
			font-weight: bold;
			font-size: 20px;
			line-height: 30px;
			text-align: center;
			padding-top: 12px;
			color: #360a68;
			text-transform: uppercase;
			visibility: hidden;
			border-style: solid;
			border-width: 3px;
			border-color: #360a68;
			border-radius: 30px;
			background-color: rgba(0, 0, 255, 0.25);
	}

	#start {
			top: 40px;
			left: 40px;
			width: 280px;
			height: 270px;
	}

	#finish{
			top: 80px;
			left: 35px;
			width: 280px;
			height: 190px;
	}

	#end {
			top: 100px;
			left: 37px;
			width: 280px;
			height: 150px;
	}

	#pause {
			top: 120px;
			left: 30px;
			width: 300px;
			height: 100px;
	}

	#chara{
			top: 40px;
			left: 20px;
			width: 305px;
			height: 270px;
			padding-right: 10px;
			font: 10px 'Shear15', sans-serif;
			line-height: normal;
	}

	.chara{
			background-color: rgba(96, 96, 255, 0.25);
			border-style: solid;
			border-width: 3px;
			border-color: #360a68;
			border-radius: 14px;
			height:30px;
			padding-top: 5px;
			padding-bottom: 5px;
			padding-left: 7px;
			padding-right: 7px;
			float:left;
			margin-left:70px;
	}

	.namechara{
			line-height:45px;
			margin-left:135px;
			text-align:left;
	}
	#logo{
			width:100px;
	}
	#credits {
			top: 100px;
			left: 40px;
			width: 270px;
			height: 120px;
			padding-right: 10px;
			font: 10px 'Shear15', sans-serif;
			letter-spacing: 0;
			line-height: normal;
	}

	.underneath {
			padding-left:10px;
			padding-right:10px;
			font-size: 8px;
			font-weight: normal;
			line-height: 10px;
	}

	a {
			color: #360a68;
	}

	.underneath a {
			display: inline-block;
			margin: 3px;
			color: #360a68;
			padding-top: 8px;
			padding-bottom: 8px;
			padding-left: 10px;
			padding-right: 4px;
			background-color: rgba(96, 96, 255, 0.25);
			border-style: solid;
			border-width: 3px;
			border-color: #360a68;
			border-radius: 14px;
			text-decoration: none;
	}

	.underneath a:hover {
			background-color: rgba(192, 192, 255, 0.25);
	}

	ul {
			list-style-type: none;
			margin: 15px;
			padding: 0;
			text-transform: none;
	}

	section h1 {
			margin: 10px;
			text-decoration: underline;
	}

	#begin {
			margin-top: 16px;
			margin-left: -10px;
	}

	#resume {
			margin-top: 2px;
			margin-left: -10px;
	}

	.FlattrButton {
			position: absolute;
			right: 10px;
			bottom: 10px;
			width: 228px;
			height: 130px;
			z-index: -1;
	}
}

/*320x480*/
@media only screen and (max-width: 320px){
	#field {
			width:310px;
			height:310px;
			top: 10px;
			left: 5px;
	}

	#healthbar {
			position: absolute;
			top: 20px;
			left: 25px;
			width: 50px;
			height: 5px;
			border-style: solid;
			border-width: 1px;
			border-color: white;
	}

	#health {
			width: 100%;
			height: 100%;
			background-color: red;
	}

	#lives {
			position: absolute;
			top: 1px;
			left: 40px;
			-webkit-transform: scale(0.2);
			-moz-transform: scale(0.2);
			-o-transform: scale(0.2);
			-ms-transform: scale(0.2);
			transform: scale(0.2);
	}

	#titlescore {
			position: absolute;
			top: 15px;
			left: 250px;
			width: 10px;
			text-align: right;
			color: #360a68;
			font: 10px Arial, sans-serif;
	}
	#score {
			position: absolute;
			top: 15px;
			left: 280px;
			width: 10px;
			text-align: right;
			color: #360a68;
			font: 10px Arial, sans-serif;
	}

	#level {
			position: absolute;
			top: 15px;
			left: 140px;
			width: 40px;
			text-align: right;
			color: #360a68;
			font: 10px Arial, sans-serif;
	}

	#combo {
			position: absolute;
			top: 15px;
			left: 200px;
			width: 10px;
			text-align: center;
			color: #360a68;
			font: 10px Arial, sans-serif;
	}

	.overlay {
			position: absolute;
			font-family: 'Shear15', Arial, sans-serif;
			font-weight: bold;
			font-size: 18px;
			line-height: 30px;
			text-align: center;
			padding-top: 12px;
			color: #360a68;
			text-transform: uppercase;
			visibility: hidden;
			border-style: solid;
			border-width: 3px;
			border-color: #360a68;
			border-radius: 30px;
			background-color: rgba(0, 0, 255, 0.25);
	}

	#start {
			top: 38px;
			left: 18px;
			width: 280px;
			height: 255px;
	}

	#finish{
			top: 60px;
			left: 20px;
			width: 270px;
			height: 190px;
	}

	#end {
			top: 100px;
			left: 35px;
			width: 240px;
			height: 150px;
	}

	#pause {
			top: 100px;
			left: 30px;
			width: 260px;
			height: 80px;
	}

	#chara{
			top: 40px;
			left: 20px;
			width: 265px;
			height: 247px;
			padding-right: 10px;
			font: 10px 'Shear15', sans-serif;
			line-height: normal;
	}

	.chara{
			background-color: rgba(96, 96, 255, 0.25);
			border-style: solid;
			border-width: 3px;
			border-color: #360a68;
			border-radius: 14px;
			height:25px;
			padding-top: 5px;
			padding-bottom: 5px;
			padding-left: 7px;
			padding-right: 7px;
			float:left;
			margin-left:50px;
	}

	.namechara{
			line-height:40px;
			margin-left:110px;
			text-align:left;
	}
	#logo{
			width:80px;
	}
	#credits {
			top: 85px;
			left: 30px;
			width: 250px;
			height: 140px;
			padding-right: 10px;
			font: 14px bold 'Shear15', sans-serif;
			letter-spacing: 0;
			line-height: normal;
	}

	.underneath {
			padding-left:10px;
			padding-right:10px;
			font-size: 8px;
			font-weight: normal;
			line-height: 13px;
	}

	a {
			color: #360a68;
	}

	.underneath a {
			display: inline-block;
			margin: 3px;
			color: #360a68;
			padding-top: 5px;
			padding-bottom: 5px;
			padding-left: 8px;
			padding-right: 4px;
			background-color: rgba(96, 96, 255, 0.25);
			border-style: solid;
			border-width: 3px;
			border-color: #360a68;
			border-radius: 14px;
			text-decoration: none;
	}

	.underneath a:hover {
			background-color: rgba(192, 192, 255, 0.25);
	}

	ul {
			list-style-type: none;
			margin: 15px;
			padding: 0;
			text-transform: none;
	}

	section h1 {
			margin: 10px;
			text-decoration: underline;
	}

	#begin {
			margin-top: 16px;
			margin-left: -10px;
	}

	#resume {
			margin-top: 2px;
			margin-left: -10px;
	}

	.FlattrButton {
			position: absolute;
			right: 10px;
			bottom: 10px;
			width: 228px;
			height: 130px;
			z-index: -1;
	}
}