body, div, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, img, form, fieldset, input, textarea, blockquote {
	margin: 0; padding: 0; border: 0;
}
body {
  font-family : sans-serif, tahoma;
  overflow : hidden;
  font-size: 13px;
}
#friskyGame{
	display: block;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	position: relative;
}
#sky{
	display: block;
	position: absolute;
	width: 100%;
	height: 25vw;
	background: url('/images/nebo.png') no-repeat center top / cover;	
}
#sun{
	position: absolute;
	top: 15%;
	left: 5%;
	width: 10vh;
	height: 10vh;
	background: url('/images/sunce.png') no-repeat center top / contain;
}
#cloud{
	position: absolute;
	top: 15%;
	right: 15%;
	width: 10vh;
	height: 10vh;
	background: url('/images/oblak.png') no-repeat center top / contain;
}
#mountain{
	display: block;
	position: absolute;
	width: 100%;
	top: 13vw;
	height: 15vw;
	background: url('/images/planina.png') no-repeat center top / contain;	
	z-index: 2;
}
#hill{
	display: block;
	position: absolute;
	width: 100%;
	top: 18vw;
	height: 20vw;
	background: url('/images/brdo.png') no-repeat center top / cover;	
	z-index: 2;
}
#earth{
	display: block;
	position: absolute;
	width: 100%;
	top: 30vw;
	height: 20vw;
	background: url('/images/zemlja.png') no-repeat center top / cover;	
	z-index: 2;
}
#three{
	position: absolute;
	bottom: 25%;
	right: 5%;
	width: 15vw;
	height: 20vw;
	background: url('/images/drvo.png') no-repeat center top / contain;
}
#bush{
	position: absolute;
	bottom: 35%;
	left: 5%;
	width: 12vw;
	height: 12vw;
	background: url('/images/zbun.png') no-repeat center top / contain;
}
.cow{
	background: url('/images/cow.png') no-repeat center top / contain;
	display: block;
	position: absolute;
	left: 30%;
	bottom: 100%;
	width: 100%;
	height: 110%;
}
.pig{
	background: url('/images/pig.png') no-repeat center top / contain;
	display: block;
	position: absolute;
	left: 30%;
	bottom: 100%;
	width: 100%;
	height: 110%;
}
.chicken{
	background: url('/images/chicken.png') no-repeat center top / contain;
	display: block;
	position: absolute;
	left: 30%;
	bottom: 100%;
	width: 100%;
	height: 110%;
}
#frisky1{
	width: 20%;
	height: 22%;
	bottom: 35%;
	left: 11%;
	animation-delay: 0.6s;
	animation-duration: 1.5s;
}
#frisky2{
	width: 20%;
	height: 22%;
	bottom: 28%;
	left: 88%;
	animation-delay: 0.4s;
	animation-duration: 2s;
	display: none;
}
#frisky3{
	width: 20%;
	height: 22%;
	bottom: 35%;
	left: 28%;
	animation-delay: 0.2s;
	display: none;
}
#frisky4{
	width: 30%;
	height: 33%;
	bottom: 93%;
	z-index: -1;
	animation-delay: 0.4s;
	animation-duration: 1.5s;
	display: none;
}
#frisky5{
	width: 30%;
	height: 33%;
	bottom: 55%;
	left: 55%;
	z-index: -1;
	animation-delay: 0.6s;
	animation-duration: 2s;
	display: none;
}
#frisky6{
	width: 40%;
	height: 44%;
	bottom: 95%;
	left: 37%;
	z-index: -1;
}
#frisky7{
	width: 40%;
	height: 44%;
	bottom: 32%;
	left: 40%;
	z-index: -1;
	animation-delay: 0.7s;
	animation-duration: 1.8s;
}
#frisky8{
	width: 20%;
	height: 22%;
	bottom: 40%;
	left: 60%;
	z-index: -1;
	animation-delay: 0.5s;
	animation-duration: 1.4s;
	display: none;
}
.friskyscene{
	animation-name: hideshowscene;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
.friskyobject{
	animation-name: hideshowobject;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
.friskycatched{
	position: relative;
	bottom: 0 !important;
	left: 0 !important;
	width: 25% !important;
	height: 28% !important;
	display: inline-block !important;
	animation-name: catched;
	animation-duration: 1s;
	animation-iteration-count: infinite;
	z-index: -1;
	vertical-align: middle;
}
.friskyrotateright{
	animation-name: rotaterightshow;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
.friskyrotateleft{
	animation-name: rotateleftshow;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
#cage{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 15vw;
	height: 15vw;
	display: block;
	z-index: 5;
}
#cageInner{
	position: absolute;
	top: 46%;
	left: 20%;
	width: 60%;
	height: 45%;
}
#kavez{
	position: absolute;
	top: 0;
	left:0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.friskyanimal{
	display: none;
        cursor: grab;
	cursor: -webkit-grab;
}
@keyframes hideshowscene {
    0%   {bottom: 0; z-index: 0}
    50%  {opacity: 1; z-index: 555}
    100% {}
}
@keyframes rotaterightshow {
    0%   {}
    50%  {transform: rotateZ(70deg); padding-left: 70%}
    100% {}
}
@keyframes rotateleftshow {
    0%   {}
    50%  {transform: rotateZ(-90deg); left: -30%}
    100% {}
}
@keyframes hideshowobject {
    0%   {bottom: 50%; z-index: -5}
    50%  {opacity: 1;}
    100% {}
}
@keyframes catched {
    0%   {transform: rotatez(15deg);}
    33%  {transform: rotatez(0deg);}
    66%  {transform: rotatez(-15deg);}
    100% {transform: rotatez(15deg);}
}
@keyframes enlargeShrink {
    0%   {}
    50%  {font-size: 25px;}
    100% {}
}
@keyframes shakeCached {
  10%, 90% {
    transform: rotateZ(5deg);
  }
  
  20%, 80% {
    transform: rotateZ(-5deg);
  }

  30%, 50%, 70% {
    transform: rotateZ(-5deg);
  }

  40%, 60% {
    transform: rotateZ(5deg);
  }
}
.blured{
	-webkit-filter:blur(4px);
    filter:blur(4px);
}
#thankYouForPlaying{
	position: fixed;
	top: 15vh;
	left: 30vw;
	width: 40vw;
	text-align: center;
	z-index: 999999999999999;
	display: none;
	background: rgba(255, 255, 255, 0.7);
	border-radius: 10px;
	text-shadow: 0px 0px 4px #813300;
	padding: 10px 0;
}
#thankYouForPlaying h1{
	font-size: 50px;
	color: #fff;
	margin: 20px 0;
}
#thankYouForPlaying img{
	display: block;
	width: 60%;
	margin: 10px auto;
}
#thankYouForPlaying h2{
	font-size: 30px;
	color: #fff;
	width: 60%;
	display: block;
	margin: 10vh auto;
}
#GameScoreCounter{
	position: fixed;
	top: 10px;
	right: 10px;
	font-size: 0;
	z-index: 1;
}

#GameScoreCounter #score{
	position: relative;
	font-size: 20px;
	display: inline-block;
	z-index: 3;
	cursor: pointer;
	color: #fff;
	background: #604117;
	text-shadow: 1px 1px 2px #af6f29;
	width: calc(50% - 20px);
	padding: 10px;
	text-align: center;
}
#score #curScore{
	font-size: 30px;
	display: block;
}
#GameScoreCounter #pointsMultiplier{
	position: relative;
	font-size: 20px;
	display: inline-block;
	z-index: 3;
	cursor: pointer;
	color: #604117;
	text-shadow: 1px 1px 2px #af6f29;
	width: calc(50% - 20px);
	padding: 10px;
	text-align: center;
	background: #fff;
}
#pointsMultiplier span{
	font-size: 30px;
	display: block;
}
.enlargeShrink{
	animation-name: enlargeShrink;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
#finalscore{
	font-size: 30px;
	color: #9e3f00;
	padding: 40px;
	animation-name: enlargeShrink;
	animation-duration: 1s;
	animation-iteration-count: infinite;
	min-height: 40px;
}
#retry{
	cursor: pointer;
	padding: 10px;
	background: #fff;
	width: 20%;
	margin: 10px auto;
	color: #9e3f00;
	font-weight: 900;
	border: 1px solid;
	border-radius: 5px;
	transition: 0.5s ease;
}
#retry:hover{
	background: #9e3f00;
	color: #fff;
}
.friskycatchedAnim{
	position: fixed;
	top: 20%;
	left: 40%!important;
	width: 20%!important;
	display: block!important;
	animation-delay: 0s!important;
	animation-name: shakeCached!important;
	animation-duration: 1s !important;
	animation-iteration-count: infinite;
}
.friskycatchedAnim:after{
	content: 'CATCHED';
	position: absolute;
	bottom: 0;
	left: 0;
	font-size: 50px;
	display: block;
	text-align: center;
	width: 100%;
	color: #604117;
	text-shadow: 1px 1px 2px #af6f29;
}
#HowToPlay{
	position: fixed;
	top: 20vh;
	left: 40vw;
	width: 20vw;
	z-index: 99;
	background: rgba(255, 255, 255, 0.7);
	padding: 20px;
	border-radius: 20px;
	color: #813300;
	text-align: center;
	display: none;
}
#HowToPlay h2{
	font-size: 20pt;
	margin: 10px;
}
#HowToPlay p{
	font-size: 12pt;
	margin: 20px;
}
#HowToPlay span{
	border: 1px solid;
	padding: 20px 40px;
	position: relative;
	margin: 20px;
	display: inline-block;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.5s ease;
}
#HowToPlay span:hover{
	background: #813300;
	color: #fff;
}
#HowToPlay:before{
	content: '';
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
}
#BeforeStart{
	position: fixed;
	top: 0;
	left: 30vw;
	width: 40vw;
	background: rgba(255, 255, 255, 0.7);
	height: 100vh;
	text-align: center;
	color: #813300;
	line-height: 20vh;
	z-index: 999;
}
#BeforeStart:before{
	content: '';
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
}
#BeforeStart img{
	width: 60%;
	display: block;
	margin: 10% auto;
}
#BeforeStart span{
	padding: 20px 40px;
	display: inline-block;
	border-radius: 5px;
	border: 1px solid;
	margin: 20px;
	transition: all 0.5s ease;
	cursor: pointer;
	line-height: 20pt;
}
#BeforeStart span:hover{
	background: #813300;
	color: #fff;
}
.AboutFrisky{
	width: 80%;
	margin: 10% auto;
	font-size: 20pt;
	line-height: 30pt;
}
#LandscapeInfo{
	display: none;
}
#Socials{
	display: block;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 999999;
	width: 100%;
	list-style: none;
	background: #fff;
	text-align: right;
	font-size: 0;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
}
#Socials li{
	display: inline-block;
	position: relative;
	cursor: pointer;
	transition: 0.5s ease;
}
#Socials li:hover{
	transform: scale(1.2);
	z-index: 2;
}
#Socials li a{
	font-size: 20px;
	display: block;
	text-align: center;
	color: #fff;
	width: 40px;
	line-height: 40px;
	height: 40px;
	padding: 2px;
}
#Socials .facebook{
	background: #3e599a;
}
#Socials .twitter{
	background: #4b8cbe;
}
#Socials .google-plus{
	background: #b8382e;
}
@media only screen and (orientation : portrait){
	.friskycatchedAnim:after{
		font-size: 40px;
	}
	.AboutFrisky{
		margin: 5% auto;
		font-size: 16pt;
	}
	#thankYouForPlaying{
		width: 100%;
		left: 0;
		top: 0;
		border-radius: 0;
		height: 100vh;
	}
	.friskycatchedAnim{
		width: 80%!important;
		left: 10%!important;
		top: 20%!important;
		height: 40%!important;
	}
	#BeforeStart{
		width: 100%;
		left: 0;
	}
	#HowToPlay{
		left: 0;
		top: 0;
		width: calc(100% - 40px);
		border-radius: 0;
		height: 100vh;
	}
	#finalscore{
		min-height: 100px;
		font-size: 20px;
	}
	#retry{
		width: 50%
	}
	#pointsMultiplier, #score{
		font-size: 20px;
	}
	#thankYouForPlaying h1{
	font-size: 20px;
	margin: 5vh auto;
	}
	#thankYouForPlaying h2{
	font-size: 10px;
	margin: 5vh auto;
	}
	#thankYouForPlaying img{
		margin: 5vh auto;
	}
	#sky{
		height: 74vh;
	}
	#hill{
		height:25vh;
		top: 41vh;
	}
	#mountain{
		top: 38vh;
	}
	#earth{
		top: 55vh;
		height: 45vh;
	}
	#three{
		width: 32vw;
		height: 40vw;
		bottom: 80%;
		right: 15%;
	}
	#bush{
		width: 40vw;
		height: 35vw;
	}
	#frisky1{
	width: 30%;
	height: 33%;
	bottom: 35%;
	left: 5%;
	animation-delay: 0.6s;
}
#frisky2{
	width: 30%;
	height: 33%;
	bottom: 28%;
	left: 80%;
	animation-delay: 0.4s;
}
#frisky3{
	width: 25%;
	height: 28%;
	bottom: 35%;
	left: 28%;
	animation-delay: 0.2s;
}
#cage{
	height: 40vw;
	width: 40vw;

}
}
@media only screen and (orientation : landscape) and (max-width: 1024px){
	#LandscapeInfo{
		position: fixed;
		display: block;
		z-index: 9999;
		background: #fff;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		text-align: center;
		color: #813300;
		padding: 20% 0;
	}
}
