/* generated with http://www.fontsquirrel.com/tools/webfont-generator*/
@font-face {
  font-family: 'Curious';
  src: url('Curious.ttf'), url('curious-webfont.eot');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Aldrich';
  font-style: normal;
  font-weight: 400;
  src: local('Aldrich'), url('aldrich.woff2') format('woff2'), url('aldrich.woff') format('woff');
}

@font-face {
  font-family: 'Averia';
  src: url('AveriaSerifLibre-Regular.ttf');
}

@font-face {
  font-family: 'Mallanna';
  src: url('Mallanna-Regular.ttf');
}

#play {
  font-size: 1.0em;
  text-align: center;
  margin: 0 auto;
  display: block;
  background: black;
  overflow: hidden;
  
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body #content {
  text-align: left;
}

body > h1 {
  font-size: 1em;
}

h1 {
  font-family: Averia;
  font-weight: normal;
}

h2 {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  font-family: Averia;
}

a {
  color: #f38900;
}

/* boot screen */

#boot {
  margin: 10px;
  color: white;
  font-family: verdana;
  padding: 100px 0;
}

#progress {
  margin: 10px auto;
  height: 10px;
  width: 350px;
  background: #492900;
}

#progress div {
  background: #f38900;
  height: 10px;
}

/* game */

#gameBoard, #arena, #particles {
  background: black;
}

canvas {
  image-rendering: optimizeSpeed;
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;
}

#gameBoard {
  width: 640px;
  height: 360px;
  image-rendering: auto;
}

#gameBoard:hover {
  outline:none;
}
#gameBoard:focus {
  outline:none;
}


#gameContent {
  position: relative;
}

/* debug */

.error {
  color: red;
}

.clear {
  clear: both;
}

.hide {
  display: none;
}

.gameOver {
  -webkit-filter: sepia(80%) blur(0px);
  -webkit-transition: 3.0s all ease-in;
}

#logMenu {
  position: fixed;
  right: 0;
  margin: 0 10px;
}

#log {
  background-color: white;
  text-align: left;
  font-family: monospace;
  padding: 0;
  width: 100%;
}

#log li {
  list-style: none;
  border-bottom: 1px solid #eee;
  padding: 1px;
}

#log li.header {
  font-weight: bold;
  background-color: #ccc;
}

#log li.warn {
  background-color: #dddd55;
}

#log li.error {
  background-color: #dd5555;
  color: white;
}

#log pre {
  display: inline-block;
  margin: 0;
  padding: 0;
}

#log pre.message {
  width: 100px;
}

#log pre.mod {
  font-weight: bold;
  width: 120px;
  text-align: right;
  overflow: hidden;
  margin-right: 10px;
  vertical-align: bottom;
}

.webLog {
  display:none;
  height:400px;
  overflow-y:scroll;
}