#snowflakes {
    position: fixed;
    pointer-events: none
}
@-webkit-keyframes falling {
    0% {
        -webkit-transform: translate3d(0, 0, 0) rotate(0) scale(.9, .9);
        transform: translate3d(0, 0, 0) rotate(0) scale(.9, .9)
    }

    100% {
        -webkit-transform: translate3d(30px, 1000px, 0) rotate(360deg) scale(1.1, 1.1);
        transform: translate3d(30px, 1000px, 0) rotate(360deg) scale(1.1, 1.1)
    }
}

@keyframes falling {
    0% {
        -webkit-transform: translate3d(0, 0, 0) rotate(0) scale(.9, .9);
        transform: translate3d(0, 0, 0) rotate(0) scale(.9, .9)
    }

    100% {
        -webkit-transform: translate3d(30px, 1000px, 0) rotate(360deg) scale(1.1, 1.1);
        transform: translate3d(30px, 1000px, 0) rotate(360deg) scale(1.1, 1.1)
    }
}
#snowflakes {
    top: -96px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 4
}

#snowflakes i {
    display: inline-block;
    height: 16px;
    width: 16px;
    -webkit-animation: falling 3s linear 2s infinite;
    animation: falling 3s linear 2s infinite;
}

#snowflakes i:nth-of-type(4n) {
    height: 30px;
    width: 30px;
    -webkit-animation-duration: 5.3s;
    animation-duration: 5.3s;
    -webkit-transform-origin: -10px -20px;
    -ms-transform-origin: -10px -20px;
    transform-origin: -10px -20px;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 100%, #f42e2e 100%, #f42e2e 100%, rgba(255, 255, 255, 0) 100%),
linear-gradient(90deg, rgba(255, 255, 255, 0) 100%, #f42e2e 100%, #f42e2e 100%, rgba(255, 255, 255, 0) 100%),
linear-gradient(45deg, rgba(255, 255, 255, 0) 100%, #f42e2e 43%, #f42e2e 100%, rgba(255, 255, 255, 0) 100%),
linear-gradient(135deg, rgba(255, 255, 255, 0) 43%, #f42e2e 43%, #f42e2e 57%, rgba(255, 255, 255, 0) 57%)
}

#snowflakes i:nth-of-type(4n+1) {
    height: 24px;
    width: 24px;
    -webkit-animation-duration: 3.1s;
    animation-duration: 3.1s;
    -webkit-transform-origin: 10px -20px;
    -ms-transform-origin: 10px -20px;
    transform-origin: 10px -20px;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 100%, #f4dc2e 100%, #f4dc2e 100%, rgba(255, 255, 255, 0) 100%),
linear-gradient(90deg, rgba(255, 255, 255, 0) 100%, #f4dc2e 100%, #f4dc2e 100%, rgba(255, 255, 255, 0) 100%),
linear-gradient(45deg, rgba(255, 255, 255, 0) 100%, #f4dc2e 100%, #f4dc2e 100%, rgba(255, 255, 255, 0) 100%),
linear-gradient(135deg, rgba(255, 255, 255, 0) 43%, #f4dc2e 43%, #f4dc2e 57%, rgba(255, 255, 255, 0) 57%)
}

#snowflakes i:nth-of-type(4n+2) {
    height: 10px;
    width: 10px;
    -webkit-animation-duration: 1.7s;
    animation-duration: 1.7s;
    -webkit-transform-origin: right -20px;
    -ms-transform-origin: right -20px;
    transform-origin: right -20px;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 100%, #2e7bf4 100%, #2e7bf4 100%, rgba(255, 255, 255, 0) 100%),
linear-gradient(90deg, rgba(255, 255, 255, 0) 100%, #2e7bf4 40%, #2e7bf4 100%, rgba(255, 255, 255, 0) 100%),
linear-gradient(45deg, rgba(255, 255, 255, 0) 100%, #2e7bf4 100%, #2e7bf4 100%, rgba(255, 255, 255, 0) 100%),
linear-gradient(135deg, rgba(255, 255, 255, 0) 43%, #2e7bf4 43%, #2e7bf4 57%, rgba(255, 255, 255, 0) 57%)
}

#snowflakes i:nth-of-type(3n) {
    -webkit-animation-delay: 2.3s;
    animation-delay: 2.3s
}

#snowflakes i:nth-of-type(3n+1) {
    -webkit-animation-delay: 1.5s;
    animation-delay: 1.5s
}

#snowflakes i:nth-of-type(3n+2) {
    -webkit-animation-delay: 3.4s;
    animation-delay: 3.4s
}

#snowflakes i:nth-of-type(5n) {
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out
}

#snowflakes i:nth-of-type(5n+1) {
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out
}

#snowflakes i:nth-of-type(5n+2) {
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease
}

#snowflakes i:nth-of-type(5n+3) {
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in
}

#snowflakes i:nth-of-type(5n+4) {
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear
}

#snowflakes i:nth-of-type(11n) {
    -webkit-animation-timing-function: cubic-bezier(.2, .3, .8, .9);
    animation-timing-function: cubic-bezier(.2, .3, .8, .9)
}

#snowflakes i:nth-of-type(7n) {
    opacity: .5
}

#snowflakes i:nth-of-type(7n+2) {
    opacity: .3
}

#snowflakes i:nth-of-type(7n+4) {
    opacity: .7
}

#snowflakes i:nth-of-type(7n+6) {
    opacity: .6;
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    -webkit-transform-origin: left 10px;
    -ms-transform-origin: left 10px;
    transform-origin: left 10px
}

#snowflakes i:nth-of-type(7n+1) {
    opacity: .8
}
