cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

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.

            
              <input type="checkbox" id="noite">
<label for="noite"></label>
<div class="container">
  <div class="snowboard1">
    <div class="snow snow-position1"></div>
    <div class="snow snow-position2"></div>
    <div class="snow snow-position3"></div>
    <div class="snow snow-position4"></div>
    <div class="snow snow-position5"></div>
    <div class="snow snow-position6"></div>
    <div class="snow snow-position7"></div>
  </div>
  <div class="snowboard2">
    <div class="snow snow-position1"></div>
    <div class="snow snow-position2"></div>
    <div class="snow snow-position3"></div>
    <div class="snow snow-position4"></div>
    <div class="snow snow-position5"></div>
    <div class="snow snow-position6"></div>
    <div class="snow snow-position7"></div>
  </div>
  <div class="snowboard3">
    <div class="snow snow-position1"></div>
    <div class="snow snow-position2"></div>
    <div class="snow snow-position3"></div>
    <div class="snow snow-position4"></div>
    <div class="snow snow-position5"></div>
    <div class="snow snow-position6"></div>
    <div class="snow snow-position7"></div>
  </div>
  <div class="snowboard4">
    <div class="snow snow-position1"></div>
    <div class="snow snow-position2"></div>
    <div class="snow snow-position3"></div>
    <div class="snow snow-position4"></div>
    <div class="snow snow-position5"></div>
    <div class="snow snow-position6"></div>
    <div class="snow snow-position7"></div>
  </div>
  <div class="star">
    <div class="star-left"></div>
    <div class="star-right"></div>
  </div>
  <div class="star-background"></div>
  <div class="left-mountain"></div>
  <div class="right-mountain">
    <div class="shadow-mountain"></div>
  </div>
  <div class="water-mountain position-water1"></div>
  <div class="water-mountain position-water2"></div>
  <div class="water-mountain position-water3"></div>
  <div class="water-mountain position-water4"></div>
  <div class="water-mountain position-water5"></div>
  <div class="sea"></div>
  <div class="earth">
    <h1>Happy Holidays!</h1>
  </div>
  <div class="tree position-tree1">
    <div class="light-tree"></div>
    <div class="light-tree2"></div>
    <div class="goro"></div>
  </div>
  <div class="tree position-tree2">
    <div class="light-tree"></div>
    <div class="light-tree2"></div>
    <div class="goro"></div>
  </div>
  <div class="tree position-tree3">
    <div class="light-tree"></div>
    <div class="light-tree2"></div>
    <div class="goro"></div>
  </div>
  <div class="tree position-tree4 tree-different">
    <div class="light-tree"></div>
    <div class="light-tree2"></div>
    <div class="goro"></div>
  </div>
  <div class="tree position-tree5">
    <div class="light-tree"></div>
    <div class="light-tree2"></div>
    <div class="goro"></div>
  </div>
  <div class="tree position-tree6 tree-different">
    <div class="light-tree"></div>
    <div class="light-tree2"></div>
    <div class="goro"></div>
  </div>
  <div class="tree position-tree7 tree-different">
    <div class="light-tree"></div>
    <div class="light-tree2"></div>
    <div class="goro"></div>
  </div>
  <div class="tree position-tree8 tree-different2">
    <div class="light-tree"></div>
    <div class="light-tree2"></div>
    <div class="light-tree3"></div>
    <div class="light-tree4"></div>
    <div class="light-tree5"></div>
    <div class="light-tree6"></div>
    <div class="goro"></div>
  </div>
</div>
            
          
!
            
              @import url('https://fonts.googleapis.com/css?family=Gloria+Hallelujah');
*{
	margin: 0;
	padding: 0;
}
body,html{
	width: 100%;
	height: 100%;
}
body{	
    overflow: hidden;
}
@-webkit-keyframes fade {
    0% { opacity: 0.3 }
    50% { opacity: 1}
    100% { opacity: 0.3 }
}
@-moz-keyframes fade {
    0% { opacity: 0.3 }
    50% { opacity: 1}
    100% { opacity: 0.3 }
}
@-ms-keyframes fade {
    0% { opacity: 0.3 }
    50% { opacity: 1}
    100% { opacity: 0.3 }
}
@-o-keyframes fade {
    0% { opacity: 0.3 }
    50% { opacity: 1}
    100% { opacity: 0.3 }
}
@keyframes fade {
    0% { opacity: 0.3 }
    50% { opacity: 1}
    100% { opacity: 0.3 }
}
@-webkit-keyframes fadeIn {
    0% { opacity: 0 }
    100% { opacity: 1 }
}
@-moz-keyframes fadeIn {
    0% { opacity: 0 }
    100% { opacity: 1 }
}
@-ms-keyframes fadeIn {
    0% { opacity: 0 }
    100% { opacity: 1 }
}
@-o-keyframes fadeIn {
    0% { opacity: 0 }
    100% { opacity: 1 }
}
@keyframes fadeIn {
    0% { opacity: 0 }
    100% { opacity: 1 }
}

@-webkit-keyframes fadeBefore {
    0% { opacity: 0 }
    50% { opacity: 0.7 }
    100% { opacity: 0 }
}
@-moz-keyframes fadeBefore {
    0% { opacity: 0 }
    50% { opacity: 0.7 }
    100% { opacity: 0 }
}
@-ms-keyframes fadeBefore {
    0% { opacity: 0 }
    50% { opacity: 0.7 }
    100% { opacity: 0 }
}
@-o-keyframes fadeBefore {
    0% { opacity: 0 }
    50% { opacity: 0.7 }
    100% { opacity: 0 }
}
@keyframes fadeBefore {
    0% { opacity: 0 }
    50% { opacity: 0.7 }
    100% { opacity: 0 }
}
@-webkit-keyframes fadeAfter {
    0% { opacity: 0 }
    50% { opacity: 0.5}
    100% { opacity: 0 }
}
@-moz-keyframes fadeAfter {
    0% { opacity: 0 }
    50% { opacity: 0.5}
    100% { opacity: 0 }
}
@-ms-keyframes fadeAfter {
    0% { opacity: 0 }
    50% { opacity: 0.5}
    100% { opacity: 0 }
}
@-o-keyframes fadeAfter {
    0% { opacity: 0 }
    50% { opacity: 0.5}
    100% { opacity: 0 }
}
@keyframes fadeAfter {
    0% { opacity: 0 }
    50% { opacity: 0.5}
    100% { opacity: 0 }
}
@-webkit-keyframes snow {
    0% { opacity: 0; transform: translateY(0px); }
    20%{ opacity: 1;}
    100% { opacity: 1; transform: translateY(650px); }
}
@-moz-keyframes snow {
    0% { opacity: 0; transform: translateY(0px); }
    20%{ opacity: 1;}
    100% { opacity: 1; transform: translateY(650px); }
}
@-o-keyframes snow {
    0% { opacity: 0; transform: translateY(0px); }
    20%{ opacity: 1;}
    100% { opacity: 1; transform: translateY(650px); }
}
@-ms-keyframes snow {
    0% { opacity: 0; transform: translateY(0px); }
    20%{ opacity: 1;}
    100% { opacity: 1; transform: translateY(650px); }
}
@keyframes snow {
    0% { opacity: 0; transform: translateY(0px); }
    20%{ opacity: 1;}
    100% { opacity: 1; transform: translateY(650px); }
}

input{
    display: none;
}
.container{
    width: 100%;
    height: 100%;
    float: left;
    background: -moz-linear-gradient(top,  #b2dfda 20%, #e6e6bc 58%, #ffffff 94%);
    background: -webkit-linear-gradient(top,  #b2dfda 20%,#e6e6bc 58%,#ffffff 94%);
    background: linear-gradient(to bottom,  #b2dfda 20%,#e6e6bc 58%,#ffffff 94%);
}
h1{
    position: absolute;
    z-index: 2;
    top: 0px;
    left: 10%;
    font-family: 'Gloria Hallelujah', cursive;
    color: #cf0404;
    font-size: 6em;
    opacity: 0;
}
.earth{
	width: 100%;
	height: 250px;
	position: absolute;
	z-index: 2;
	bottom: 0;
	left: 0;
	background-color: #FFFFFF;
	transform: rotateX(54deg);
}
.sea{
	width: 100%;
    height: 310px;
    position: absolute;
    z-index: 2;
    bottom: 123px;
    left: 0;
    background: -moz-linear-gradient(top, #FFFFFF 5%, #b3dfdb 100%);
    background: -webkit-linear-gradient(top, #FFFFFF 5%, #b3dfdb 100%);
    background: linear-gradient(to bottom, #FFFFFF 5% ,#b3dfdb 100%);
    transform: rotateX(59deg);
}
.right-mountain{
	width: 410px;
    height: 150px;
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 350px;
    background-color: #f4f4f4;
    border-radius: 520px 0px 0px 0px / 190px 0px 0px 0;
}
.right-mountain:before{
	content: '';
    width: 410px;
    height: 120px;
    position: absolute;
    z-index: 1;
    right: 130px;
    bottom: -30px;
    background-color: #f4f4f4;
    border-radius: 0 500px 0px 0px / 0 190px 0px 0;
}
.right-mountain:after{
	content: '';
    width: 410px;
    height: 120px;
    position: absolute;
    z-index: 1;
    right: 431px;
    bottom: -30px;
    background-color: #f4f4f4;
    border-radius: 500px 0 0px 0px / 190px 0 0px 0;
}
.left-mountain{
	width: 210px;
    height: 60px;
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 339px;
    background-color: #FFF;
    border-radius: 0 380px 0px 0px / 0 102px 0px 0;
}
.shadow-mountain{
	width: 240px;
    height: 60px;
    position: absolute;
    z-index: 2;
    right: 170px;
    bottom: 0px;
    background-color: #e1f2f1;
    border-radius: 50% 50% 0 0 / 95% 100% 0 0;
}
.water-mountain{
    width: 44px;
    height: 14px;
    position: absolute;
    z-index: 4;
    background-color: #FFFFFF;
    border-radius: 100px 100px 0 0 / 70px 50px 0 0;
}
.water-mountain:after{
    content: "";
    width: 34px;
    height: 10px;
    position: absolute;
    z-index: 4;
    background-color: #FFFFFF;
    border-radius: 120px 80px 0 0 / 70px 90px 0 0;
    left: 34px;
    top: 4px;
}
.position-water1{
    bottom: 280px;
    right: 390px;
}
.position-water2{
    bottom: 240px;
    right: 36px;
}
.position-water3{
    bottom: 300px;
    right: 706px;
}
.position-water4{
    bottom: 300px;
    left: 10px;
}
.position-water5{
    bottom: 264px;
    left: 230px;
}
.star{
	width: 40px;
	height: 30px;
	position: absolute;
	z-index: 2;
	background-color: #ffcd43;
	top: 70px;
	right: 470px;
	transform: scale(0.7);
}
.star:before{
	content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: -40px;
    left: 0;
    border-bottom: 40px solid #ffcd43;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
}
.star:after{
	content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 30px;
    left: 0;
    border-top: 80px solid #ffcd43;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
}
.star-left{
	width: 0;
    height: 0;
    position: absolute;
    top: -27px;
    left: -35px;
    border-top: 68px solid #ffcd43;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    transform: rotate(121deg);
}
.star-left:after{
	content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: -85px;
    left: 8px;
    border-top: 68px solid #ffcd43;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    transform: rotate(-75deg);
}
.star-right{
	width: 0;
    height: 0;
    position: absolute;
    top: -27px;
    right: -35px;
    border-top: 68px solid #ffcd43;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    transform: rotate(-121deg);
}
.star-right:after{
	content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: -85px;
    right: 8px;
    border-top: 68px solid #ffcd43;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    transform: rotate(75deg);
}
.star-background{
	width: 60px;
    height: 60px;
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    background-color: #e4f1e9;
    right: 460px;
    top: 62px;
    -webkit-animation: fade 2s linear infinite;
    -moz-animation: fade 2s linear infinite;
    -o-animation: fade 2s linear infinite;
    -ms-animation: fade 2s linear infinite;
    animation: fade 2s linear infinite;
}
.star-background:before{
    content: "";
    width: 100px;
    height: 100px;
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    background-color: #e4f1e9;
    right: -19px;
    top: -19px;
    opacity: 0.7;
    -webkit-animation: fadeBefore 2.3s linear infinite;
    -moz-animation: fadeBefore 2.3s linear infinite;
    -o-animation: fadeBefore 2.3s linear infinite;
    -ms-animation: fadeBefore 2.3s linear infinite;
    animation: fadeBefore 2.3s linear infinite;
}
.star-background:after{
    content: "";
    width: 130px;
    height: 130px;
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    background-color: #e4f1e9;
    right: -34px;
    top: -32px;
    opacity: 0.5;
    -webkit-animation: fadeAfter 2.6s linear infinite;
    -moz-animation: fadeAfter 2.6s linear infinite;
    -o-animation: fadeAfter 2.6s linear infinite;
    -ms-animation: fadeAfter 2.6s linear infinite;
    animation: fadeAfter 2.6s linear infinite;
}
.tree{
    width: 0;
    height: 0;
    position: absolute;
    z-index: 3;
    border-bottom: 128px solid #1a8a50;
    border-left: 57px solid transparent;
}
.tree:before{
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    bottom: -128px;
    z-index: 3;
    right: -57px;
    border-bottom: 128px solid #34ac72;
    border-right: 57px solid transparent;
}
.tree:after{
    content: "";
    width: 18px;
    height: 10px;
    background: -moz-linear-gradient(top, #1a8a50 0%, #1a8a50 50%, #34ac72 50%, #34ac72 100%);
    background: -webkit-linear-gradient(top, #1a8a50 0%, #1a8a50 50%, #34ac72 50%, #34ac72 100%);
    background: linear-gradient(top, #1a8a50 0%, #1a8a50 50%, #34ac72 50%, #34ac72 100%);
    position: absolute;
    transform: rotate(-91deg);
    z-index: 4;
    left: -9px;
    top: 5px;
    border-radius: 10px 10px 10px 0;
}
.tree-different{
    width: 0;
    height: 0;
    position: absolute;
    z-index: 3;
    border-bottom: 128px solid #86c4a4;
    border-left: 57px solid transparent;
}
.tree-different:before{
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    bottom: -128px;
    z-index: 3;
    right: -57px;
    border-bottom: 128px solid #73c59d;
    border-right: 57px solid transparent;
}
.tree-different:after{
    content: "";
    width: 18px;
    height: 10px;
    background: -moz-linear-gradient(top, #86c4a4 0%, #86c4a4 50%, #73c59d 50%, #73c59d 100%);
    background: -webkit-linear-gradient(top, #86c4a4 0%, #86c4a4 50%, #73c59d 50%, #73c59d 100%);
    background: linear-gradient(top, #86c4a4 0%, #86c4a4 50%, #73c59d 50%, #73c59d 100%);
    position: absolute;
    transform: rotate(-91deg);
    z-index: 4;
    left: -9px;
    top: 5px;
    border-radius: 10px 10px 10px 0;
}
.tree-different2{
    width: 0;
    height: 0;
    position: absolute;
    z-index: 3;
    border-bottom: 248px solid #1a8a50;
    border-left: 117px solid transparent;
}
.tree-different2:before{
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    bottom: -248px;
    z-index: 3;
    right: -117px;
    border-bottom: 248px solid #34ac72;
    border-right: 117px solid transparent;
}
.tree-different2:after{
    content: "";
    width: 18px;
    height: 10px;
    background: -moz-linear-gradient(top, #1a8a50 0%, #1a8a50 50%, #34ac72 50%, #34ac72 100%);
    background: -webkit-linear-gradient(top, #1a8a50 0%, #1a8a50 50%, #34ac72 50%, #34ac72 100%);
    background: linear-gradient(top, #1a8a50 0%, #1a8a50 50%, #34ac72 50%, #34ac72 100%);
    position: absolute;
    transform: rotate(-91deg);
    z-index: 4;
    left: -9px;
    top: 5px;
    border-radius: 10px 10px 10px 0;
}
.position-tree1{
    bottom: 180px;
    left: 98px;    
}
.position-tree2{
    bottom: 247px;
    left: 178px;
    transform: scale(.6);
}
.position-tree3{
    bottom: 226px;
    right: 638px;
    transform: scale(.6);
}
.position-tree4{
    bottom: 266px;
    right: 738px;
    transform: scale(.4);
}
.position-tree5{
    bottom: 257px;
    right: 428px;
    transform: scale(.5);
}
.position-tree6{
    bottom: 273px;
    right: 384px;
    transform: scale(.3);
}
.position-tree7{
    bottom: 293px;
    right: 349px;
    transform: scale(.4);
}
.position-tree8{
    bottom: 113px;
    right: 269px;
}
.light-tree{
    opacity: 0;
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #e4ff00;
    top: 36px;
    left: -14px;
    -webkit-animation: fade 0.7s linear infinite;
    -moz-animation: fade 0.7s linear infinite;
    -ms-animation: fade 0.7s linear infinite;
    -o-animation: fade 0.7s linear infinite;
    animation: fade 0.7s linear infinite;
}
.light-tree:before{
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #e00404;
    top: 26px;
    left: 18px;
}
.light-tree:after{
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #3373f3;
    top: 56px;
    left: 38px;
}
.light-tree2{
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #fc67fe;
    top: 73px;
    left: -25px;
    -webkit-animation: fade 1s linear infinite;
    -moz-animation: fade 1s linear infinite;
    -ms-animation: fade 1s linear infinite;
    -o-animation: fade 1s linear infinite;
    animation: fade 1s linear infinite;
}
.light-tree2:before{
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #7205b7;
    top: 26px;
    left: 8px;
}
.light-tree2:after{
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #ebc40d;
    top: 38px;
    left: 38px;
}
.light-tree3{
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #e4ff00;
    top: 126px;
    left: -34px;
    -webkit-animation: fade 0.7s linear infinite;
    -moz-animation: fade 0.7s linear infinite;
    -o-animation: fade 0.7s linear infinite;
    -ms-animation: fade 0.7s linear infinite;
    animation: fade 0.7s linear infinite;
}
.light-tree3:before{
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #e00404;
    top: 26px;
    left: 18px;
}
.light-tree3:after{
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #3373f3;
    top: 56px;
    left: 38px;
}
.light-tree4{
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #fc67fe;
    top: 153px;
    left: 36px;
    -webkit-animation: fade 1.2s linear infinite;
    -moz-animation: fade 1.2s linear infinite;
    -o-animation: fade 1.2s linear infinite;
    -ms-animation: fade 1.2s linear infinite;
    animation: fade 1.2s linear infinite;
}
.light-tree4:before{
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #7205b7;
    top: 26px;
    left: 8px;
}
.light-tree4:after{
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #ebc40d;
    top: 38px;
    left: 38px;
}
.light-tree5{
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #fc67fe;
    top: 185px;
    left: -74px;
    -webkit-animation: fade 0.9s linear infinite;
    -moz-animation: fade 0.9s linear infinite;
    -ms-animation: fade 0.9s linear infinite;
    -o-animation: fade 0.9s linear infinite;
    animation: fade 0.9s linear infinite;
}
.light-tree5:before{
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #7205b7;
    top: 26px;
    left: 8px;
}
.light-tree5:after{
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #ebc40d;
    top: 38px;
    left: 38px;
}
.light-tree6{
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #fc67fe;
    top: 198px;
    left: 13px;
}
.light-tree6:before{
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #7205b7;
    top: 26px;
    left: 8px;
    -webkit-animation: fade 0.5s linear infinite;
    -moz-animation: fade 0.5s linear infinite;
    -o-animation: fade 0.5s linear infinite;
    -ms-animation: fade 0.5s linear infinite;
    animation: fade 0.5s linear infinite;
}
.light-tree6:after{
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background-color: #ebc40d;
    top: 38px;
    left: 38px;
}
.goro{
    width: 80px;
    height: 19px;
    position: absolute;
    z-index: 6;
    background-color: #FFFFFF;
    border: 1px solid #f7f5f5;
    left: -39px;
    top: 8px;
    transform: scale(.8);
    opacity: 0;
}
.goro:before{
    content: "";
    width: 69px;
    height: 23px;
    position: absolute;
    z-index: 6;
    background-color: #e63e3a;
    left: 5px;
    top: -24px;
    border-radius: 0px 61px 0 0 / 0 20px 0 0;
}
.goro:after{
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    top: -39px;
    left: -12px;
    border-radius: 50%;
    background-color: #FFF;
    border: 1px solid #f7f5f5;
    z-index: 7;
}
label{
    width: 70px;
    height: 30px;
    float: left;
    border-radius: 44px;
    background-color: #c0c8c9;
    cursor: pointer;
    position: absolute;
    z-index: 15;
    top: 50px;
    left: calc(50% - 35px);
}
label:before {
    content: "";
    width: 24px;
    height: 24px;
    position: absolute;
    left: 4px;
    top: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: .25s;
}
label:after {
    content: "Dia";
    width: 62px;
    height: 24px;
    position: absolute;
    left: 0;
    top: -46px;
    transition: .25s;
    font-family: 'Gloria Hallelujah', cursive;
    color: #000;
    font-size: 1.8em;
    text-align: center;
}
.snowboard1{
    width: 100%;
    position: absolute;
    z-index: 10;
    left: 0;
    transform: translateY(650px);
    -webkit-animation: snow 5s linear infinite;
    -moz-animation: snow 5s linear infinite;
    -ms-animation: snow 5s linear infinite;
    -o-animation: snow 5s linear infinite;
    animation: snow 5s linear infinite;
}
.snowboard2{
    width: 100%;
    position: absolute;
    z-index: 10;
    left: 0;
    transform: translateY(650px);
    -webkit-animation: snow 5s -1.64s linear infinite;
    -moz-animation: snow 5s -1.64s linear infinite;
    -ms-animation: snow 5s -1.64s linear infinite;
    -o-animation: snow 5s -1.64s linear infinite;
    animation: snow 5s -1.64s linear infinite;
}
.snowboard3{
    width: 100%;
    position: absolute;
    z-index: 10;
    left: 0;
    transform: translateY(650px);
    -webkit-animation: snow 5s -2.30s linear infinite;
    -moz-animation: snow 5s -2.30s linear infinite;
    -ms-animation: snow 5s -2.30s linear infinite;
    -o-animation: snow 5s -2.30s linear infinite;
    animation: snow 5s -2.30s linear infinite;
}
.snowboard4{
    width: 100%;
    position: absolute;
    z-index: 10;
    left: 0;
    transform: translateY(650px);
    -webkit-animation: snow 5s -3.30s linear infinite;
    -moz-animation: snow 5s -3.30s linear infinite;
    -o-animation: snow 5s -3.30s linear infinite;
    -ms-animation: snow 5s -3.30s linear infinite;
    animation: snow 5s -3.30s linear infinite;
}
.snow{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #FFF;
    position: absolute;
    z-index: 10;
    opacity: .7;
}
.snow:before{
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #FFF;
    position: absolute;
    z-index: 10;
    top: 40px;
    left: 70px;
    opacity: .7;
}
.snow:after{
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #FFF;
    position: absolute;
    z-index: 10;
    top: 8px;
    left: 170px;
    opacity: .9;
}
.snow-position1{
    top: 30px;
    left: 20px;
}
.snow-position2{
    top: 110px;
    left: 250px;
}
.snow-position3{
    top: 60px;
    left: 570px;
}
.snow-position4{
    top: 120px;
    left: 900px;
}
.snow-position5{
    top: 20px;
    left: 1120px;
}
.snow-position6{
    top: 90px;
    left: 1280px;
}
.snow-position7{
    top: 30px;
    left: 1480px;
}
#noite:checked ~ label {
    background-color: #4bd865;
}
#noite:checked ~ label:before {
    transform: translateX(38px);
}
#noite:checked ~ label:after {
    content: "Noite";
    color: #FFF;
}
.goro,
.light-tree,
.light-tree1,
.light-tree2,
.light-tree3,
.light-tree4,
.light-tree5,
.light-tree6,
.light-tree7,
h1{
    display: none;
}
#noite:checked ~ .container .goro,
#noite:checked ~ .container .light-tree,
#noite:checked ~ .container .light-tree1,
#noite:checked ~ .container .light-tree2,
#noite:checked ~ .container .light-tree3,
#noite:checked ~ .container .light-tree4,
#noite:checked ~ .container .light-tree5,
#noite:checked ~ .container .light-tree6,
#noite:checked ~ .container .light-tree7,
#noite:checked ~ .container h1{
    display: block;
}
#noite:checked ~ .container h1,
#noite:checked ~ .container .goro{
    -webkit-animation: fadeIn .7s ease-in-out;
    -moz-animation: fadeIn .7s ease-in-out;
    -ms-animation: fadeIn .7s ease-in-out;
    -o-animation: fadeIn .7s ease-in-out;
    animation: fadeIn .7s ease-in-out;
    opacity: 1;
}
#noite:checked ~ .container{
    width: 100%;
    height: 100%;
    float: left;
    background: -moz-linear-gradient(top,  #003f62 20%, #5985a0 58%, #ffffff 94%);
    background: -webkit-linear-gradient(top,  #003f62 20%,#5985a0 58%,#ffffff 94%);
    background: linear-gradient(to bottom,  #003f62 20%,#5985a0 58%,#ffffff 94%);
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console