* {
    margin: 0;
    padding: 0;
}

body{
    height: 100vh;
    background-image: linear-gradient( to bottom, #e9f6ff, #eaf7ff, #eaf7ff, #ebf8ff, #ecf8ff, #eef8ff, #f1f9ff, #f3f9ff, #f7faff, #fafcff, #fdfdff, #ffffff); 
    text-align: center;
    font-size: 200%;
}

/* title styes */

@keyframes move {
    0% {
        transform: translate3d(0, 0, 0);
        color: #b81313;
    }
    50% {
        transform: translate3d(0, 0.5em, 0);
        color: #db3e3e;
    }
    100% {
        transform: translate3d(0, 0, 0);
        color: #b81313;
    }
}

h1{
    font-family: 'Berkshire Swash', cursive;
    font-weight: normal;
    color: #b81313;
    padding-top: 4%;
    text-shadow: 0 0.05em 0.1em #FFF;
    cursor: default;
    z-index: 1;
    position: relative;
    animation-name: move;
    animation-iteration-count: infinite;
    animation-duration: 3.5s;
}

/* snowflake styles */

@-webkit-keyframes snowflakes-fall {
    0% {
        top: -10%
    }
    100% {
        top: 100%
    }
}

@-webkit-keyframes snowflakes-shake {
    0% {
        transform: translateX(0px)
    }
    50% {
        transform: translateX(80px)
    }
    100% {
        transform: translateX(0px)
    }
}

.snowflake {
    position: fixed;
    top: -10%;
    z-index: 10;
    color: #fff;
    text-shadow: 0 0 1px #000;
    font-size: 1em;
    user-select: none;
    cursor: default;
    animation-name: snowflakes-fall, snowflakes-shake;
    animation-duration: 10s, 3s;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-play-state: running, running
}

.snowflake:nth-of-type(0) {
    left: 1%;
    animation-delay: 0s, 0s
}

.snowflake:nth-of-type(1) {
    left: 10%;
    animation-delay: 1s, 1s;
}

.snowflake:nth-of-type(3) {
    left: 30%;
    animation-delay: 4s, 2s;
}

.snowflake:nth-of-type(4) {
    left: 40%;
    animation-delay: 2s, 2s;
}

.snowflake:nth-of-type(5) {
    left: 50%;
    animation-delay: 8s, 3s
}

.snowflake:nth-of-type(6) {
    left: 60%;
    animation-delay: 6s, 2s
}

.snowflake:nth-of-type(7) {
    left: 70%;
    animation-delay: 2.5s, 1s
}

.snowflake:nth-of-type(8) {
    left: 80%;
    animation-delay: 1s, 0s
}

.snowflake:nth-of-type(9) {
    left: 90%;
    animation-delay: 3s, 1.5s
}

/* star styles */

.star {
    position: relative;
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .9em;
    margin-right: .9em;
    margin-bottom: 1.2em;
    border-right: .3em solid transparent;
    border-bottom: .7em solid #FC0;
    border-left: .3em solid transparent;
    font-size: 24px;
}

.star:before, 
.star:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: .6em;
    left: -1em;
    border-right: 1em solid transparent;
    border-bottom: .7em solid #FC0;
    border-left: 1em solid transparent;
    transform: rotate(-35deg);
}

.star:after {
    transform: rotate(35deg);
}

/* tree styles */

.tree__triangle {
    margin: -15px auto 0;
    width: 0;
    height: 0;
    border-left: 3.3em solid transparent;
    border-right: 3.3em solid transparent;
    border-bottom: 4em solid #16850c;
}

.tree__triangle:nth-child(3) {
    margin-top: -2.3em;
    border-left-width: 4em;
    border-right-width: 4em;
    border-bottom-width: 5em;
}

.tree__triangle:nth-child(4) {
    margin-top: -2.7em;
    border-left-width: 5em;
    border-right-width: 5em;
    border-bottom-width: 6em;
}

.tree__log {
    margin: 0 auto;
    width: 1.3em;
    height: 1.8em;
    background: linear-gradient(#8c370f, #5c240a);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.tree {
    position: absolute;
    width: 10em;
    height: 13em;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

/* orbs styles */

@keyframes pulse {
    0% {
        box-shadow: 0px 0px 0.9em rgba(255, 255, 255, 1);
    }
    50% {
        box-shadow: 0px 0px 0.9em rgba(255, 255, 255, .1);
    }
    100% {
        box-shadow: 0px 0px 0.9em rgba(255, 255, 255, 1);
    }
}


.orbs {
    position: absolute;
    width: .7em;
    height: .7em;
    border-radius: 50%;
    box-shadow: 0px 0px 1em rgba(255, 255, 255, .8);
    animation-name: pulse;
    animation-iteration-count: infinite;
    animation-duration: 2.5s;
}

.orbs:before,
.orbs:after {
    content: '';
    display: block;
    position: absolute;
    border-radius: 50%;
    box-shadow: 0px 0px .3em rgba(255, 255, 255, .8);
    animation-name: pulse;
    animation-iteration-count: infinite;
    animation-duration: 2.5s;
}

.orbs--1 {
    top: 3em;
    left: 4.2em;
    background: #ed0000;
    background: radial-gradient(circle, #f09696, #ed0000);
}

.orbs--1:before {
    top: 2.4em;
    left: 1.5em;
    width: .6em;
    height: .6em;
    background: #ed0000;
    background: radial-gradient(circle, #f09696, #ed0000);
}

.orbs--1:after {
    top: .7em;
    left: 1em;
    width: .7em;
    height: .7em;
    background: #e7c400;
    background: radial-gradient(circle, #fbeea3, #e7c400);
}


.orbs--2 {
    top: 5em;
    left: 4em;
    background: #e7c400;
    background: radial-gradient(circle, #fbeea3, #e7c400);
}

.orbs--2:before {
    top: 2.4em;
    left: 1.5em;
    width: .6em;
    height: .6em;
    background: #e7c400;
    background: radial-gradient(circle, #fbeea3, #e7c400);
}

.orbs--2:after {
    top: 1.4em;
    left: -0.4em;
    width: .8em;
    height: .8em;
    background: #ed0000;
    background: radial-gradient(circle, #f09696, #ed0000);
}

.orbs--3 {
    top: 8em;
    left: 3.6em;
    background: #e7c400;
    background: radial-gradient(circle, #fbeea3, #e7c400);
}

.orbs--3:before {
    top: 1.4em;
    left: 3.5em;
    width: .6em;
    height: .6em;
    background: #e7c400;
    background: radial-gradient(circle, #fbeea3, #e7c400);
}

.orbs--3:after {
    top: .9em;
    left: 1.4em;
    width: .8em;
    height: .8em;
    background: #ed0000;
    background: radial-gradient(circle, #f09696, #ed0000);
}

.orbs--4 {
    top: 9em;
    left: 2.7em;
    background: #ed0000;
    background: radial-gradient(circle, #f09696, #ed0000);
}


/* responsive styles */

@media (max-width: 768px) {
    .tree {
        top: initial;
        bottom: 4%;
    }
}


