html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strong, sub, sup, var,
b, u, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

#signIn {
  position: absolute;
  top: 50px;
  bottom: 50px;
  left: 0;
  right: 0;
  background: linear-gradient(#222, #555);
  text-align: center;
}
#signIn h1 {
  margin: 10em 0 1em;
  font-size: 20pt;
  color: #eee;
  font-weight: 300;
  text-shadow: none;
}
#signIn input[type=text] {
  text-align: center;
  font-size: 20pt;
  padding: 5px;
  border: solid 1px #ccc;
  color: #555;
  border-radius: 5px;
}

#signInError {
  margin-top: 10px;
  color: #ff5555;
  font-size: 12pt;
}

#cardebug {
  font-family: courier, monospace;
  font-size: 12px;
  line-height: 1.2;
  position: absolute;
  background-color: #eee;
  opacity: 0.6;
  z-index: 100;
  text-align: left;
  padding: 10px;
  border: 1px solid #aaa;
  color: #000;
  border-radius: 10px;
  top: 10px;
  left: 10px;
}

.car {
  width: 10px;
  height: 10px;
  background: transparent;
  position: absolute;
  transform-origin: 50% 45%;
  margin: 0;
  padding: 0;
  z-index: 60;
}
.car .chat {
  background-color: #555;
  border-radius: 10px;
  position: absolute;
  bottom: 95px;
  left: -120px;
  opacity: 0.8;
  color: #eee;
  text-align: left;
  padding: 10px;
  z-index: 70;
  max-width: 500px;
}
.car .chat p {
  top: 0;
  max-width: 500px;
  min-width: 200px;
  color: #fff;
  font-size: 20px;
  margin: auto;
  opacity: 1;
  overflow-wrap: anywhere;
}
.car .chat .spike {
  position: absolute;
  bottom: -10px;
  left: 35%;
  z-index: 90;
}
.car .img {
  width: 70px;
  height: 128px;
  top: -64px;
  left: -35px;
  background-image: url(/images/minis.png);
  position: absolute;
  transform-origin: 35px 85px;
  margin: 0;
  padding: 0;
  z-index: 30;
}
.car .img p {
  opacity: 0.5;
  color: #000;
  top: 80px;
  position: relative;
  margin: 0;
}

body, html {
  height: 100%;
}

body {
  font: normal 1em sans-serif;
  background: linear-gradient(#eee, #fff);
  text-align: center;
  overflow: hidden;
}

p {
  margin-bottom: 1em;
}

strong {
  font-weight: bold;
}

#wrapper {
  margin: 0;
  width: 100%;
  height: 100%;
  padding: 0;
}

#navigationTop {
  height: 50px;
  width: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(#45484d, #000000);
  z-index: 20;
}

.navigationLogo {
  width: 200px;
  margin-top: 5px;
  margin-left: 5px;
  float: left;
}

#navigationBottom {
  height: 50px;
  width: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(#45484d, #000000);
  z-index: 20;
  position: absolute;
  bottom: 0;
  font-size: 12px;
  color: #aaa;
}
#navigationBottom p {
  vertical-align: middle;
  margin-top: 15px;
}
#navigationBottom a {
  text-decoration: none;
  color: #fff;
}
#navigationBottom .auricLogo {
  height: 16px;
  margin-left: 6px;
  vertical-align: middle;
}

#main {
  height: auto;
  width: 100%;
  z-index: 20;
}

#canvas {
  border: 0;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  overflow: hidden;
  position: absolute;
  left: 0;
  right: 0;
  top: 50px;
  bottom: 50px;
}

#laptimer {
  background-color: #aaa;
  border-radius: 10px;
  color: #000;
  opacity: 0.6;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 140px;
  padding: 10px;
  z-index: 100;
  font-family: courier, monospace;
  font-size: 12px;
  line-height: 1.3;
  text-align: left;
}

#controls {
  background-color: #aaa;
  border-radius: 10px;
  color: #000;
  opacity: 0.3;
  position: absolute;
  top: 60px;
  right: 10px;
  width: 140px;
  padding: 10px;
  z-index: 100;
  cursor: pointer;
}
#controls #controlsdetails {
  font-family: courier, monospace;
  width: 140px;
  text-align: left;
  font-size: 12px;
  line-height: 1.3;
}

#wrongway {
  background-color: #aaa;
  border-radius: 10px;
  color: #000;
  opacity: 0.8;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #f00;
  width: 140px;
  padding: 10px;
  z-index: 70;
}

#disconnected {
  background-color: #aaa;
  border-radius: 10px;
  color: #000;
  opacity: 0.9;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  z-index: 110;
}
#disconnected a {
  color: #0057c5;
}

#buttons-left {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 100;
  opacity: 0.3;
  text-align: left;
}
#buttons-left button {
  background-color: #aaa;
  border-radius: 10px;
  color: #000;
  opacity: 1;
  display: block;
  width: 160px;
  padding: 10px;
  margin-bottom: 5px;
  border: 0;
  font: inherit;
  text-align: center;
  cursor: pointer;
}
#buttons-left #reset {
  color: #500;
}
#buttons-left #changecol {
  margin-bottom: 10px;
}
#buttons-left .left {
  transform: rotate(90deg);
}
#buttons-left .right {
  transform: rotate(-90deg);
}

#buttons-right {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 100;
  opacity: 0.3;
}
#buttons-right .control {
  float: right;
  margin-left: 10px;
}
#buttons-right .up {
  transform: rotate(180deg);
}
#buttons-right #radar {
  position: relative;
  width: 150px;
  height: 150px;
  background-color: #aca;
  right: 5px;
  bottom: 10px;
  border-radius: 10px;
  display: block;
  float: left;
}
#buttons-right #radar .title {
  width: 100%;
  font-family: courier, monospace;
  font-weight: bold;
  font-size: 20px;
  color: #898;
}
#buttons-right #radar .car {
  width: 5px;
  height: 5px;
  border: 0;
  position: absolute;
  background-color: #fff;
  border-radius: 5px;
  z-index: 30;
}
#buttons-right #radar .me {
  background-color: #555;
  z-index: 35;
}

.control {
  display: inline-block;
  width: 80px;
  height: 80px;
  background-image: url(/images/buttonsm.png);
  touch-action: none;
}

#viewport {
  position: absolute;
  left: 0;
  top: 0;
  background: transparent;
  margin: 0;
  padding: 0;
}
#viewport #tiles {
  position: absolute;
  top: 0;
  left: 0;
}
#viewport #tiles .tile {
  width: 512px;
  height: 512px;
  padding: 0;
  margin: 0;
  position: absolute;
  background-size: 512px 7168px;
}

#chat {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  z-index: 125;
  pointer-events: none;
}
#chat #chat-entry {
  pointer-events: auto;
  min-width: 200px;
  width: 20%;
  height: 45px;
  border: 10px solid #555;
  border-radius: 10px;
  opacity: 0.8;
  font-size: 30px;
}
