Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                .dog-patience-container-bg-colour
	.dog-patience-container
		.stars
			- for (var i = 1; i <= 20; i++)
				.star
		.shooting-container
			.shooting
		.moon-container
			.moon-glow-container
				.moon-glow-3
				.moon-glow-2
				.moon-glow-1
			.center-moon
				.moon-scars
					.moon-scar-1
					.moon-scar-2
					.moon-scar-3
		.clouds-container
			.first-cloud
				.cloud-1-1.cloud-texture
				.cloud-1-2.cloud-texture
				.cloud-1-3.cloud-texture
				.cloud-1-4.cloud-texture
				.cloud-1-5.cloud-texture
			.second-cloud
				.cloud-2-1.cloud-texture
				.cloud-2-2.cloud-texture
				.cloud-2-3.cloud-texture
				.cloud-2-4.cloud-texture
				.cloud-2-5.cloud-texture
		.hills
			.hill-one
			.hill-two
			.hill-three
		.back-hill
		.fences-container
			.fence-structure-1
			.fence-structure-2
			.fences
				- for (var i = 1; i <= 10; i++)
					.fence
						.fence-top
						.fence-shadow-top
						.fence-shadow-side
		.dog-kennel
			.dog-kennel-right-roof
				.kennel-right-wall
			.dog-kennel-left-wall
			.dog-kennel-right-wall
				.dog-kennel-door
			.dog-kennel-left-roof
		.dog-container
			.front-left-leg
				.front-left-foot
			.dog-back-torso
			.dog-head-front
				.ears
					.left-ear.ear
					.right-ear.ear
				.eyes
					.left-eye.eye
					.right-eye.eye
				.dog-mouth
					.dog-mouth-base
						.dog-nose-black
				.dog-collar
			.dog-back-tail
				.tail-curve
				.tail-curve-2
				.tail-curve-3
				.tail-tip-end
			.back-leg
				.back-leg-foot
			.front-right-leg
				.front-right-foot
		.bottom-ground
	
              
            
!

CSS

              
                
$noise: url(data:image/png;base64,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);

$bgColour: #2b333f;
$moonBGColour: #d2e8e6;
$moonScarBGColour: #cadad6;
$dogHeadMoveDuration: 2s;

// Fence nth-child mixin
@mixin first($num) {
  @if $num == 1 {
    &:first-child {
      @content;
    }
  } @else {
    &:nth-child(-n + #{$num}) {
      @content;
    }
  }
}


body {
	padding: 0;
	margin: 0;
}

.dog-patience-container-bg-colour {
	position: absolute;
	height: 100vh;
	width: 100%;
	background-color: $bgColour;
	overflow: hidden;
}
.dog-patience-container {
    position: relative;
    height: 80%;
    width: 90%;
    max-width: 820px;
    top: 0%;
    padding-top: 5%;
    margin: auto;
	 transform: scale(1);
	 transition: all 1s;
	@media screen and (max-width: 480px) {
		transform : scale(0.8);
		width: 100%;
		min-width: 300px;
		padding-top: 0%;
	}
}
.hills {
	display: block;
	@media only screen and (max-width: 480px) {
		display: none;
	}
}
.hill-one {
	position: absolute;
	height: 239px;
	width: 20px;
	left: 120px;
	bottom: 183px;
	background-color: #1f2731;
	border-top-left-radius:100px;
	border-top-right-radius:100px;
	transform: perspective(164px) rotateX(78deg) translate3d(0px, 18px, -42px);
	
}
.hill-two {
	position: absolute;
	height: 255px;
	width: 28px;
	left: 229px;
	bottom: 259px;
	background-color: #1f2731;
	border-top-left-radius: 100px;
	border-top-right-radius: 100px;
	transform: perspective(164px) rotateX(78deg) translate3d(0px, 18px, -42px);
}
.hill-three {
	position: absolute;
	height: 246px;
	width: 28px;
	left: 334px;
	bottom: 211px;
	background-color: #1f2731;
	border-top-left-radius: 100px;
	border-top-right-radius: 100px;
	transform: perspective(164px) rotateX(78deg) translate3d(0px, 18px, -42px);
	@media only screen and (max-width: 920px) {
		display: none;
	}
}
.back-hill {
	position: absolute;
	height: 250px;
	width: 400px;
	background-color: #1f2731;
	bottom: 0%;
	right: 5%;
	border-top-left-radius: 500px;
	border-top-right-radius: 500px;
	@media only screen and (max-width: 570px) {
	  display: none;
	}
}


.fences-container {
	position: absolute;
	height: 220px;
	bottom: 0px;
	width: 80%;
	bottom: 0px;
	left: 10%;
}
.fence-structure-1 {
	position: absolute;
	height: 15px;
	width: 100%;
	background-color: #353d4b;
	border-left: 8px solid #222a36;
	bottom: 50px;
}
.fence-structure-2 {
	position: absolute;
	height: 15px;
	width: 100%;
	background-color: #353d4b;
	border-left: 8px solid #222a36;
	bottom: 120px;
}
.fences {
	position: absolute;
	height: 100%;
	width: 100%;
}

.fence {
	position: relative;
	height: 90%;
	top: 10%;
	width: 26px;
	margin-left: 36px;
	float: left;
	background-color: #353d4b;
	display: block;
	@mixin fenceOptimise($children, $width){
		@media only screen and (max-width: $width) {
			@include first($children){ 
				display: none 
			};
		}
	}
	@include fenceOptimise(1, 862px);
	@include fenceOptimise(2, 774px);
	@include fenceOptimise(3, 688px);
	@include fenceOptimise(4, 603px);
	@include fenceOptimise(5, 516px);
	@include fenceOptimise(6, 484px);
	@include fenceOptimise(7, 320px);
}
.fence-top {
	position: absolute;
	width: 0; 
	height: 0; 
	border-left: 12px solid transparent;
	border-right: 14px solid transparent;
	border-bottom: 15px solid #353d4b;
	top: -15px;
}
.fence-shadow-top {
	position: relative;
	width: 5px;
	height: 23px;
	background-color: #1f2731;
	top: -18px;
	left: 1px;
	transform:rotate(40deg);
	border-bottom-left-radius: 36px;
	z-index: 0;
}
.fence-shadow-side {
	position: absolute;
	width: 6px;
	height: 192px;
	background-color: #1f2731;
	top: -2px;
	left: -4px;
	z-index: -2;
}
// Dog kennel container
.dog-kennel {
	position: absolute;
	bottom: 0%;
	left: 27%;
	height: 271px;
	width: 344px;
	transform: scale(1);
	transition-duration: all 1s;
	@media only screen and (max-width: 560px) {
		position: absolute;
		transform: scale(0.8);
		bottom: -28px;
		left: 1%;
	}
}
.dog-kennel-left-wall {
	position: absolute;
	bottom: 0%;
	height: 83%;
	width: 180px;
	background-color: #622224;	
	background-image: $noise;
	border-top-left-radius: 5px;	
}
.dog-kennel-right-wall {
	position: absolute;
	height: 49%;
	width: 165px;
	right: -1px;
	bottom: 0%;
	background-color: #b83826;
	background-image: $noise;
}
.dog-kennel-door {
	position: relative;
	height: 81%;
	width: 70%;
	top: 6%;
	margin: auto;
	background-color: #642220;
	background-image: $noise;
	border-radius:100%;
	box-shadow: -14px 0px 0px #5e2c2d inset;
}

.dog-kennel-left-roof {
	position: absolute;
	height: 141px;
	width: 253px;
	top: 0px;
	left: -16px;
	background-color: #1e4857;
	background-image: $noise;
	transform: skewx(-33deg);
	border-right: 8px solid #4d4a55;
	border-bottom: 8px solid #4d4a55;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}

.dog-kennel-right-roof {
	position: absolute;
	height: 140px;
	width: 292px;
	top: 0px;
	left: 37px;
	background-color: #1a3140;
	background-image: $noise;
	transform: skewx(30deg);
	border-top-left-radius: 100%;
	border-top-left-radius: 100%;
	border-bottom-right-radius: 12px;
	border-right: 8px solid #4d4a55;
	border-top: 8px solid #4d4a55;
}
.kennel-right-wall {
	position: absolute;
	height: 140px;
	width: 240px;
	top: 0px;
	left: 32px;
	background-color: #b83826;
	background-image: $noise;
	transform: skewx(0deg);
	border-bottom-right-radius: 16px;
}


// Dog
.dog-container {
	position: absolute;
	height: 253px;
	width: 195px;
	bottom: -10px;
	left: 21%;
	transform: scale(0.9);
}

.dog-head-front {
	position: absolute;
	height: 100%;
	width: 100px;
	background-color: #ff9a29;
	right: 0px;
	bottom: 0px;
	border-top-right-radius: 60px;
	border-top-left-radius: 60px;
	border-bottom-right-radius: 120px;
	@media only screen and (min-width: 480px) {
		animation: dogHeadSideAnimation, $dogHeadMoveDuration, infinite, forwards;
	}

}
@keyframes dogHeadSideAnimation {
	0% {
		transform: skew(0deg);
		height: 100%;		
	}
	20% {
		@include transform(skew(0deg));
		height: 100%;		
	}
	25% {
		@include transform(skew(2deg));
		height: 98%;		
	}
	30% {
		@include transform(skew(0deg));
		height: 100%;		
	}
	45% {
		@include transform(skew(0deg));
		height: 100%;
	}
	50% {
		@include transform(skew(0deg));
		height: 100%;
	}
	55% {
		@include transform(skew(0deg));
		height: 100%;
	}
	70% {
		@include transform(skew(0deg));
		height: 100%;
	}
	75% {
		@include transform(skew(-2deg));
		height: 98%;		
	}
	80% {
		@include transform(skew(0deg));
		height: 100%;
	}
	100% {
		@include transform(skew(0deg));
		height: 100%;
	}	
}

.dog-mouth-base {
	position: absolute;
	height: 100%;
	width: 65px;
	background-color: #fff7ee;
	right: 45px;
	@include border-top-left-radius(0px);
	@include border-top-right-radius(20px);
	@include border-bottom-left-radius(38px);
	@include border-bottom-right-radius(42px);	
	@media only screen and (min-width: 480px) {
		@include animation-properties((animation: dogHeadMouthAnimation, animation-duration: 2s, animation-iteration-count: infinite, animation-fill-mode: forwards, animation-timing-function: cubic-bezier(1,0,0,1)));
	}
}
@keyframes dogHeadMouthAnimation {
	0% {
		 @include border-top-left-radius(20px);
		 @include border-top-right-radius(20px);
		 @include border-bottom-left-radius(38px);
		 @include border-bottom-right-radius(42px);
		 right: -10px;
	}
	20% {
		 @include border-top-left-radius(20px);
		 @include border-top-right-radius(20px);
		 @include border-bottom-left-radius(38px);
		 @include border-bottom-right-radius(42px);
	}
	25% {
		 width: 64px;
		@include border-top-left-radius(20px);
		@include border-top-right-radius(20px);
		@include border-bottom-left-radius(38px);
		@include border-bottom-right-radius(42px);
	}
	30% {
		 @include border-top-left-radius(20px);
		 @include border-top-right-radius(20px);
		 @include border-bottom-left-radius(42px);
		 @include border-bottom-right-radius(42px);
		 width: 65px;
	}
	45% {
		 @include border-top-left-radius(20px);
		 @include border-top-right-radius(20px);
		 @include border-bottom-left-radius(42px);
		 @include border-bottom-right-radius(42px);
	}
	50% {
		 @include border-top-left-radius(20px);
		 @include border-top-right-radius(20px);
		 @include border-bottom-left-radius(42px);
		 @include border-bottom-right-radius(42px);
		 right: 46px;
	}
	55% {
		 @include border-top-left-radius(20px);
		 @include border-top-right-radius(20px);
		 @include border-bottom-left-radius(42px);
		 @include border-bottom-right-radius(42px);
	}
	70% {
		 @include border-top-left-radius(20px);
		 @include border-top-right-radius(20px);
		 @include border-bottom-left-radius(42px);
		 @include border-bottom-right-radius(42px);
		 width: 64px;
	}
	75% {
		 @include border-top-left-radius(20px);
		 @include border-top-right-radius(20px);
		 @include border-bottom-left-radius(42px);
		 @include border-bottom-right-radius(42px);
	}
	90% {
		 @include border-top-left-radius(20px);
		 @include border-top-right-radius(20px);
		 @include border-bottom-left-radius(42px);
		 @include border-bottom-right-radius(42px);
	}
	100% {
		 @include border-top-left-radius(20px);
		 @include border-top-right-radius(20px);
		 @include border-bottom-left-radius(42px);
		 @include border-bottom-right-radius(42px);
		 right: -10px;
		 width: 65px;
	}
}

.dog-nose-black {
	position: absolute;
	height: 14px;
	width: 17px;
	right: 49px;
	top: 0px;
	background-color: #000;
	@include border-bottom-right-radius(38px);
	@media only screen and (min-width: 480px) {
		@include animation-properties((animation: dogHeadNoseAnimation, animation-duration: 2s, animation-delay: 0s, animation-iteration-count: infinite, animation-fill-mode: forwards, animation-timing-function: cubic-bezier(1,0,0,1)));
	}
}
@keyframes dogHeadNoseAnimation {
	0% {
		width: 17px;
		right: 0%;
		@include border-radius(0%);
		@include border-bottom-left-radius(38px);
		@include border-bottom-right-radius(0px);		
	}
	5% {
		@include border-bottom-left-radius(38px);
		@include border-bottom-right-radius(38px);				
	}
	25% {
		width: 23px;
	}
	30% {
		width: 17px;
	}
	45% {
		@include border-bottom-right-radius(38px);
		@include border-bottom-left-radius(18px);		
	}
	50% {
		right: 79%;
		@include border-radius(0%);
		@include border-bottom-right-radius(38px);
		@include border-bottom-left-radius(0px);		
	}
	65% {
		@include border-radius(0%);
		@include border-bottom-right-radius(18px);
		@include border-bottom-left-radius(18px);		
	}
	95% {
		@include border-radius(0%);
		@include border-bottom-left-radius(38px);
		@include border-bottom-right-radius(0px);
	}
	100% {
		right: -3%;
		@include border-radius(0%);
		@include border-bottom-left-radius(38px);
		@include border-bottom-right-radius(0px);

	}	
}
.dog-collar {
	position: absolute;
	height: 10px;
	width: 100%;
	top: 92px;
	background-color: #c64f3f;
	background-image: $noise;
}
.ears {
	position: absolute;
	width: 100%;
}
.ear {
	position: absolute;
	height: 80px;
	width: 25px;
	top: -18px;
	background-color: #ff9a29;
}
.left-ear {
    left: 0px;
    @include border-top-right-radius(40px);
}
.right-ear {
    right: 0px;
    @include border-top-left-radius(40px);
}
.eyes {
	position: absolute;
	height: 9px;
	width: 100%;
	top: 25px;
	right: 22px;
	@include transform(rotateX(39deg));
	@media only screen and (min-width: 480px) {
		@include animation-properties((animation: eyesAnimation, animation-duration: 2s, animation-delay: 0s, animation-iteration-count: infinite, animation-fill-mode: forwards, animation-timing-function: cubic-bezier(1,0,0,1)));
	}
}

@keyframes eyesAnimation {
		0% {
		 right: -2px;
		}
		50% {
		 right: 22px;
		}
		100% {
		 right: -2px;
		}	
}


.eye {
	position: absolute;
	height: 100%;
	width: 12px;
	background-color: #111;
	@include border-top-left-radius(10px);
	@include border-top-right-radius(10px);	
}
.left-eye {
	left: 33px;
}
.right-eye {
	left: 75px;
}

.dog-mouth {
	position: absolute;
	height: 42px;
	width: 100%;
	top: 44px;
}


.dog-back-torso {
	position: absolute;
	height: 60%;
	width: 100px;
	background-color: #ff9a29;
	right: 70px;
	bottom: 0px;
	@include border-top-left-radius(180px);
	@include transform(skew(-10deg));
}

.dog-back-tail {
    position: absolute;
    height: 114px;
    width: 24.5px;
    background-color: #ff9a29;
    left: 0px;
    bottom: 0px;
}

.tail-curve {
    position: absolute;
    height: 70px;
    width: 12px;
    top: -38px;
    left: -28px;
    border: 22px #ff9a29 solid;
    @include border-radius(0px);
    @include border-top-right-radius(32px);
    @include border-bottom-right-radius(0px);
    @include border-bottom-left-radius(0px);
    @include border-top-left-radius(0px);
    border-left-color: transparent;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-bottom-color: transparent;
    @include transform(skew(0deg) rotate(-1deg) rotateY(1deg) skewY(-26deg));
}

.tail-curve-2 {
    position: absolute;
    height: 9px;
    width: 14px;
    top: -23px;
    left: -27px;
    border: 12px #ff9a29 solid;
    @include border-radius(1000px);
    border-left-color: transparent;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-bottom-color: transparent;
    @include transform(skew(-7deg) rotate(-74deg) rotateY(1deg) skewY(-2deg) scale(2));
	@media only screen and (min-width: 480px) {
		@include animation-properties((animation: tailCurveEndAnimation, animation-duration: 150ms, animation-iteration-count: infinite, animation-fill-mode: forwards));
	}
}
	@keyframes tailCurveEndAnimation {
		0% {
			top: -23px;
		}
		50% {
			top: -27px;
		}
		100% {
			top: -23px;
		}	
	}


.tail-curve-3 {
	position: absolute;
	height: 14px;
	width: 0px;
	top: -34px;
	left: -15px;
	border: 15px #ff9a29 solid;
	@include border-top-right-radius(32px);
	@include border-bottom-right-radius(0px);
	@include border-bottom-left-radius(0px);
	@include border-top-left-radius(0px);
	border-left-color: transparent;
	border-top-color: transparent;
	border-bottom-color: transparent;
	border-bottom-color: transparent;
	@inckude transform(skew(-1deg) rotate(-361deg) rotateY(1deg) skewY(-2deg));
}

.tail-tip-end {
    position: absolute;
    height: 24px;
    width: 20px;
    top: -43px;
    left: -27px;
    background-color: #f1f1f2;
    @include border-top-left-radius(20px);
    @include border-bottom-left-radius(20px);
    @include transform(skew(-2deg) rotate(-12deg));
	@media only screen and (min-width: 480px) {
		@include animation-properties((animation: tailTipEndAnimation, animation-duration: 150ms, animation-iteration-count: infinite, animation-fill-mode: forwards));
	}
}
	@keyframes tailTipEndAnimation {
		0% {
			top: -43px;
		}
		50% {
			top: -48px;
		}
		100% {
			top: -43px;
		}
	}




.back-leg {
    position: absolute;
    height: 41px;
    width: 31px;
    background-color: #ff9a29;
    bottom: 9px;
    left: 41px;
    border: solid 4px #e48121;
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-right-color: transparent;
    @include border-top-right-radius(54px);
    @include transform(skew(11deg) rotate(41deg));
}
.back-leg-foot {
    position: absolute;
    height: 29px;
    width: 46px;
    background-color: #f1f1f1;
    bottom: -9px;
    left: 4px;
    @include border-radius(100%);
    @include transform(skew(-15deg) skewX(18deg) rotate(-49deg));
}

.front-right-leg {
	position: absolute;
	height: 89px;
	width: 32px;
	background-color: #fa9028;
	bottom: 0px;
	right: 39px;
	@include border-top-left-radius(50px);
	@include border-top-right-radius(50px);
}
.front-right-foot {
    position: absolute;
    height: 22px;
    width: 35px;
    background-color: #f1f1f1;
    bottom: 0px;
    left: 4px;
    @include border-radius(100%);
    @include transform(skew(20deg) rotate(-22deg));
}

.front-left-leg {
	position: absolute;
	height: 126px;
	width: 32px;
	background-color: #fa9028;
	bottom: 0px;
	right: 0px;
	@include border-top-left-radius(50px);
	@include border-top-right-radius(50px);
}

.front-left-foot {
    position: absolute;
    height: 22px;
    width: 35px;
    background-color: #f1f1f1;
    bottom: 0px;
    left: 0px;
    @include border-radius(100%);
    @include transform(skew(20deg) rotate(-22deg));
}



// Moon

.moon-container {
	position: absolute;
	height: 330px;
	width: 310px;
	top: 5%;
	right: -7%;
	opacity: 1;
	@include transition-property(opacity);
	@include transition-duration(1s);
	@media only screen and (max-height: 500px) {
		display: none;
	}
}
.center-moon {
	position: absolute;
	height: 160px;
	width: 160px;
	background-image: $noise;
	background-color: $moonBGColour;
	top: 70px;
	left: 80px;
	@include border-radius(100%);
	@include transition-property(top);
	@include transition-duration(1s);
	@media only screen and (max-width: 778px) {
		top: 0px;
	}
	@media only screen and (max-height: 500px) {
		top: 0px;
	}
}
.moon-scars {
	position: absolute;
	height: 120px;
	width: 70px;
	top: 0px;
	left: 10px;
}
.moon-scar-1 {
	position: absolute;
	height: 17px;
	width: 17px;
	background-image: $noise;
	background: $moonScarBGColour;
	top: 23px;
	left: 33px;
	@include border-radius(100%);
}
.moon-scar-2 {
	position: absolute;
	height: 30px;
	width: 30px;
	background-image: $noise;
	background: $moonScarBGColour;
	top: 48px;
	left: 0px;
	@include border-radius(100%);
}
.moon-scar-3 {
	position: absolute;
	height: 20px;
	width: 20px;
	background-image: $noise;
	background: $moonScarBGColour;
	top: 90px;
	left: 14px;
	@include border-radius(100%);
}
.moon-glow-container {
	opacity: 0.5;
}
.moon-glow-1 {
	position: absolute;
	height: 260px;
	width: 260px;
	top: 20px;
	left: 30px;
	background-color: #f1f1f1;
	opacity: 0.1;
	@include transition-property(opacity);
	@include transition-duration(1s);
	@include border-radius(100%);
	@media only screen and (max-width: 778px) {
		opacity: 0;
	}
	@media only screen and (max-height: 500px) {
		opacity: 0;
	}
	@include animation-properties((animation: moonGlowAnimation, animation-duration: 3s, animation-iteration-count: infinite, animation-fill-mode: forwards, animation-timing-function: cubic-bezier(1,0.7,0.7,1)));
}

.moon-glow-2 {
	position: absolute;
	height: 340px;
	width: 340px;
	top: -20px;
	left: -10px;
	background-color: #f1f1f1;
	opacity: 0.1;
	@include transition-property(opacity);
	@include transition-duration(1s);
	@include border-radius(100%);
	@include animation-properties((animation: moonGlowAnimation, animation-duration: 3s, animation-delay: .5s, animation-iteration-count: infinite, animation-fill-mode: forwards));
	@media only screen and (max-width: 778px) {
		opacity: 0;
	}
	@media only screen and (max-height: 500px) {
		opacity: 0;
	}
}

@keyframes moonGlowAnimation {
	0% {
		@include transform(scale(1));
	}
	50% {
		@include transform(scale(1.1));
	}
	100% {
		@include transform(scale(1));
	}
}


// Clouds

.clouds-container {
	position: absolute;
	height: 301px;
	width: 100%;
	top: 22%;
}
.first-cloud {
	position: absolute;
	height: 235px;
	width: 56%;
	top: 22%;
	@media only screen and (max-width: 778px) {
		width: 80%;
	}
}

.cloud-texture {	
	@include background-image(linear-gradient(to bottom, rgba(243, 243, 243, 0.02), rgba(243, 243, 243, 0)));
}

.cloud-1-1 {
	position: relative;
	height: 85%;
	width: 45%;
	margin: auto;
	top: 10%;
	@include border-top-left-radius(60%);
	@include border-top-right-radius(60%);
}
.cloud-1-2 {
	position: absolute;
	height: 50%;
	width: 15%;
	top: 45%;
	left: 12.5%;
	@include border-top-left-radius(60%);
	@include border-top-right-radius(0%);	
}
.cloud-1-3 {
	position: absolute;
	height: 30%;
	width: 10%;
	top: 65%;
	left: 2.5%;
	@include border-top-left-radius(60%);
	@include border-top-right-radius(0%);	
	@include border-bottom-left-radius(20%);	
}
.cloud-1-4 {
	position: absolute;
	height: 40%;
	width: 10%;
	top: 50%;
	left: 72.5%;
	@include border-top-left-radius(22%);
	@include border-top-right-radius(0%);	
}
.cloud-1-5 {
	position: absolute;
	height: 70%;
	width: 40%;
	top: 25%;
	left: 82.5%;
	@include border-top-left-radius(100%);
	@include border-top-right-radius(100%);
	@include border-bottom-right-radius(20%);	
}

.second-cloud {
	display: block;
	position: absolute;
	height: 236px;
	width: 56%;
	top: -7%;
	left: 55%;
	@include transform(rotateY(180deg));
	@media only screen and (max-width: 778px) {
		display: none;
	}
}

.cloud-2-1 {
	position: relative;
	height: 85%;
	width: 45%;
	margin: auto;
	top: 10%;
	@include border-top-left-radius(60%);
	@include border-top-right-radius(60%);
}
.cloud-2-2 {
	position: absolute;
	height: 50%;
	width: 15%;
	top: 45%;
	left: 12.5%;
	@include border-top-left-radius(60%);
	@include border-top-right-radius(0%);	
}
.cloud-2-3 {
	position: absolute;
	height: 30%;
	width: 10%;
	top: 65%;
	left: 2.5%;
	@include border-top-left-radius(60%);
	@include border-top-right-radius(0%);	
	@include border-bottom-left-radius(20%);	
}
.cloud-2-4 {
	position: absolute;
	height: 40%;
	width: 10%;
	top: 50%;
	left: 72.5%;
	@include border-top-left-radius(22%);
	@include border-top-right-radius(0%);	
}
.cloud-2-5 {
	position: absolute;
	height: 70%;
	width: 40%;
	top: 25%;
	left: 82.5%;
	@include border-top-left-radius(100%);
	@include border-top-right-radius(100%);
	@include border-bottom-right-radius(20%);	
}


// Stars
.stars {
	position: absolute;
	height: 42%;
	width: 68%;
	@include transition-property(width);
	@include transition-duration(1s);
	top: 0;
	left: 0;
	right: 0;
	@media only screen and (max-width: 778px) {
		width: 100%;
	}
	@media only screen and (max-height: 500px) {
		width: 100%;
	}


& > * {
	position: absolute;
	background: rgba(241, 241, 241, 1);
	background-image: $noise;
	@include border-radius(50px);
	@include animation-properties((animation: twinkle, animation-duration: 2s, animation-iteration-count: infinite, animation-fill-mode: forwards, animation-timing-function: ease-in-out));
}
  @for $i from 1 through (10) {
    $top: random(100);
    $left: random(100);
    $size: random(10)+0px;
    .star:nth-of-type(#{$i}) {
      position: relative;
		top: $top * 1%;
      left: $left * 1%;
      width: $size;
      height: $size;
		@include animation-properties((animation-delay: random(5) + s));
    }
  }
  @for $i from 10 through (20) {
    $top: random(100);
    $left: random(100);
    $size: random(6)+0px;
    .star:nth-of-type(#{$i}) {
      position: relative;
		top: $top * 1%;
      left: $left * 1%;
		width: $size;
      height: $size;
		@include animation-properties((animation-delay: random(5) + s));
		@media only screen and (max-width: 778px) {
			display: none;
		}
		@media only screen and (max-height: 500px) {
			display: none;
		}
    }
  }
}
@keyframes twinkle {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

// Twinkle Stars
.twinkle-stars {
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: -1;
  & > * {
	position: absolute;
	@include animation-properties((animation: twinkle-stars, animation-duration: 5s, animation-iteration-count: infinite, animation-fill-mode: forwards, animation-timing-function: ease));
  }
  @for $i from 1 through (10) {
    $top: random(400)+px;
    $left: random(1200)+px;
    $size: random(6)+0px;
    .twinkle-star:nth-of-type(#{$i}) {
      top: $top;
      left: $left;
      width: $size;
      height: $size;
		@include animation-properties((animation-delay: random(5) + s));
	}
	 
	.twinkle-up {
		position: relative;
      width: 1px;
      height: 15px;
		background: #fff;
	}
	  
	.twinkle-side {
		position: absolute;
      width: 17px;
      height: 1px;
		top: 6px;
		left: -8px;
		background: #fff;
		@include border-radius(10px);
	}
  }
  @for $i from 10 through (20) {
    $top: random(400)+px;
    $right: random(1200)+px;
    $size: random(6)+0px;
    .star:nth-of-type(#{$i}) {
      top: $top;
      right: $right;
      width: $size;
      height: $size;
		@include animation-properties((animation-delay: random(5) + s));
    }
  }
}
@keyframes twinkle-stars {
  0% {
		opacity: 0.6;
		@include transform(scale(1.0));
  }
  50% {
		opacity: 0.3;
		@include transform(scale(1.3));
	}
  100% {
		opacity: 0.6;
		@include transform(scale(1.0));
  }
}

// Shooting Star
.shooting-container {
	position: absolute;
	top: 0%;
	height: 51%;
	width: 55%;
	@media only screen and (max-height: 500px) {
		display: none;
	}
	@media only screen and (max-width: 500px) {
		display: none;
	}
} 
.shooting {
	position: relative;
	height: 80px;
	width: 2px;
	background-color: #fff;
	@include box-shadow(0px 0px 30px #fff);
	opacity: 0;
   transform-origin: 10% 0%;
	top: -20%;
	left: -20%;
	@include transform(rotate(130deg) scale(0));
	@media only screen and (min-width: 480px) {
		@include animation-properties((animation: shootingStarAnimation, animation-duration: 3000ms, animation-iteration-count: infinite, animation-fill-mode: forwards, animation-delay: 1.5s));
	}
}
@keyframes shootingStarAnimation {
	0% {
		height: 20px;
		opacity: 1;
		top: -20%;
		left: -20%;
		@include transform(rotate(130deg) scale(1));
	}
	25% {
		height: 120px;
		@include transform(rotate(130deg) scale(1));
	}
	30% {
		top: 110%;
		left: 100%;
		height: 0px;	
	}
	35% {
		height: 0px;	
		@include transform(rotate(130deg) scale(1));
	}
	50% {
		height: 0px;
		top: 110%;
		left: 100%;
		@include transform(rotate(130deg) scale(0));
		opacity: 1;
	}
	100% {
		opacity: 0;		
	}
}


.bottom-ground {
	position: absolute;
	width: 100%;
	height: 12px;
	background-image: $noise;
	background-color: #020303;
	bottom: -2px;
	z-index: 4;
	@include border-radius(20px);
}
              
            
!

JS

              
                // 🐶 🌙 
//
// Illustration by Mantas Gr
// http://www.mantasgr.com 
// 
              
            
!
999px

Console