/**
 * Global Reset of all HTML Elements
 *
 * Resetting all of our HTML Elements ensures a smoother
 * visual transition between browsers. If you don't believe me,
 * try temporarily commenting out this block of code, then go
 * and look at Mozilla versus Safari, both good browsers with
 * a good implementation of CSS. The thing is, all browser CSS
 * defaults are different and at the end of the day if visual
 * consistency is what we're shooting for, then we need to
 * make sure we're resetting all spacing elements.
 *
 */
html,
body {
  border: 0;
  font-family: Arial, sans-serif;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  height: 100%;
}
div,
span,
object,
iframe,
img,
table,
caption,
thead,
tbody,
tfoot,
tr,
tr,
td,
article,
aside,
canvas,
details,
figure,
hgroup,
menu,
nav,
footer,
header,
section,
summary,
mark,
audio,
video {
  border: 0;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
address,
cit,
code,
del,
dfn,
em,
ins,
q,
samp,
small,
strong,
sub,
sup,
b,
i,
hr,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
legend,
label {
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  margin: 0;
  padding: 0;
}
article,
aside,
canvas,
figure,
figure img,
figcaption,
hgroup,
footer,
header,
nav,
section,
audio,
video {
  display: block;
}
table {
  border-collapse: separate;
  border-spacing: 0;
}
table caption,
table th,
table td {
  text-align: left;
  vertical-align: middle;
}
a img {
  border: 0;
}
:focus {
  outline: 0;
}
/*-----------------------------------------------
   Global stuff
-----------------------------------------------*/
*:focus {
  outline: none;
}
/*-----------------------------------------------
   Helper
-----------------------------------------------*/
.noSelect {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: -moz-none;
  -o-user-select: none;
  user-select: none;
}
.button {
  cursor: pointer;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: -moz-none;
  -o-user-select: none;
  user-select: none;
}
/*-----------------------------------------------
   Global stuff
-----------------------------------------------*/
*:focus {
  outline: none;
}
#loader {
  position: relative;
  width: 100%;
  height: 100%;
}
#loader .loaderContent {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  /* IE 9 */
  -webkit-transform: translate(-50%, -50%);
  /* Safari */
}
#loader .loaderContent p {
  color: #ffffff;
  font-size: 18px;
  text-align: center;
}
#kr3m {
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  /* IE 9 */
  -webkit-transform: translate(-50%, -50%);
  /* Safari */
  width: 760px;
  height: 550px;
  overflow: hidden;
  background: #ffffff url("../img/bg.jpg") no-repeat;
}
#kr3m.mobile {
  left: 0;
  top: 0;
  margin-right: 0;
  transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  /* IE 9 */
  -webkit-transform: translate(0, 0);
  /* Safari */
  width: 100%;
  height: 100%;
  background-position: center center;
}
#kr3m.mobile.landscape {
  background-size: 100% auto;
}
#kr3m.mobile.portrait {
  background-size: auto 100%;
}
#kr3m #game {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
}
#kr3m #game.mobile {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  touch-action: none;
  width: 100%;
  height: 100%;
}
.error {
  display: none;
  position: absolute;
  left: 0;
  background-color: #b30404;
  color: #ffffff;
  width: 80%;
  padding: 10%;
  font-size: 1.2em;
  line-height: 1.2em;
  text-align: center;
  z-index: 3;
}
.error a {
  color: #ffffff;
  text-decoration: underline;
}
.error.visible {
  display: block;
}
noscript {
  position: absolute;
  display: block;
  float: inherit;
  top: 50%;
  left: 0;
  margin-top: -100px;
  width: 100%;
  height: 200px;
  text-align: center;
}
noscript .error {
  display: inline-block;
}
/*-----------------------------------------------
   Custom
-----------------------------------------------*/
#loader .loaderContent p {
  color: #000;
}
#kr3m {
  width: 100%;
  height: 100%;
  background-size: cover;
}
