@charset "UTF-8";
@keyframes utkaFly 
{
  0% {
    left: 150%;
    top: 10%;
  }
  25% {
    left: 80%;
    top: 50%;
  }
  50% {
    left: 50%;
    top: 30%;
  }
  75% {
    left: 30%;
    top: 40%;
  }
  100% {
    left: -50%;
    top: 10%;
  }
}
@keyframes utkaDie 
{
  0% {
    left: -50%;
    top: 100%;
  }
}
input + label 
{
  position: absolute;
  left: -100px;
  z-index: 1;
  width: 36px;
  height: 34px;
  display: block;
  z-index: 5;
  transform: translate(-50%, -50%);
  background: url(../TNewCue/img/duck_light.png) no-repeat left center;
  background-position: -138px 0;
}
input:checked + label 
{
  opacity: 0;
  transition: all 0.5s;
  transform: rotate(120deg);
  transform-origin: 50%;
  z-index: -5;
  animation: utkaDie 1s linear infinite;
}
.duck:nth-of-type(1) 
{
  animation: utkaFly 10s linear 1s infinite;
  animation-direction: alternate;
}
.duck:nth-of-type(2) 
{
  animation: utkaFly 20s linear 2s infinite;
  animation-direction: alternate;
}
.duck:nth-of-type(3) 
{
  animation: utkaFly 30s linear 3s infinite;
  animation-direction: alternate;
}
.duck:nth-of-type(4) 
{
  animation: utkaFly 40s linear 4s infinite;
  animation-direction: alternate;
}
.duck:nth-of-type(5) 
{
  animation: utkaFly 50s linear 5s infinite;
  animation-direction: alternate;
}
.score 
{
  position:absolute;
  bottom:0;
  height:30px;
  line-height:30px;
  font-size:20px;
  text-align: center;
  width: 100%;
  z-index: 2;
  background:transparent;
}
/* Здесь через функцию counter от CSS выводим счетчик по событию */ 
/*
.score:after 
{
  content: counter(score);
  display: inline-block;
}
.score:before 
{
  content:'Из 5 уток выбиты: ';
  display:inline-block;
  white-space:pre;
}
*/
input:checked 
{
  counter-increment: score;
}
#duckbody 
{
  margin:0;
  padding:0;
  width:100%;
  height:100%;
  cursor:url(../TNewCue/img/aim.png),text;
  overflow:hidden;
}
#duckbody:before 
{
  content: '';
  display: block;
  position:absolute;
  width: 100%;
  height:100%;
  z-index: 1;
  background: url(../TNewCue/img/bg.png) repeat-x bottom left;
}
