@font-face
{
	font-family: Metamorphous;
	src: url(assets/metamorphous.ttf);
}

body
{
	background-color: #000000;
	margin: 0;
}

canvas:first-child
{
	position: absolute;
}

#credits
{
    bottom: 1.2em;
    color: #aaaaaa;
    font-family: "Courier New",Courier,monospace;
    position: absolute;
    text-align: center;
    width: 100%;
	font-size: 1.2em;
	display: none;
}

#fullscreen
{
	width: auto;
	right: 0;
	bottom: 0;
	position: absolute;
	font-family: "Courier New",Courier,monospace;
	font-size: 1.5em;
	font-weight: bold;
	color: white;
	text-align: center;
	width: 48px;
	height: 48px;
	cursor: pointer;
	background-image: url(assets/fullscreen.png);
	background-position: center center;
	background-size: 24px 24px;
	background-repeat: no-repeat;
	opacity: 0.8;
	display: none;
}

.game-full-screen #fullscreen
{
	background-image: url(assets/fullscreen-collapse.png);
}

a
{
	color: dddddd;
}

#load-splash
{
	z-index: 100;
	background-color: black;
	text-align: center;
	display: none;
}

#load-splash-out 
{
    border: 2px solid white;
    height: 8%;
    left: 33%;
	right: 33%;
    position: absolute;
    top: 46%;
}

#load-splash-in
{
    background-color: rgb(255, 200, 0);
    height: 100%;
    width: 0;
}

#load-splash span
{
    display: block;
    margin-top: -10%;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 100%;
}

#login-div
{
	width: auto;
	right: 0;
	top: 0;
	position: absolute;
	font-family: "Courier New",Courier,monospace;
	font-size: 16px;
	color: #dddddd;
	text-align: left;
	background-position: 10px center;
	background-size: 32px 32px;
	background-repeat: no-repeat;
	display: none;
	line-height: 42px;
}

.show-login #login-div
{
	display: block;
}

.logged-in #login-div
{
	padding: 0 10px 0 10px;
	background-color: rgba(0,0,0,0.5);
}

.logged-in #login-div span
{
	font-weight: bold;
}

.logged-in #login-div img
{
	float: right;
	height: 32px;
	margin-left: 10px;
	margin-top: 5px;
}

#trophy-show
{
	width: auto;
	right: 0;
	top: 0;
	position: absolute;
	font-family: "Courier New",Courier,monospace;
	font-size: 18px;
	color: #dddddd;
	text-align: left;
	background-position: 10px center;
	background-size: 32px 32px;
	background-repeat: no-repeat;
	opacity: 0;
	line-height: 60px;
	padding: 0 10px 0 10px;
	background-color: rgba(0,0,0,0.5);
	transition: opacity 0.5s;
	-webkit-transition: opacity 0.5s;
}

.show-login #trophy-show
{
	top: 42px;
}

.trophy-show-view #trophy-show
{
	opacity: 1;
}

#trophy-show span
{
	font-weight: bold;
}

#trophy-show img
{
	float: right;
	height: 50px;
	margin-left: 10px;
	margin-top: 5px;
}

#highscores
{
	top: 42px;
	width: auto;
	right: 0;
	position: absolute;
	font-family: "Courier New",Courier,monospace;
	font-size: 16px;
	color: #dddddd;
	text-align: left;
	padding: 0.5em;
	background-color: rgba(0,0,0,0.5);
	display: none;
}

.show-highscores #highscores
{
	display: block;
}

#highscores.highscores-loading
{
	display: none !important;
}

.trophy-show-view #highscores
{
	top: 102px;
}

#highscores-title
{
	font-weight: bold;
	text-align: center;
	border-bottom: 1px solid #cccccc;
	padding-bottom: 0.2em;
	margin-bottom: 0.2em;
}

#highscores-cont div
{
	text-align: right;
}

#highscores-cont b
{
	padding-right: 0.5em;
}