* {
  box-sizing: border-box;
}
.full-size {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
body {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
}
.background {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url('/img/bg.png');
  background-size: cover;
  background-position: center, center;
}
.app {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
}
.contents {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  font-weight: bold;
  color: white;
  font-size: 13px;
  font-family: "Helvetica Neue", "Nimbus Sans L", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
input {
  font-size: 14px;
  width: 420px;
  height: 42px;
  line-height: 42px;
  margin: 10px;
  margin-bottom: 0;
}
.hint {
  text-decoration: underline;
  cursor: pointer;
}
.error.modal {
  background-color: rgba(255, 0, 0, 0.7);
}
.centered {
  position: relative;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  text-align: center;
}
.logo {
  background-image: url('/img/game-logo.png');
  height: 200px;
  width: 200px;
  background-size: cover;
  margin-bottom: -6px;
}
.login-button {
  background-color: rgba(34, 69, 118, 0.5);
  color: white;
  padding: 5px;
  margin: 10px;
  cursor: pointer;
  -webkit-user-select: none;
}
.login-failed {
  border: 1px solid red;
}
.game-container {
  width: 100%;
  height: 100%;
  padding: 0;
}
game-canvas {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  overflow: hidden;
}
game-canvas,
canvas {
  -webkit-user-select: none;
}
.intro {
  margin-left: 4px;
  margin-right: 4px;
}
.separator {
  margin-top: 3px;
  margin-bottom: 10px;
}
.debug-button {
  color: white;
  margin: 11px;
  cursor: pointer;
  -webkit-user-select: none;
  font-size: 14px;
  width: 420px;
  height: 42px;
  line-height: 42px;
  font-weight: bold;
  background-color: #3eb0ee;
}
.debug-button.disabled {
  opacity: 0.5;
  cursor: default;
}
.debug-button.second-choice {
  background-color: #797979;
}
.modal {
  position: relative;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  text-align: center;
  width: 580px;
  padding: 5px;
  margin: 15px;
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
}
.modal div {
  margin: 15px;
}
.modal a {
  color: white;
}
