@keyframes missed {
  50% {
    background-color: red; } }

@keyframes moveRightLeft {
  0% {
    right: 30%;
    opacity: .5; }
  80% {
    right: calc(50% - 20px);
    opacity: 1; }
  100% {
    right: calc(50% - 20px);
    opacity: 0; } }

@keyframes say {
  0% {
    opacity: 0; }
  90% {
    opacity: 1; }
  100% {
    opacity: 0; } }

@keyframes blink {
  50% {
    opacity: 0; } }

@keyframes level {
  from {
    color: red; }
  to {
    color: yellow; } }

@keyframes pointUp {
  0% {
    opacity: 1;
    margin-top: 0px; }
  99% {
    opacity: 1;
    margin-top: -60px; }
  100% {
    opacity: 0; } }

@keyframes continue {
  50% {
    opacity: 0; } }

.charles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); }

.charles-michael .charlesHead-hair {
  background-color: yellow; }

.charles-michael .charlesHead-face, .charles-michael .charlesRightForearm, .charles-michael .charlesRightUpperarm, .charles-michael .charlesLeftForearm, .charles-michael .charlesLeftUpperarm, .charles-michael .charlesRightLeg, .charles-michael .charlesRightFoot, .charles-michael .charlesLeftLeg, .charles-michael .charlesLeftFoot {
  background-color: black; }

.charlesMessage {
  position: relative;
  top: -40px;
  font-size: 2em;
  opacity: 0; }

.charlesMessage-isSaying {
  animation: say 1s ease; }

.charlesHead {
  margin-left: 85px; }

.charlesHead-hair {
  width: 35px;
  height: 10px;
  background-color: #D93600; }

.charlesHead-face {
  width: 35px;
  height: 35px;
  background-color: #FFDC73; }

.charlesRightForearm {
  float: left;
  width: 15px;
  height: 50px;
  background-color: #FFDC73;
  margin-top: -35px; }

.charlesRightUpperarm {
  float: left;
  width: 50px;
  height: 15px;
  background-color: #FFDC73; }

.charlesBody {
  float: left;
  width: 75px;
  height: 85px;
  background-color: #00D900; }

.charlesBody-withoutShirt {
  background-color: #FFDC73; }

.charlesLeftUpperarm {
  float: left;
  width: 50px;
  height: 15px;
  background-color: #FFDC73; }

.charlesLeftForearm {
  float: left;
  width: 15px;
  height: 50px;
  background-color: #FFDC73; }

.charlesShort {
  clear: both;
  width: 75px;
  height: 30px;
  background-color: #004040;
  margin-left: 65px; }

.charlesShort-division {
  position: relative;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 3px;
  height: 30px;
  background-color: #0059B2; }

.charlesRightLeg {
  float: left;
  width: 15px;
  height: 95px;
  background-color: #FFDC73;
  margin-left: 70px; }

.charlesLeftLeg {
  float: left;
  width: 15px;
  height: 95px;
  background-color: #FFDC73;
  margin-left: 35px; }

.charlesRightFoot {
  clear: both;
  float: left;
  width: 30px;
  height: 15px;
  background-color: #FFDC73;
  margin-left: 55px; }

.charlesLeftFoot {
  float: left;
  width: 30px;
  height: 15px;
  background-color: #FFDC73;
  margin-left: 35px; }

.charles-dance1 {
  left: 51%; }
  .charles-dance1 .charlesRightForearm {
    margin-top: 0; }
  .charles-dance1 .charlesLeftForearm {
    margin-top: -35px; }
  .charles-dance1 .charlesRightFoot {
    margin-left: 70px; }
  .charles-dance1 .charlesLeftFoot {
    margin-left: 5px; }

.charles-dance2 {
  left: 48%; }
  .charles-dance2 .charlesRightForearm {
    height: 40px;
    margin-top: -25px; }
  .charles-dance2 .charlesLeftFoot {
    margin-left: 20px; }

.charles-dance3 {
  left: 51%; }
  .charles-dance3 .charlesRightLeg, .charles-dance3 .charlesLeftLeg {
    height: 115px; }

.charles-dance4 {
  left: 49%; }
  .charles-dance4 .charlesRightLeg, .charles-dance4 .charlesLeftLeg {
    height: 75px; }

.charles-dance5 {
  left: 50%; }
  .charles-dance5 .charlesRightLeg, .charles-dance5 .charlesLeftLeg {
    height: 75px; }

body {
  font-family: 'VT323'; }

.gameBackground {
  background-color: #BFEFFF; }

.gameBackground-isMiss {
  animation: missed .25s linear; }

.infoPanel {
  position: absolute;
  top: 0;
  left: 0;
  display: none; }

.infoPanelLevel {
  position: relative;
  top: 5px;
  left: 3px; }

.infoPanelLevel-text {
  padding: 2px;
  color: yellow;
  background-color: black; }

.infoPanel-score {
  position: relative;
  top: 5px;
  left: 15px;
  font-size: 2em; }

.infoPanel-lifeItem {
  position: relative;
  top: 5px;
  left: 15px;
  float: left;
  margin-left: 5px;
  width: 20px;
  height: 20px;
  background-color: red; }
  .infoPanel-lifeItem:first-child {
    margin-left: 0; }

.gameOverBackground {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.7;
  display: none;
  z-index: 9; }

.gameOverMessage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: 10px;
  font-size: 8em;
  color: red;
  text-align: center;
  display: none;
  z-index: 99; }

.gameOverMessage-continue {
  font-size: 0.2em;
  letter-spacing: 5px;
  color: grey;
  animation: continue .75s infinite; }

.fb_iframe_widget {
  display: block !important;
  margin-top: 15px; }

.messagePanel {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 9; }

.messagePanel-levelUpMessage {
  font-size: 2em;
  color: yellow;
  display: none; }

.messagePanel-levelUpMessage-isLevelUp {
  display: block;
  animation: level .25s linear;
  animation-iteration-count: 10; }

.messagePanel-startGameMessage {
  font-size: 2em;
  animation: blink 1s infinite; }

.points {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 2em;
  color: #00D900;
  z-index: 999;
  opacity: 0; }

.points-isEarned {
  animation: pointUp .5s ease; }

.charEngine {
  position: absolute;
  top: 30px;
  right: 30%;
  font-size: 3em;
  padding: 15px;
  background-color: white;
  opacity: 0; }

.charEngine-isWorking {
  animation: moveRightLeft 1.15s ease; }

.developerInfo {
  position: absolute;
  right: 20px;
  bottom: 15px;
  color: gray; }

.developerInfo-link {
  font-size: 1em;
  color: #039BE5;
  margin-left: 5px; }
