body {
  font-family: 'Open Sans Condensed', helvetica;
  text-transform: uppercase; }

#controls h1 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 4px 10px;
  background: #2271b8;
  color: white;
  font-size: 12px;
  line-height: 10px; }

h2 {
  margin: 9px 0; }

#game-display canvas {
  width: 100%; }

@media screen and (min-width: 570px), screen and (orientation: landscape) {
  #game-display {
    position: fixed;
    width: 60%;
    left: 0;
    top: 0;
    bottom: 0; } }

#controls {
  width: 90%;
  margin: 0 auto; }
  @media screen and (min-width: 570px), screen and (orientation: landscape) {
    #controls {
      box-sizing: border-box;
      padding: 10px;
      width: 40%;
      position: fixed;
      right: 0;
      top: 0;
      bottom: 0;
      overflow-y: scroll; } }

.share-link, #title-screen button, #collision-overlay button {
  background: #2271b8;
  color: white;
  display: block;
  margin: 20px auto;
  padding: 5px 5px;
  text-align: center;
  text-decoration: none;
  width: 200px; }

#share-modal {
  padding-top: 20px;
  background: white;
  position: absolute;
  z-index: 9000;
  top: 20px;
  right: 0;
  bottom: 0;
  left: 0; }

.settings-link {
  text-align: center;
  display: block; }

#title-screen {
  background-image: url(../assets/car-road.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  text-transform: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  color: black;
  background-color: white;
  z-index: 9000;
  text-align: center;
  overflow-y: scroll; }
  #title-screen h1 {
    background-image: url(../assets/playcc.png);
    background-repeat: no-repeat;
    width: 200px;
    height: 82px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    margin: 10px auto; }
    @media (min-width: 500px) {
      #title-screen h1 {
        position: absolute;
        right: 28px;
        top: 20px; } }
  #title-screen h2 {
    color: white;
    font-size: 20px; }
    @media (min-width: 500px) {
      #title-screen h2 {
        position: absolute;
        right: 20px;
        top: 120px; } }
  #title-screen p {
    max-width: 400px;
    margin: 10px auto; }
  @media (min-width: 500px) {
    #title-screen img {
      position: absolute;
      top: 50%;
      left: 50%;
      margin-left: -8px;
      margin-top: -8px; } }
  #title-screen #instructions {
    background-color: rgba(255, 255, 255, 0.5); }
    @media (min-width: 500px) {
      #title-screen #instructions {
        padding: 20px;
        position: absolute;
        right: 30px;
        top: 210px;
        text-align: right; } }
  #title-screen #disclaimer {
    font-size: 12px;
    color: #cacaca; }
    @media (min-width: 500px) {
      #title-screen #disclaimer {
        max-width: 50%;
        position: absolute;
        left: 20px;
        bottom: 20px;
        text-align: left; } }
  #title-screen button {
    text-transform: uppercase;
    padding: 15px 20px;
    font-size: 18px; }
    #title-screen button.buttonClicked {
      display: none; }
    @media (min-width: 500px) {
      #title-screen button {
        position: absolute;
        right: 30px;
        bottom: 30px; } }

.jslider-pointer {
  width: 20px !important;
  height: 20px !important;
  margin-left: -10px !important;
  margin-top: -4px !important; }

#collision-overlay {
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  z-index: 800;
  position: fixed;
  text-align: center;
  left: 5%;
  top: 5%;
  width: 50%;
  padding: 20px; }
  #collision-overlay button {
    text-transform: uppercase; }

.hide {
  display: none; }
