html {
  box-sizing: border-box;
}

html, body {
  background: #fff;
  overflow: hidden;
  -ms-touch-action: none;
  touch-action: none;
}

@font-face {
    font-family: Hello Headline;
    src: url('../assets/fonts/HelloHeadline.ttf');
}

* {
  margin: 0;
  padding: 0;
}

*, *:before, *:after {
  box-sizing: inherit;
}

#orientation {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  background-repeat: no-repeat;
  display: none;
}

#leftFullscreenMessage p {
  position: fixed;
  text-align: center;
  vertical-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #ffffff;
  width: 500px;
  height: 200px;
  margin: 5% auto;
  /* Will not center vertically and won't work in IE6/7. */
  left: 0;
  right: 0;
}

#leftFullscreenMessage {
  position: relative;
  z-index: 30;
  top: 0;
  left: 0;
  background: #000000;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

#leftFullscreenMessage img {
  position: fixed;
  display: block;
  margin: auto;
  margin-top: 50px;
  padding-left: -webkit-calc(50% - 16px);
}

#fullscreenOverlay {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  background: #000000;
}

#rotateMessage {
  background-position: center;
  position: absolute;
  background-size: 100%;
  height: 100%;
  width: 100%;
  top: 0;
}

.showMessage {
  display: block;
}

.hideMessage {
  display: none;
}

#gameHolder {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000000;
  background-size: cover;
  position: fixed;
}

#backgroundImageHolder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1136px;
  height: 100%;
  max-height: 640px;
}

.backgroundImage {
  /*max-width: 1136px;*/
  width: 100%;
  /*max-height: 100%;*/
  height: 100%;
  bottom: 0;
  left: 0;
  margin: auto;
  overflow: auto;
  position: fixed;
  right: 0;
  top: 0;
}

#content {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  position: fixed;
}