*{
	margin: 0;
	padding: 0;
}

@font-face{
	font-family: Robin;
	src:url("../font/RobinGraffitiFilledin.ttf");
}

@font-face{
	font-family: Square;
	src:url("../font/Square.ttf");
}

body{
	background-color: black;
    padding-bottom: 200px;
	overflow: hidden;
	font-family: Arial;
}

html,body{
	min-width: 100%;
	min-height: 100%;
}

#game-table{
	display: table;
	width: 100%;
	height: 100%;
	position: absolute;
}

#game-cell{
	display: table-cell;
	vertical-align: middle;
}

#viewport{
	width: 320px;
	height: 460px;
	margin: auto;
	position: relative;
}

#gamecanvas{
	width: 100%;
	height: 100%;
	image-rendering: optimize-speed;
}

.domconsole{
	position: absolute;
	top: 0px;
	right: 0px;
	background-color: white;
	width: 200px;
	height: 100px;
	overflow: auto;
}

.indicator{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100px;
	height: 50px;
	border: 1px solid #20b806;
	background-color: black;
}

.indicator span{
	display: inline-block;
	width: 1px;
	background-color: #20b806;
	vertical-align: bottom;
}

a{
	color: white;
}

#ad-container{
	width: 320px;
	height: 50px;
	background-color: black;
	margin: auto;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
