@keyframes pulse {
  0% {
    transform: scale(1, 1);
  }

  100% {
    transform: scale(0.9, 0.9);
  }
}

@keyframes twist {
  0% {
    transform: skewX(-10deg);
  }

  100% {
    transform: skewX(10deg);
  }
}

@keyframes jump {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-10px);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(-4deg);
  }

  100% {
    transform: rotate(4deg);
  }
}

#modal {
  z-index: 9999;
}

* {
  padding: 0;
  margin: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* *:not(input.field) {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
} */

input,
textarea {
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

#loading {
  position: fixed;
  margin: auto;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 999;
}

/*
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;

    background: #0eb1f7;
    background: linear-gradient(180deg, #0eb1f7 0%, #095f85 50%);

}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;

}

body,html{
    touch-action: none
}
*/

body,
html {
  position: absolute;
  margin: 0;
  padding: 0;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
  background: 0 0;

  touch-action: none;
}

/* *:not(input.field) {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
} */

canvas {
  position: fixed;
  top: 0;
  left: 0;
}

#ui {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
}

.screen {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.cover {
  background: rgba(0, 0, 0, 0.5);
}

.center-absolute {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
}

.not-select {
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

.hide {
  visibility: hidden;
  opacity: 0;
  transition: opacity 1s, visiblility 1s;
}

.show {
  visibility: visible;
  opacity: 1;
  transition: opacity 1s, visiblility 1s;
}

.simple-pulse {
  animation-name: pulse;
  animation-duration: 0.5s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

#animation_container {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

@keyframes alpha {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.rail-hand{
    position: absolute;
    width:120px;
    height:120px;

    animation-name: pulse;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.rail-hand img{
    transform: rotate(-10deg);
    max-width: 100%;
    max-height: 100%;
}

.low-fuel{
    position: absolute;
    transform-origin: top left;

    animation-name: alpha;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}


.info-text{
    position: absolute;
    text-align: center;
    font-size: 40px;
    font-family: ui-font;
    width:100%;

    color: #d1445e;

    animation-name: pulse;
    animation-duration: 0.15s;
    animation-iteration-count: infinite;
    animation-direction: alternate;

}

.circle-bar{
    position: absolute;
    left: 100px;
    top: 100px;
    background: #ffffff;
    width: 150px;
    height: 150px;
    z-index: 990;
}

.rail-hand, .text-box{
    /*transition:  left 0.5s, top 0.5s;*/
}