@charset 'UTF-8';

@font-face {
  font-family: 'gotham-light';
  font-weight: 200;
  src: url('../fonts/GothamSSm-Light.ttf') format('truetype');
}

@font-face {
  font-family: 'gotham-medium';
  font-weight: 400;
  src: url('../fonts/GothamSSm-Medium.ttf') format('truetype');
}

body {
	background-color: #32406A;
	margin: 0;
    cursor: default;
}

canvas {
  margin: auto;
  image-rendering: optimizeSpeed;
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;
}

#loading-wheel {
  top:50%;
  left:50%;
  position: fixed;
  transform: translate(-50%, -50%);
}

#font-light {
  font-family: 'gotham-light', 'Helvetica NeueMedium', 'Helvetica Neue-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#font-medium {
  font-family: 'gotham-medium', 'Helvetica NeueMedium', 'Helvetica Neue-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#font-light, #font-medium {
  position: absolute;
  margin-left: -1000px;
}


.btn:hover {
  cursor: pointer;
}

/* Start game loop */
#start-header {
  text-align: center;
  position: relative;
  height: 60%;
}

#start-img {
  width: 45%;
}

#start-header > p {
  text-align: center;
  color: white;
}

#start-header-text {
  font-family: 'gotham-medium', 'Helvetica NeueMedium', 'Helvetica Neue-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 35pt;
  line-height: 45px;
  position: absolute;
  top: 30%;
  width: 100%;
}

@media only screen and (max-width: 500px) {
  #start-header-text {
    font-size: 25pt;
    line-height: 35px;
  }
}

#start-subdiv-text {
  position: absolute;
  width: 100%;
  top: 70%;
  font-family: 'gotham-light', 'Helvetica NeueMedium', 'Helvetica Neue-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14pt;
}

@media only screen and (max-width: 340px) {
  #start-subdiv-text {
    font-size: 12pt;
  }
}

#start-line {
  margin-top: 2%;
  text-align: center;
}

.btn.start-game {
  font-family: 'gotham-medium', 'Helvetica NeueMedium', 'Helvetica Neue-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14pt;
  border: 0;
  color: #ffffff;
  background: #F79400;
  border-radius: 100px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  outline: none;
  line-height: 36px;
  width: 50%;
  height: 70px;
}

.btn.start-game:hover {
  background: #F77700;
  text-decoration: none;
}

#start-peak {
  text-align: center;
  margin-top: 5%;
}

#start-peak-img {
    max-width: 204px;
    width: 13%;
    opacity: 0.3;
}


/* End game loop */
#obstacle > p, #percentile > p {
  text-align: center;
  color: white;
  margin: 0 auto;
}

#obstacle {
  margin-top: 8%;
}

#obstacle-title {
  font-family: 'gotham-light', 'Helvetica NeueMedium', 'Helvetica Neue-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20pt;
}

@media only screen and (max-width: 500px) {
  #obstacle-title {
    font-size: 14pt;
  }
}

#obstacle-subtitle {
  font-family: 'gotham-medium', 'Helvetica NeueMedium', 'Helvetica Neue-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 30pt;
  line-height: 40px;
}

@media only screen and (max-width: 500px) {
  #obstacle-subtitle {
    font-size: 20pt;
    line-height: 28px;
  }
}

#percentile-title {
  font-family: 'gotham-light', 'Helvetica NeueMedium', 'Helvetica Neue-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20pt;
}

@media only screen and (max-width: 500px) {
  #percentile-title {
    font-size: 10pt;
  }
}

#percentile-subtitle {
  font-family: 'gotham-medium', 'Helvetica NeueMedium', 'Helvetica Neue-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 38pt;
  line-height: 50px;
}

@media only screen and (max-width: 500px) {
  #percentile-subtitle {
    font-size: 20pt;
    line-height: 30px;
  }
}


#social-line {
  margin: 9% auto 0 auto;
  height: 94px;
  width: 100%;
}

@media only screen and (max-width: 700px) {
  #social-line {
    text-align: center;
    max-width: 340px;
  }
}

@media only screen and (max-width: 400px) {
  #social-line {
    height: 55px;
  }
}

.btn.facebook {
  background: #4063C3;
  float: left;
}

@media only screen and (max-width: 700px) {
  .btn.facebook {
    float: none;
  }
}

.btn:hover.facebook {
  border: 0;
  background: #406399;
  text-decoration: none;
}

.btn:focus.facebook:focus {
  outline: none;
  border: 0;
}

.btn.facebook:active {
  border: 0;
  outline: none;
  background: #3450db;
}


.btn.twitter {
  background: #63ADF4;
  float: right;
}

@media only screen and (max-width: 700px) {
  .btn.twitter {
    margin-top: 20px;
    float: none;
  }
}

@media only screen and (max-width: 400px) {
  .btn.twitter {
    margin-top: 10px;
    float: none;
  }
}

.btn:hover.twitter {
  border: 0;
  background: #3cb0fd;
  text-decoration: none;
}

.btn:focus.twitter:focus {
  outline: none;
  border: 0;
}

.btn.twitter:active {
  border: 0;
  outline: none;
  background: #3450db;
}

.btn.twitter, .btn.facebook {
  font-family: 'gotham-medium', 'Helvetica NeueMedium', 'Helvetica Neue-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14pt;
  border: 0;
  width: 49%;
  height: 100%;
  color: #ffffff;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  outline: none;
  line-height: 36px;
}

@media only screen and (max-width: 700px) {
  .btn.twitter, .btn.facebook {
    width: 100%;
  }
}

@media only screen and (max-width: 400px) {
  .btn.twitter, .btn.facebook {
    font-size: 10pt;
  }
}

#facebook-logo, #twitter-logo {
  float: left;
  width: 36px;
}

#twitter-logo {
  margin-top: 4px;
}


#bottom-line-mobile {
  margin: 12% auto 0 auto;
  height: 94px;
  width: 87%;
  display: none;
  text-align: center;
}

@media only screen and (max-width: 700px) {
  #bottom-line-mobile {
    max-width: 340px;
    width: 100%;
    margin: 80px auto 0 auto;
  }
}

@media only screen and (max-width: 400px) {
  #bottom-line-mobile {
    height: 60px;
    margin: 76px auto 0 auto;
  }
}

#endgame-firsttext-title {
    font-family: 'gotham-light', 'Helvetica NeueMedium', 'Helvetica Neue-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14pt;
    color: white;
    margin-bottom: 30px
}

#endgame-secondtext-title {
    font-family: 'gotham-light', 'Helvetica NeueMedium', 'Helvetica Neue-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 9pt;
    color: white;
}

#bottom-line-desktop {
  margin: 5% auto 0 auto;
  height: 50px;
  width: 100%;
  text-align: center;
  display: none;
}

.btn#start-over-mobile {
  margin-top: 24px;
  padding: 5px 0 0 0;
  height: 100%;
  width: 94px;
  border: 0;
  color: #ffffff;
  font-size: 18pt;
  background: rgba(0,0,0,0);
  outline: none;
}

@media only screen and (max-width: 400px) {
  .btn#start-over-mobile {
    width: 40%;
    max-width: 90px;
  }
}

.btn#start-over-mobile:hover {
  background: rgba(0,0,0,0);
  text-decoration: none;
}

.btn#start-over-desktop {
  font-family: 'gotham-medium', 'Helvetica NeueMedium', 'Helvetica Neue-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 0;
  height: 100%;
  width: 28%;
  border: 0;
  border-radius: 100px;
  color: #ffffff;
  font-size: 14pt;
  background: #F79400;
  outline: none;
  line-height: 40px;
}

.btn#start-over-desktop:hover {
  background: #F77700;
  text-decoration: none;
}

#replay-image-mobile {
  width: 60px;
}

@media only screen and (max-width: 400px) {
  #replay-image-mobile {
    width: 50%;
  }
}

#replay-image-desktop {
  margin-top: 6px;
  margin-left: 16px;
  float: left;
  width: 28px;
}

.btn.download {
  font-family: 'gotham-light', 'Helvetica NeueMedium', 'Helvetica Neue-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20pt;
  height: 100%;
  max-height: 66px;
  border: 0;
  color: #ffffff;
  margin: 0 auto;
  background-color: #F79400;
  border-radius: 100px;
  padding: 18px 30px 18px 30px;
  text-decoration: none;
  outline: none;
}

@media only screen and (max-width: 700px) {
  .btn.download {
    width: 90%;
    font-size: 14pt;
    padding: 18px 10px 18px 10px;
  }
}

@media only screen and (max-width: 400px) {
  .btn.download {
    font-size: 13pt;
    width: 90%;
  }
}

.btn.download:hover {
  background: #F77700;
  text-decoration: none;
}

/* Stores buttons */
#desktop-stores {
    position: absolute;
    display: none;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    bottom: 0px;
    z-index: 100;
    margin-bottom: 1%;
/*    height: 12%;*/
}

#desktop-stores-first > p {
    font-family: 'gotham-light', 'Helvetica NeueMedium', 'Helvetica Neue-Medium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12pt;
    color: white;
    margin-bottom: 8px;
}

#desktop-stores-buttons > a > img {
    width: 140px;
}

#desktop-stores-buttons > a > img:hover {
    cursor: pointer;
}

#store_apple, #store_play {
    margin-right: 12px;
}

#desktop-social-links {
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 14px;
    text-align: center;
    z-index: 100;
}

#social-peak-img {
  width: 60px;
}

#social-fb, #social-twitter {
  margin-top: 2px;
  margin-right: 10px;
}
