.lightning{
	 background: url(../images/lightning.png) no-repeat 5% 50%;
  top:55%;
  background-size: cover;
  position: absolute;
  width: 727px;
  height: 233px;
  animation: animationFramesLightLight linear 6s;
  animation-iteration-count: 500;
  transform-origin: 50% 50%;
  -webkit-animation: animationFramesLight linear 6s;
  -webkit-animation-iteration-count: 500;
  -webkit-transform-origin: 50% 50%;
  -moz-animation: animationFramesLight linear 6s;
  -moz-animation-iteration-count: 500;
  -moz-transform-origin: 50% 50%;
  -o-animation: animationFramesLight linear 6s;
  -o-animation-iteration-count: 500;
  -o-transform-origin: 50% 50%;
  -ms-animation: animationFramesLight linear 6s;
  -ms-animation-iteration-count: 500;
  -ms-transform-origin: 50% 50%;
}

@keyframes animationFramesLight{
  0% {
    opacity:0;
    transform:  translate(0px,0px)  rotate(0deg) scaleX(1.00) ;
  }
  46% {
    opacity:0;
    transform:  translate(92px,0px)  rotate(1deg) scaleX(0.93) ;
  }
  48% {
    opacity:1;
    transform:  translate(96px,0px)  rotate(0deg) scaleX(0.93) ;
  }
  49% {
    opacity:0;
    transform:  translate(98px,0px)  rotate(0deg) scaleX(0.93) ;
  }
  77% {
    opacity:0;
    transform:  translate(354px,0px)  scaleX(0.88) ;
  }
  78% {
    opacity:1;
    transform:  translate(356px,0px)  rotate(0deg) scaleX(0.88) ;
  }
  79% {
    transform:  translate(354px,0px)  scaleX(0.88) ;
  }
  80% {
    opacity:0;
    transform:  translate(354px,0px)  ;
  }
  100% {
    opacity:0;
    transform:  translate(354px,0px)  rotate(0deg) scaleX(0.88) ;
  }
}

@-moz-keyframes animationFramesLight{
  0% {
    opacity:0;
    -moz-transform:  translate(0px,0px)  rotate(0deg) scaleX(1.00) ;
  }
  46% {
    opacity:0;
    -moz-transform:  translate(92px,0px)  rotate(1deg) scaleX(0.93) ;
  }
  48% {
    opacity:1;
    -moz-transform:  translate(96px,0px)  rotate(0deg) scaleX(0.93) ;
  }
  49% {
    opacity:0;
    -moz-transform:  translate(98px,0px)  rotate(0deg) scaleX(0.93) ;
  }
  77% {
    opacity:0;
    -moz-transform:  translate(354px,0px)  scaleX(0.88) ;
  }
  78% {
    opacity:1;
    -moz-transform:  translate(356px,0px)  rotate(0deg) scaleX(0.88) ;
  }
  79% {
    -moz-transform:  translate(354px,0px)  scaleX(0.88) ;
  }
  80% {
    opacity:0;
    -moz-transform:  translate(354px,0px)  ;
  }
  100% {
    opacity:0;
    -moz-transform:  translate(354px,0px)  rotate(0deg) scaleX(0.88) ;
  }
}

@-webkit-keyframes animationFramesLight {
  0% {
    opacity:0;
    -webkit-transform:  translate(0px,0px)  rotate(0deg) scaleX(1.00) ;
  }
  46% {
    opacity:0;
    -webkit-transform:  translate(92px,0px)  rotate(1deg) scaleX(0.93) ;
  }
  48% {
    opacity:1;
    -webkit-transform:  translate(96px,0px)  rotate(0deg) scaleX(0.93) ;
  }
  49% {
    opacity:0;
    -webkit-transform:  translate(98px,0px)  rotate(0deg) scaleX(0.93) ;
  }
  77% {
    opacity:0;
    -webkit-transform:  translate(354px,0px)  scaleX(0.88) ;
  }
  78% {
    opacity:1;
    -webkit-transform:  translate(356px,0px)  rotate(0deg) scaleX(0.88) ;
  }
  79% {
    -webkit-transform:  translate(354px,0px)  scaleX(0.88) ;
  }
  80% {
    opacity:0;
    -webkit-transform:  translate(354px,0px)  ;
  }
  100% {
    opacity:0;
    -webkit-transform:  translate(354px,0px)  rotate(0deg) scaleX(0.88) ;
  }
}

@-o-keyframes animationFramesLight {
  0% {
    opacity:0;
    -o-transform:  translate(0px,0px)  rotate(0deg) scaleX(1.00) ;
  }
  46% {
    opacity:0;
    -o-transform:  translate(92px,0px)  rotate(1deg) scaleX(0.93) ;
  }
  48% {
    opacity:1;
    -o-transform:  translate(96px,0px)  rotate(0deg) scaleX(0.93) ;
  }
  49% {
    opacity:0;
    -o-transform:  translate(98px,0px)  rotate(0deg) scaleX(0.93) ;
  }
  77% {
    opacity:0;
    -o-transform:  translate(354px,0px)  scaleX(0.88) ;
  }
  78% {
    opacity:1;
    -o-transform:  translate(356px,0px)  rotate(0deg) scaleX(0.88) ;
  }
  79% {
    -o-transform:  translate(354px,0px)  scaleX(0.88) ;
  }
  80% {
    opacity:0;
    -o-transform:  translate(354px,0px)  ;
  }
  100% {
    opacity:0;
    -o-transform:  translate(354px,0px)  rotate(0deg) scaleX(0.88) ;
  }
}

@-ms-keyframes animationFramesLight {
  0% {
    opacity:0;
    -ms-transform:  translate(0px,0px)  rotate(0deg) scaleX(1.00) ;
  }
  46% {
    opacity:0;
    -ms-transform:  translate(92px,0px)  rotate(1deg) scaleX(0.93) ;
  }
  48% {
    opacity:1;
    -ms-transform:  translate(96px,0px)  rotate(0deg) scaleX(0.93) ;
  }
  49% {
    opacity:0;
    -ms-transform:  translate(98px,0px)  rotate(0deg) scaleX(0.93) ;
  }
  77% {
    opacity:0;
    -ms-transform:  translate(354px,0px)  scaleX(0.88) ;
  }
  78% {
    opacity:1;
    -ms-transform:  translate(356px,0px)  rotate(0deg) scaleX(0.88) ;
  }
  79% {
    -ms-transform:  translate(354px,0px)  scaleX(0.88) ;
  }
  80% {
    opacity:0;
    -ms-transform:  translate(354px,0px)  ;
  }
  100% {
    opacity:0;
    -ms-transform:  translate(354px,0px)  rotate(0deg) scaleX(0.88) ;
  }
}
@media all and (max-width: 1000px) {
 .lightning {
    width: 400px;
	height:127px;
	top:60%;
  }
}
@media all and (max-width: 400px) {
 .lightning {
    width: 400px;
	height:127px;
	top:45%;
	left:-205px;
  }
}