@charset "UTF-8";
@keyframes utkaFly {
  0%{
		left: 150%;
		top:15%;
	}
	25%{
		left: 5%;
		top:5%;
	}
	50%{
		left: 95%;
		top:95%;
	}
	75%{
		left: 5%;
		top:5%;
	}
	100%{
		left: -70%;
		top:70%;
	}
}

input + label {
  position: absolute;
  left: -100px;
  z-index: 1;
  width: 328px;
  height: 94px;
  display: block;
  z-index: 7;
  transform: translate(-50%, -50%);
  background: url(../img/raketatop.png) no-repeat left center;
  background-position: center;
  background-size: cover;
}




input:checked + label {
  opacity: 0;
  transition: all 0.5s;
  transform: rotate(120deg);
  transform-origin: 50%;
  z-index: -5;
  animation: utkaDie 6s linear infinite;
}

.duck:nth-of-type(1) {
  animation: utkaFly 5s linear 1s infinite;
  animation-direction: alternate;
}

.duck:nth-of-type(2) {
  animation: utkaFly 7s linear 1s infinite;
  animation-direction: alternate;
}

.duck:nth-of-type(3) {
  animation: utkaFly 6s linear 1s infinite;
  animation-direction: alternate;
}

.duck:nth-of-type(4) {
  animation: utkaFly 5s linear 1s infinite;
  animation-direction: alternate;
}

.duck:nth-of-type(5) {
  animation: utkaFly 6s linear 1s infinite;
  animation-direction: alternate;
}

.duck:nth-of-type(6) {
  animation: utkaFly 5s linear 1s infinite;
  animation-direction: alternate;
}

.duck:nth-of-type(7) {
  animation: utkaFly 6s linear 1s infinite;
  animation-direction: alternate;
}

.duck:nth-of-type(8) {
  animation: utkaFly 7s linear 1s infinite;
  animation-direction: alternate;
}

.duck:nth-of-type(9) {
  animation: utkaFly 4s linear 1s infinite;
  animation-direction: alternate;
}

.duck:nth-of-type(10) {
  animation: utkaFly 5s linear 1s infinite;
  animation-direction: alternate;
}

.score {
  position: absolute;
  bottom: 0;
  height: 50px;
  line-height: 50px;
  font-size: 30px;
  text-align: center;
  width: 100%;
  z-index: 2;
  background-color: #dadada;
}

.score:after {
  content: counter(score);
  display: inline-block;
}

.score:before {
  content: 'Количество сбитых ракет: ';
  display: inline-block;
  margin-right: 10px;
}

input:checked {
  counter-increment: score;
}

body {
  margin: 0;
  padding: 0;
  cursor: url(../img/aimtop2.png), text;
  overflow: hidden;
}

body:before {
  content: '';
  display: block;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: url(../img/bg6.jpg) repeat-x bottom left;
}
