@charset "UTF-8";
/* CSS Document */


/* ease-in is slow to fast, when the ball drops */
/* ease-out is fast to slow, when the ball rebounds */

@-webkit-keyframes bounce {
	0% {
		top: 67px;
		left:236px;
		-webkit-animation-timing-function: ease-in;
	}
	8% {
		top: 255px;
		left:237px;
		-webkit-animation-timing-function: ease-out;
	}
	16% {
		top: 224px;
		left:277px;
		-webkit-animation-timing-function: ease-in;
	}
	24% {
		top: 258px;
		left:316px;
		-webkit-animation-timing-function: ease-out;
	}
	32% {
		top: 232px;
		left:366px;
		-webkit-animation-timing-function: ease-in;
	}
	40% {
		top: 259px;
		left:396px;
		-webkit-animation-timing-function: ease-out;
	}
	48% {
		top: 242px;
		left:432px;
		-webkit-animation-timing-function: ease-in;
	}	
	56% {
		top: 259px;
		left:462px;
		-webkit-animation-timing-function: ease-in;
	}
	100% {
		top: 259px;
		left:462px;
		-webkit-animation-timing-function: ease-in;
	}
}

@-moz-keyframes bounce {
	0% {
		top: 67px;
		left:236px;
		-moz-animation-timing-function: ease-in;
	}
	8% {
		top: 255px;
		left:237px;
		-moz-animation-timing-function: ease-out;
	}
	16% {
		top: 224px;
		left:277px;
		-moz-animation-timing-function: ease-in;
	}
	24% {
		top: 258px;
		left:316px;
		-moz-animation-timing-function: ease-out;
	}
	32% {
		top: 232px;
		left:366px;
		-moz-animation-timing-function: ease-in;
	}
	40% {
		top: 259px;
		left:396px;
		-moz-animation-timing-function: ease-out;
	}
	48% {
		top: 242px;
		left:432px;
		-moz-animation-timing-function: ease-in;
	}	
	56% {
		top: 259px;
		left:462px;
		-moz-animation-timing-function: ease-in;
	}
	100% {
		top: 259px;
		left:462px;
		-moz-animation-timing-function: ease-in;
	}

}
@-ms-keyframes bounce {
	0% {
		top: 67px;
		left:236px;
		-ms-animation-timing-function: ease-in;
	}
	8% {
		top: 255px;
		left:237px;
		-ms-animation-timing-function: ease-out;
	}
	16% {
		top: 224px;
		left:277px;
		-ms-animation-timing-function: ease-in;
	}
	24% {
		top: 258px;
		left:316px;
		-ms-animation-timing-function: ease-out;
	}
	32% {
		top: 232px;
		left:366px;
		-ms-animation-timing-function: ease-in;
	}
	40% {
		top: 259px;
		left:396px;
		-ms-animation-timing-function: ease-out;
	}
	48% {
		top: 242px;
		left:432px;
		-ms-animation-timing-function: ease-in;
	}	
	56% {
		top: 259px;
		left:462px;
		-ms-animation-timing-function: ease-in;
	}
	100% {
		top: 259px;
		left:462px;
		-ms-animation-timing-function: ease-in;
	}

}

@-o-keyframes bounce {
	0% {
		top: 67px;
		left:236px;
		-o-animation-timing-function: ease-in;
	}
	8% {
		top: 255px;
		left:237px;
		-o-animation-timing-function: ease-out;
	}
	16% {
		top: 224px;
		left:277px;
		-o-animation-timing-function: ease-in;
	}
	24% {
		top: 258px;
		left:316px;
		-o-animation-timing-function: ease-out;
	}
	32% {
		top: 232px;
		left:366px;
		-o-animation-timing-function: ease-in;
	}
	40% {
		top: 259px;
		left:396px;
		-o-animation-timing-function: ease-out;
	}
	48% {
		top: 242px;
		left:432px;
		-o-animation-timing-function: ease-in;
	}	
	56% {
		top: 259px;
		left:462px;
		-o-animation-timing-function: ease-in;
	}
	100% {
		top: 259px;
		left:462px;
		-o-animation-timing-function: ease-in;
	}

}


@keyframes bounce {
	0% {
		top: 67px;
		left:236px;
		animation-timing-function: ease-in;
	}
	8% {
		top: 255px;
		left:237px;
		animation-timing-function: ease-out;
	}
	16% {
		top: 224px;
		left:277px;
		animation-timing-function: ease-in;
	}
	24% {
		top: 258px;
		left:316px;
		animation-timing-function: ease-out;
	}
	32% {
		top: 232px;
		left:366px;
		animation-timing-function: ease-in;
	}
	40% {
		top: 259px;
		left:396px;
		animation-timing-function: ease-out;
	}
	48% {
		top: 242px;
		left:432px;
		animation-timing-function: ease-in;
	}	
	56% {
		top: 259px;
		left:462px;
		animation-timing-function: ease-in;
	}
	100% {
		top: 259px;
		left:462px;
		animation-timing-function: ease-in;
	}

}

/*TRAIETTORIA*/

@-webkit-keyframes traiettoria_pigna {
	0% {
		width:0px;
		height:0px;
		-webkit-animation-timing-function: ease-in;
	}
	8% {
		width:22px;
		height:190px;
		-webkit-animation-timing-function: ease-out;
	}
	16% {
		width:60px;
		height:190px;
		-webkit-animation-timing-function: ease-in;
	}
	24% {
		width:99px;
		height:190px;
		-webkit-animation-timing-function: ease-out;
	}
	32% {
		width:149px;
		height:190px;
		-webkit-animation-timing-function: ease-in;
	}
	40% {
		width:178px;
		height:190px;
		-webkit-animation-timing-function: ease-out;
	}
	48% {
		width:214px;
		height:190px;
		-webkit-animation-timing-function: ease-in;
	}	
	56% {
		width:244px;
		height:190px;
		-webkit-animation-timing-function: ease-in;
	}
	100% {
		width:244px;
		height:190px;
		-webkit-animation-timing-function: ease-in;
	}
}

@-moz-keyframes traiettoria_pigna {
	0% {
		width:0px;
		height:0px;
		-moz-animation-timing-function: ease-in;
	}
	8% {
		width:22px;
		height:190px;
		-moz-animation-timing-function: ease-out;
	}
	16% {
		width:60px;
		height:190px;
		-moz-animation-timing-function: ease-in;
	}
	24% {
		width:99px;
		height:190px;
		-moz-animation-timing-function: ease-out;
	}
	32% {
		width:149px;
		height:190px;
		-moz-animation-timing-function: ease-in;
	}
	40% {
		width:178px;
		height:190px;
		-moz-animation-timing-function: ease-out;
	}
	48% {
		width:214px;
		height:190px;
		-moz-animation-timing-function: ease-in;
	}	
	56% {
		width:244px;
		height:190px;
		-moz-animation-timing-function: ease-in;
	}
	100% {
		width:244px;
		height:190px;
		-moz-animation-timing-function: ease-in;
	}

}
@-ms-keyframes traiettoria_pigna {
	0% {
		width:0px;
		height:0px;
		-ms-animation-timing-function: ease-in;
	}
	8% {
		width:22px;
		height:190px;
		-ms-animation-timing-function: ease-out;
	}
	16% {
		width:60px;
		height:190px;
		-ms-animation-timing-function: ease-in;
	}
	24% {
		width:99px;
		height:190px;
		-ms-animation-timing-function: ease-out;
	}
	32% {
		width:149px;
		height:190px;
		-ms-animation-timing-function: ease-in;
	}
	40% {
		width:178px;
		height:190px;
		-ms-animation-timing-function: ease-out;
	}
	48% {
		width:214px;
		height:190px;
		-ms-animation-timing-function: ease-in;
	}	
	56% {
		width:244px;
		height:190px;
		-ms-animation-timing-function: ease-in;
	}
	100% {
		width:244px;
		height:190px;
		-ms-animation-timing-function: ease-in;
	}

}

@-o-keyframes traiettoria_pigna {
	0% {
		width:0px;
		height:0px;
		-o-animation-timing-function: ease-in;
	}
	8% {
		width:22px;
		height:190px;
		-o-animation-timing-function: ease-out;
	}
	16% {
		width:60px;
		height:190px;
		-o-animation-timing-function: ease-in;
	}
	24% {
		width:99px;
		height:190px;
		-o-animation-timing-function: ease-out;
	}
	32% {
		width:149px;
		height:190px;
		-o-animation-timing-function: ease-in;
	}
	40% {
		width:178px;
		height:190px;
		-o-animation-timing-function: ease-out;
	}
	48% {
		width:214px;
		height:190px;
		-o-animation-timing-function: ease-in;
	}	
	56% {
		width:244px;
		height:190px;
		-o-animation-timing-function: ease-in;
	}
	100% {
		width:244px;
		height:190px;
		-o-animation-timing-function: ease-in;
	}

}


@keyframes traiettoria_pigna {
	0% {
		width:0px;
		height:0px;
		animation-timing-function: ease-in;
	}
	8% {
		width:22px;
		height:190px;
		animation-timing-function: ease-out;
	}
	16% {
		width:60px;
		height:190px;
		animation-timing-function: ease-in;
	}
	24% {
		width:99px;
		height:190px;
		animation-timing-function: ease-out;
	}
	32% {
		width:149px;
		height:190px;
		animation-timing-function: ease-in;
	}
	40% {
		width:178px;
		height:190px;
		animation-timing-function: ease-out;
	}
	48% {
		width:214px;
		height:190px;
		animation-timing-function: ease-in;
	}	
	56% {
		width:244px;
		height:190px;
		animation-timing-function: ease-in;
	}
	100% {
		width:244px;
		height:190px;
		animation-timing-function: ease-in;
	}

}


#pino_container {
  position: absolute;
	width: 488px;
	height: 288px;
	top:220px;
	left:488px;
	z-index:10;
}

#pigna { 
	z-index: 3;
	width: 26px;
	height: 26px;
	position: absolute;
	top: 66px;
	left: 236px;
	background-size:100%;
	background-repeat:no-repeat;
	background-image:url(../img_animazioni/pino_reflect/ghianda.png);
	-webkit-animation: bounce 5s infinite;
	-moz-animation: bounce 5s infinite;
	-ms-animation: bounce 5s infinite;
	-o-animation: bounce 5s infinite;
	animation: bounce 5s infinite;
	z-index:5;
}

#albero {
width:290px;
height:285px;
position:relative;
top:0px;
left:0px;
background-image:url(../img_animazioni/pino_reflect/pino.png);
background-size:100%;
background-repeat:no-repeat;
z-index:10;
}

#ombra {
	width:280px;
	height:220px;
	background-color:#dabe89;
	position:absolute;
	z-index:0;
	top:64px;
	left:34px;
	transform: skew(15deg); 
	-webkit-transform: skew(15deg);
	-moz-transform: skew(15deg);
	-o-transform: skew(15deg);
	-ms: skew(15deg);
	opacity:0.4;
	-webkit-opacity:0.4;
	-moz-opacity:0.4;
	-o-opacity:0.4;
	-ms-opacity:0.4;
}

#traiettoria_pigna {
	width:0px;
	height:0px;
	background-image:url(../img_animazioni/pino_reflect/traiettoria.png);
	background-repeat:no-repeat;
	position:absolute;
	top:99px;
	left:235px;
	z-index:3;
	overflow:hidden;
	-webkit-animation: traiettoria_pigna 5s infinite;
	-moz-animation: traiettoria_pigna 5s infinite;
	-ms-animation: traiettoria_pigna 5s infinite;
	-o-animation: traiettoria_pigna 5s infinite;
	animation: traiettoria_pigna 5s infinite;
}
