@font-face {
   font-family: Pixeloid;
   src: url(fonts/PixeloidRegular.ttf);
}

*{ margin: 0; padding: 0;}

.text{
   transform: translate(1vh,-5vh);
}

.text:focus,.text:hover{
   color: #fffde6;
}

.aa{
   position: absolute;
   top: 70%;
   left: 50%;
   transform: translate(-50%);
}

a{
   color: #fff;
   text-decoration: none;
}

a:hover{
   color: #faf4ae;
}

ul{
   display: flex;
}

li{
   margin-left: 3vh;
}

body{
   text-align: center;
   color: #fff;
   font-family: Pixeloid;
   overflow: hidden;
   background-color: #66ccff;
}

.scene{
   transform: translate(-50%,-50%);
   left: 50%;
   top: 50%;
   position: absolute;
   z-index: -1;
   display: grid;
   justify-content: center;
   animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
   50%{
      top: 40%;
   }
   100%{
      top: 50%;
   }

}

.cat{
   image-rendering: pixelated;
   width: 5vh;
   transform: translate(250%);
}

.platform{
   image-rendering: pixelated;
   width: 30vh;
}

#clouds{
   position: absolute;
	padding: 20vh 0;
}

/*Time to finalise the cloud shape*/
.cloud {
   z-index: 2;
	width: 20vh; height: 6vh;
	background: #fff;
	
	border-radius: 20vh;
	-moz-border-radius: 20vh;
	-webkit-border-radius: 20vh;
	
	position: relative; 
}

.cloud:before, .cloud:after {
	content: '';
	position: absolute; 
	background: #fff;
	width: 20vh; height: 8vh;
	position: absolute; top: -15px; left: 10px;
	
	border-radius: 10vh;
	-moz-border-radius: 10vh;
	-webkit-border-radius: 10vh;
	
	-webkit-transform: rotate(30deg);
	transform: rotate(30deg);
	-moz-transform: rotate(30deg);
}

.cloud:after {
	width: 12vh; height: 12vh;
	top: -55px; left: auto; right: 15px;
}

/*Time to animate*/
.x1 {
	-webkit-animation: moveclouds 15s linear infinite;
	-moz-animation: moveclouds 15s linear infinite;
	-o-animation: moveclouds 15s linear infinite;
}

/*variable speed, opacity, and position of clouds for realistic effect*/
.x2 {
	left: 200px;
	
	-webkit-transform: scale(0.6);
	-moz-transform: scale(0.6);
	transform: scale(0.6);
	opacity: 0.6;
	-webkit-animation: moveclouds 25s linear infinite;
	-moz-animation: moveclouds 25s linear infinite;
	-o-animation: moveclouds 25s linear infinite;
}

.x3 {
	left: -250px; top: -200px;
	
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	transform: scale(0.8);
	opacity: 0.8;
	
	-webkit-animation: moveclouds 20s linear infinite;
	-moz-animation: moveclouds 20s linear infinite;
	-o-animation: moveclouds 20s linear infinite;
}

.x4 {
	left: 470px; top: -250px;
	
	-webkit-transform: scale(0.75);
	-moz-transform: scale(0.75);
	transform: scale(0.75);
	opacity: 0.75;
	
	-webkit-animation: moveclouds 18s linear infinite;
	-moz-animation: moveclouds 18s linear infinite;
	-o-animation: moveclouds 18s linear infinite;
}

.x5 {
	left: -150px; top: -150px;
	
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	transform: scale(0.8);
	opacity: 0.8;
	
	-webkit-animation: moveclouds 20s linear infinite;
	-moz-animation: moveclouds 20s linear infinite;
	-o-animation: moveclouds 20s linear infinite;
}

@-webkit-keyframes moveclouds {
	0% {margin-left: 1000px;}
	100% {margin-left: -1000px;}
}
@-moz-keyframes moveclouds {
	0% {margin-left: 1000px;}
	100% {margin-left: -1000px;}
}
@-o-keyframes moveclouds {
	0% {margin-left: 1000px;}
	100% {margin-left: -1000px;}
}