html {
		overflow: hidden;
		touch-action: none;
		content-zooming: none;
}

body {
		position: absolute;
		overflow: hidden;
		background: url('../assets/.jpg') no-repeat center center fixed;
		width: 100%;
		height: 100%;
	  	-webkit-background-size: cover;
	  	-moz-background-size: cover;
	  	-o-background-size: cover;
	  	background-size: cover;
	  	margin: auto;
	    top: 0; left: 0; bottom: 0; right: 0;
}

canvas {
		width: 100%;
		height: 100%;
		background: transparent;
		position: absolute;
		cursor: none;
		z-index: 100;
}

#backscreen {
		position: absolute;
		margin: 0;
		padding: 0;
		width: 100%;
		height: 100%;
		background: transparent;
		background-image: url('../assets/.gif');
	    background-repeat: repeat;
		background-position: left top;
		opacity: 1;
		z-index: 20;
}

#scene {
	position: absolute;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	background: url('../assets/scene.png') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	margin: auto;
	top: 0; left: 0; bottom: 0; right: 0;
	z-index: 30;
}

#headass {
    position: absolute;
    width:324px;
    height:539px;
    bottom: 20px;
    right: 20%;
    background: transparent url('../assets/headass.png') no-repeat center center;
    background-size: contain;
    z-index: 25;
		-webkit-animation-name: rotate;
		-webkit-animation-duration:4s;
		-webkit-animation-iteration-count:infinite;
		-webkit-animation-timing-function:linear;
		-moz-animation-name: rotate;
		-moz-animation-duration:4s;
		-moz-animation-iteration-count:infinite;
		-moz-animation-timing-function:linear;
}

#hamburger {
    position: absolute;
    width:278px;
    height:301px;
    bottom: -10px;
    left: 20%;
    background: transparent url('../assets/hamburger.gif') no-repeat center center;
    background-size: contain;
    z-index: 35;
}

#rainbowrotate {
    position: absolute;
    width:500px;
    height:500px;
    bottom: -200px;
    right: 15%;
    background: transparent url('../assets/rainbowrotate.gif') no-repeat center center;
    background-size: contain;
    z-index: 50;
		-webkit-animation-name: rotate2;
		-webkit-animation-duration:8s;
		-webkit-animation-iteration-count:infinite;
		-webkit-animation-timing-function:linear;
		-moz-animation-name: rotate2;
		-moz-animation-duration:8s;
		-moz-animation-iteration-count:infinite;
		-moz-animation-timing-function:linear;
}

#ball {
    position: absolute;
    width:203px;
    height:203px;
    top: 50px;
    left: 25%;
    background: transparent url('../assets/globe.gif') no-repeat center center;
    background-size: contain;
    z-index: 5;
		-webkit-animation-name: rotate;
		-webkit-animation-duration:8s;
		-webkit-animation-iteration-count:infinite;
		-webkit-animation-timing-function:linear;
		-moz-animation-name: rotate;
		-moz-animation-duration:8s;
		-moz-animation-iteration-count:infinite;
		-moz-animation-timing-function:linear;
}

#code {
    position: absolute;
    width:256px;
    height:256px;
    bottom: 20px;
    left: 45%;
    background: transparent url('../assets/code.gif') no-repeat center center;
    background-size: contain;
    z-index: 55;
		-webkit-animation-name: rotate2;
		-webkit-animation-duration:8s;
		-webkit-animation-iteration-count:infinite;
		-webkit-animation-timing-function:linear;
		-moz-animation-name: rotate;
		-moz-animation-duration:8s;
		-moz-animation-iteration-count:infinite;
		-moz-animation-timing-function:linear;
}

#rick {
    position: absolute;
    width:510px;
    height:530px;
    bottom: -100px;
    left: 10%;
    background: transparent url('../assets/rick.png') no-repeat center center;
    background-size: contain;
    z-index: 10;
		-webkit-animation-name: rotate2;
		-webkit-animation-duration:2s;
		-webkit-animation-iteration-count:infinite;
		-webkit-animation-timing-function:linear;
		-moz-animation-name: rotate2;
		-moz-animation-duration:2s;
		-moz-animation-iteration-count:infinite;
		-moz-animation-timing-function:linear;
}

@-webkit-keyframes rotate {
  from {-webkit-transform:rotate(0deg);}
  to {  -webkit-transform:rotate(360deg);}
}

@-moz-keyframes rotate {
  from {-moz-transform:rotate(0deg);}
  to {  -moz-transform:rotate(360deg);}
}

@-webkit-keyframes rotate2 {
  from {-webkit-transform:rotate(0deg);}
  to {  -webkit-transform:rotate(-360deg);}
}

@-moz-keyframes rotate2 {
  from {-moz-transform:rotate(0deg);}
  to {  -moz-transform:rotate(-360deg);}
}

/* Change Background Image Based on Orientation */

@media all and (orientation:landscape) {



}

@media all and (orientation:portrait) {

	#scene {
		position: absolute;
		margin: 0;
		padding: 0;
		width: 100%;
		height: 100%;
		background: url('../assets/scene-vertical.png') no-repeat center center fixed;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
		margin: auto;
		top: 0; left: 0; bottom: 0; right: 0;
		z-index: 30;
	}

	#headass {
	    position: absolute;
	    width:162px;
	    height:270px;
	    bottom: 150px;
	    right: 0%;
	    background: transparent url('../assets/headass.png') no-repeat center center;
	    background-size: contain;
	    z-index: 25;
			-webkit-animation-name: rotate;
			-webkit-animation-duration:4s;
			-webkit-animation-iteration-count:infinite;
			-webkit-animation-timing-function:linear;
			-moz-animation-name: rotate;
			-moz-animation-duration:4s;
			-moz-animation-iteration-count:infinite;
			-moz-animation-timing-function:linear;
	}

	#hamburger {
	    position: absolute;
	    width:139px;
	    height:150px;
	    bottom: -10px;
	    left: 0%;
	    background: transparent url('../assets/hamburger.gif') no-repeat center center;
	    background-size: contain;
	    z-index: 35;
	}

	#rainbowrotate {
	    position: absolute;
	    width:250px;
	    height:250px;
	    bottom: -50px;
	    right: -40px;
	    background: transparent url('../assets/rainbowrotate.gif') no-repeat center center;
	    background-size: contain;
	    z-index: 50;
			-webkit-animation-name: rotate2;
			-webkit-animation-duration:8s;
			-webkit-animation-iteration-count:infinite;
			-webkit-animation-timing-function:linear;
			-moz-animation-name: rotate2;
			-moz-animation-duration:8s;
			-moz-animation-iteration-count:infinite;
			-moz-animation-timing-function:linear;
	}

	#ball {
	    position: absolute;
	    width:100px;
	    height:100px;
	    top: 45%;
	    left: 20%;
	    background: transparent url('../assets/globe.gif') no-repeat center center;
	    background-size: contain;
	    z-index: 5;
			-webkit-animation-name: rotate;
			-webkit-animation-duration:8s;
			-webkit-animation-iteration-count:infinite;
			-webkit-animation-timing-function:linear;
			-moz-animation-name: rotate;
			-moz-animation-duration:8s;
			-moz-animation-iteration-count:infinite;
			-moz-animation-timing-function:linear;
	}

	#code {
	    position: absolute;
	    width:128px;
	    height:128px;
	    bottom: 20px;
	    left: 45%;
	    background: transparent url('../assets/code.gif') no-repeat center center;
	    background-size: contain;
	    z-index: 55;
			-webkit-animation-name: rotate2;
			-webkit-animation-duration:8s;
			-webkit-animation-iteration-count:infinite;
			-webkit-animation-timing-function:linear;
			-moz-animation-name: rotate;
			-moz-animation-duration:8s;
			-moz-animation-iteration-count:infinite;
			-moz-animation-timing-function:linear;
	}

	#rick {
	    position: absolute;
	    width:255px;
	    height:265px;
	    bottom: 20px;
	    left: -82px;
	    background: transparent url('../assets/rick.png') no-repeat center center;
	    background-size: contain;
	    z-index: 10;
			-webkit-animation-name: rotate2;
			-webkit-animation-duration:2s;
			-webkit-animation-iteration-count:infinite;
			-webkit-animation-timing-function:linear;
			-moz-animation-name: rotate2;
			-moz-animation-duration:2s;
			-moz-animation-iteration-count:infinite;
			-moz-animation-timing-function:linear;
	}

}
