html {
  font-family: 'Open Sans', sans-serif;
}

html,
body {
	margin: 0;
	width: 100%;
	height: 100%;
	background-color: #1a4592;
	font-family: sans-serif;
	font-weight: 100;
	color: #000;
}

#background {
  position: absolute;
  left: 0px;
  top: 0px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#content {
	width: 100%;
	margin: auto;
	padding: 0px;
}

#body {
  height: 100%;
  width: 100%;
  margin: auto;
  position: absolute;
  transform-origin: top center;
  transform: scale(0.6);
  bottom: 0;
}

* {
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-sizing: border-box;
}

#face {
  width: 200px;
  height: 200px;
  background-image: url(../img/head.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  margin: auto;
  z-index: 2;
  left: 50%;
  margin-left: -106px;
  top: 58px;
  transform-origin: 50% 80%;
   -webkit-animation:wobble 2s infinite; /* Safari 4+ */
  -moz-animation:    wobble 2s infinite; /* Fx 5+ */
  -o-animation:      wobble 2s infinite; /* Opera 12+ */
  animation:         wobble 2s infinite; /* IE 10+, Fx 29+ */
}

@-webkit-keyframes wobble {
  0% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
  100% { transform: rotate(-5deg); }
}
@-moz-keyframes wobble {
  0% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
  100% { transform: rotate(-5deg); }
}
@-o-keyframes wobble {
  0% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
  100% { transform: rotate(-5deg); }
}
@keyframes wobble {
  0% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
  100% { transform: rotate(-5deg); }
}

#chest {
  width: 300px;
  height: 600px;
  position: absolute;
  background-image: url(../img/full_body.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  left: 50%;
  margin-left: -150px;
  top: 200px;
  z-index: 1;
}

#left_shoulder {
  width: 140px;
  height: 89px;
  position: absolute;
  background-image: url(../img/leftShoulder.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  left: 50%;
  margin-left: -176px;
  top: 272px;
  transform-origin: 88% 53%;
  transform: rotate(0deg);
}

#right_shoulder {
  width: 140px;
  height: 89px;
  position: absolute;
  background-image: url(../img/rightShoulder.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  left: 50%;
  margin-left: 38px;
  top: 270px;
  transform-origin: 16% 42%;
  transform: rotate(0deg);
}

#left_arm {
  width: 87px;
  height: 198px;
  position: absolute;
  background-image: url(../img/leftArm.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  left: 50%;
  margin-left: -57px;
  top: -111px;
  transform-origin: 22% 92%;
  transform: rotate(0deg);
}

#right_arm {
  width: 87px;
  height: 198px;
  position: absolute;
  background-image: url(../img/rightArm.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  left: 50%;
  margin-left: -16px;
  top: -132px;
  transform-origin: 74% 93%;
  transform: rotate(0deg);
}

.up #left_shoulder { transform: rotate(30deg); }
.up #left_arm { transform: rotate(-35deg); }
.up #right_shoulder { transform: rotate(-30deg); }
.up #right_arm { transform: rotate(34deg); }

.signs {
  width: 200px;
  height: 125px;
  position: absolute;
  background-image: url(../img/signs.jpg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform: rotate(0deg); margin-top: 30px;
  
  
/*
   -webkit-animation:moving 4s infinite;
  -moz-animation:    moving 4s infinite; 
  -o-animation:      moving 4s infinite; 
  animation:         moving 4s infinite; 
*/
}

.up .signs {
  margin-top: 0px;
}

.signs.group0 { transform: rotate(1deg); }
.signs.group1 { transform: rotate(-1deg); }
.signs.group2 { transform: rotate(-3deg); }
.signs.group3 { transform: rotate(2deg); }
.up .signs.group0 { transform: rotate(5deg); }
.up .signs.group1 { transform: rotate(-8deg); }
.up .signs.group2 { transform: rotate(10deg); }
.up .signs.group3 { transform: rotate(-2deg); }

.fader {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: rgba(26,69,146,1);
}


@-webkit-keyframes moving {
  0% { transform: rotate(-15deg); margin-top: 30px; }
  50% { transform: rotate(5deg); margin-top: 0px; }
  100% { transform: rotate(-15deg); margin-top: 30px; }
}
@-moz-keyframes moving {
  0% { transform: rotate(-15deg); margin-top: 30px; }
  50% { transform: rotate(5deg); margin-top: 0px; }
  100% { transform: rotate(-15deg); margin-top: 30px; }
}
@-o-keyframes moving {
  0% { transform: rotate(-15deg); margin-top: 30px; }
  50% { transform: rotate(5deg); margin-top: 0px; }
  100% { transform: rotate(-15deg); margin-top: 30px; }
}
@keyframes moving {
  0% { transform: rotate(-15deg); margin-top: 30px; }
  50% { transform: rotate(5deg); margin-top: 0px; }
  100% { transform: rotate(-15deg); margin-top: 30px; }
}


#button {
  width: 400px;
  margin: auto;
  color: white;
  background-color: #ffb700;
  font-family: 'Knewave', cursive;
  font-size: 30px;
  z-index: 100;
  bottom: 80px;
  border-radius: 10px;
  position: absolute;
  left: 50%;
  margin-left: -200px;
  text-align: center;
  padding: 10px;
  border: 3px solid white;
  box-shadow: 5px 5px 10px rgba(0,0,0,.5);
  text-transform: uppercase;  
  cursor: pointer;
}

.up #button {
  box-shadow: 0px 0px 0px rgba(0,0,0,.5);
  bottom: 75px;
  color: rgba(255,255,255,.2);
  border: 3px solid #1a4592;
  background-color: #1a4592;
}

#button:active {
  box-shadow: 0px 0px 0px rgba(0,0,0,.5);
  bottom: 75px;
  color: rgba(255,255,255,.2);
  border: 3px solid #1a4592;
  background-color: #1a4592;
}

#counter {
  position: absolute;
  width: 100%;
  bottom: 55px;
  color: white;
  font-size: 12px;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;  
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  z-index: 100;
}

#disclaimer {
  width: 90%;
  text-align: center;
  font-size: 10px;
  color: white;
  position: absolute;
  bottom: 5px;
  z-index: 1000;
  opacity: .5;
  left: 5%;
}

a {
  color: white;
}

@media only screen and (max-width: 600px) {
  #button {   
    width: 80%;
    margin-left: -40%;
  }
}



