/* #### Generated By: http://www.cufonfonts.com #### */
@font-face {
  font-family: 'Gabriola';
  font-style: normal;
  font-weight: normal;
  src: local("Gabriola"), url("gabriola Font Download.woff") format("woff"); }
@keyframes fader {
  0% {
    opacity: 0; }
  100% {
    opacity: 100; } }
@-webkit-keyframes fader {
  0% {
    opacity: 0; }
  100% {
    opacity: 100; } }
@keyframes rotate {
  0% {
    transform: rotateZ(0deg); }
  100% {
    transform: rotateZ(360deg); } }
@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotateZ(0deg); }
  100% {
    -webkit-transform: rotateZ(360deg); } }
.fading {
  animation: fader 1s infinite alternate linear;
  -webkit-animation: fader 1s infinite alternate linear; }

.rotating {
  animation: rotate 1s infinite linear;
  -webkit-animation: rotate 1s infinite linear; }

* {
  box-sizing: border-box; }

body {
  font-family: Arial, sans-serif;
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0; }

#stage {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  position: relative; }

#canvas {
  -webkit-box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.5);
  -moz-box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.5);
  box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.5);
  width: 1000px;
  height: 740px;
  overflow: hidden;
  position: relative;
  margin: 0 auto; }

.screenReader {
  visibility: hidden;
  width: 1px;
  height: 1px; }

/* Massive BG */
#mainBG {
  background-image: url("../img/main-background.jpg");
  background-size: cover;
  background-position: -15%;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%; }

#colourOverlay {
  display: block;
  background: #8fe9ff;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1; }

/*  Moving background  */
#bGrnd {
  width: 100%;
  height: 100%;
  background-image: url("../img/game-background-wtih-stars.jpg"); }

@keyframes bgMover {
  0% {
    background-position: 0% 0%; }
  100% {
    background-position: -1000px 0%; } }
@-webkit-keyframes bgMover {
  0% {
    background-position: 0% 0%; }
  100% {
    background-position: -1000px 0%; } }
#finger {
  position: absolute;
  left: 28%;
  top: 40%; }

img, a {
  border: 0; }

#bird {
  position: absolute;
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  backface-visibility: hidden;
  perspective: 1000;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  /* For Opera and <= IE9, we need to add unselectable="on" attribute onto each element */
  /* Check this site for more details: http://help.dottoro.com/lhwdpnva.php */
  -moz-user-select: none;
  /* These user-select properties are inheritable, used to prevent text selection */
  -webkit-user-select: none;
  -ms-user-select: none;
  /* From IE10 only */
  user-select: none;
  /* Not valid CSS yet, as of July 2012 */
  -webkit-user-drag: none;
  /* Prevents dragging of images/divs etc */
  user-drag: none; }

/*  Moving clouds  */
.cloud {
  position: absolute; }

#cloudSmall {
  top: 15%;
  left: 110%;
  -webkit-animation: cloudSmallMovement 90s infinite linear;
  animation: cloudSmallMovement 90s infinite linear;
  /* For Opera and <= IE9, we need to add unselectable="on" attribute onto each element */
  /* Check this site for more details: http://help.dottoro.com/lhwdpnva.php */
  -moz-user-select: none;
  /* These user-select properties are inheritable, used to prevent text selection */
  -webkit-user-select: none;
  -ms-user-select: none;
  /* From IE10 only */
  user-select: none;
  /* Not valid CSS yet, as of July 2012 */
  -webkit-user-drag: none;
  /* Prevents dragging of images/divs etc */
  user-drag: none; }

#cloudBig {
  bottom: 15%;
  left: 150%;
  z-index: 10;
  /* Above bird! */
  -webkit-animation: cloudBigMovement 45s infinite linear;
  animation: cloudBigMovement 45s infinite linear;
  /* For Opera and <= IE9, we need to add unselectable="on" attribute onto each element */
  /* Check this site for more details: http://help.dottoro.com/lhwdpnva.php */
  -moz-user-select: none;
  /* These user-select properties are inheritable, used to prevent text selection */
  -webkit-user-select: none;
  -ms-user-select: none;
  /* From IE10 only */
  user-select: none;
  /* Not valid CSS yet, as of July 2012 */
  -webkit-user-drag: none;
  /* Prevents dragging of images/divs etc */
  user-drag: none; }

@keyframes cloudSmallMovement {
  0% {
    transform: translateX(0px); }
  100% {
    transform: translateX(-1500px); } }
@keyframes cloudBigMovement {
  0% {
    transform: translateX(0); }
  100% {
    transform: translateX(-2050px); } }
@-webkit-keyframes cloudSmallMovement {
  0% {
    -webkit-transform: translateX(0px); }
  100% {
    -webkit-transform: translateX(-1500px); } }
@-webkit-keyframes cloudBigMovement {
  0% {
    -webkit-transform: translateX(0px); }
  100% {
    -webkit-transform: translateX(-2050px); } }
#score {
  position: absolute;
  left: 47%;
  color: #52b7e6;
  font-weight: 900;
  font-family: Gabriola;
  font-size: 46px;
  letter-spacing: 2px;
  top: 0%;
  z-index: 5;
  /* For Opera and <= IE9, we need to add unselectable="on" attribute onto each element */
  /* Check this site for more details: http://help.dottoro.com/lhwdpnva.php */
  -moz-user-select: none;
  /* These user-select properties are inheritable, used to prevent text selection */
  -webkit-user-select: none;
  -ms-user-select: none;
  /* From IE10 only */
  user-select: none;
  /* Not valid CSS yet, as of July 2012 */
  -webkit-user-drag: none;
  /* Prevents dragging of images/divs etc */
  user-drag: none; }

.bg {
  transition: all 1ms linear; }

.obstacle {
  position: absolute;
  left: -100px;
  animation: rotateMe 1s infinite linear;
  -webkit-animation: rotateMe 1s infinite linear; }

@keyframes rotateMe {
  0% {
    transform: rotateZ(0deg); }
  100% {
    transform: rotateZ(-360deg); } }
@-webkit-keyframes rotateMe {
  0% {
    -webkit-transform: rotateZ(0deg); }
  100% {
    -webkit-transform: rotateZ(-360deg); } }
#gameOver {
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  position: absolute;
  left: 33%;
  top: 40%;
  display: none;
  z-index: 100; }

h1 {
  font-size: 28px; }

h2 {
  font-size: 18px;
  text-align: center; }

p {
  font-size: 14px;
  text-align: center; }

#endScreen h2 {
  margin-top: 13em; }

.endScreen__form {
  width: 50%;
  margin: 0 auto; }

.endScreen__label,
.endScreen__input,
.endScreen__button {
  display: block;
  border-radius: 5px; }

.endScreen__label {
  width: 15%;
  font-size: 14px;
  font-weight: bold;
  padding-top: 0.5em;
  float: left; }

.endScreen__input {
  width: 85%;
  padding: 8px;
  background: #FFF;
  border: 1px solid #ccc;
  float: left;
  clear: right;
  margin-bottom: 1em; }

.endScreen__button {
  text-align: center;
  width: 30%;
  padding: 10px;
  font-weight: bold;
  background: blue;
  color: #FFF;
  display: inline-block;
  margin: 20px auto;
  float: right; }

.endScreen__button--left {
  float: left;
  background: orange;
  width: auto; }

#btPlay {
  position: absolute;
  bottom: 12%;
  left: 31%; }

#btSave {
  position: absolute;
  bottom: 11%;
  left: 40%; }

/* ============================================== Highscores */
#highScreen {
  -webkit-box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.5);
  -moz-box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.5);
  box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.5);
  background: url(../img/highscores.jpg);
  width: 819px;
  height: 543px;
  position: absolute;
  bottom: -543px;
  left: 50%;
  z-index: 100; }
  #highScreen img {
    -webkit-transition: all 100ms linear;
    transition: all 100ms linear; }
    #highScreen img:hover {
      -webkit-transform: scale(1.1, 1.1);
      transform: scale(1.1, 1.1); }
  #highScreen ol {
    font-family: Gabriola;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #52b7e6;
    width: 50%;
    display: block;
    position: relative;
    left: 25%;
    top: 21%;
    padding: 0;
    margin: 0;
    list-style-type: decimal; }
  #highScreen li {
    padding: 2px 0;
    line-height: 41px;
    margin: 0;
    width: 100%;
    border-bottom: 2px dotted #52b7e6;
    display: block;
    position: relative; }
    #highScreen li span {
      display: inline-block; }
    #highScreen li .right {
      position: absolute;
      right: 0; }

#btBack {
  position: absolute;
  top: 4px;
  left: 0px; }

/* ============================================== Start Screen */
#startScreen, #endScreen {
  -webkit-box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.5);
  -moz-box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.5);
  box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.5);
  background: url(../img/startScreen.jpg);
  width: 819px;
  height: 543px;
  position: absolute;
  bottom: -543px;
  left: 50%;
  z-index: 100; }
  #startScreen img, #endScreen img {
    -webkit-transition: all 100ms linear;
    transition: all 100ms linear; }
    #startScreen img:hover, #endScreen img:hover {
      -webkit-transform: scale(1.1, 1.1);
      transform: scale(1.1, 1.1); }

#btStart {
  position: relative;
  top: 39%;
  left: 20%; }

#btHigh {
  position: relative;
  top: 39%;
  left: 18%; }

#btWeb {
  position: absolute;
  top: 75%;
  left: 33%; }

#musicCopyright {
  position: absolute;
  right: 0.5em;
  bottom: 0.5em;
  font-size: 11px;
  color: #aaa; }

/*# sourceMappingURL=style.css.map */
