@-webkit-keyframes wiggle-face {
    0% {
        -webkit-transform: rotate(1deg) translate3d(0px, 0px, 0px);
    }
    40% {
        -webkit-transform: rotate(-3deg) translate3d(-2px, -1px, 0px);
    }

    100% {
        -webkit-transform: rotate(1deg) translate3d(0px, 0px, 0px);
    }
}
@-moz-keyframes wiggle-head {
    0% {
        -moz-transform: rotate(1deg) translate(0px, 0px);
    }
    40% {
        -moz-transform: rotate(-3deg) translate(-2px, -1px);
    }

    100% {
        -moz-transform: rotate(1deg) translate(0px, 0px);
    }
}


@-webkit-keyframes wiggle-head {
    0% {
        -webkit-transform: translate3d(0px,0px,0px);
    }

    40% {
        -webkit-transform: translate3d(0px,-3px,0px);
    }

    100% {
        -webkit-transform: translate3d(0px,0px,0px);
    }
}

@-moz-keyframes wiggle-head {
    0% {
        -moz-transform: translate3d(0px,0px,0px);
    }

    40% {
        -moz-transform: translate3d(0px,-3px,0px);
    }

    100% {
        -moz-transform: translate3d(0px,0px,0px);
    }
}

@-webkit-keyframes flicker-bg {
    0% {
        -webkit-transform: rotate(1deg) translate3d(0px, 0px, 0px);
    }
    40% {
        -webkit-transform: rotate(-3deg) translate3d(-2px, -1px, 0px);
    }

    100% {
        -webkit-transform: rotate(1deg) translate3d(0px, 0px, 0px);
    }
}

@-moz-keyframes flicker-bg {
    0% {
        -moz-transform: rotate(1deg) translate3d(0px, 0px, 0px);
    }
    40% {
        -moz-transform: rotate(-3deg) translate3d(-2px, -1px, 0px);
    }

    100% {
        -moz-transform: rotate(1deg) translate3d(0px, 0px, 0px);
    }
}

.klown {
    -webkit-animation: wiggle-head 5000ms infinite both ease-in-out;
    -moz-animation: wiggle-head 5000ms infinite both ease-in-out;
}

.klown .head {
    -webkit-animation: wiggle-face 4000ms infinite both ease-in-out;
    -moz-animation: wiggle-face 4000ms infinite both ease-in-out;
}

.flicker {
    background: url(../img/temp/bg-flames.png) center center no-repeat #000;
    -webkit-animation: flicker-bg 600ms infinite linear;
    -moz-animation: flicker-bg 600ms infinite linear;
}

.icon {
    position: relative;
    overflow: hidden;
    z-index: 2;
    left: 72px;
    top: 48px;
    margin: -48px 0px 48px -48px;
    width: 148px;
    height: 148px;
    border: 5px solid #000;
    background-color: #fff;
    -webkit-border-radius: 6px;
    -webkit-box-shadow: 0px 0px 10px rgba(96,64,32, 0.5);
    -webkit-transform: translate3d(0px,0px,0px);
    -moz-border-radius: 6px;
    -moz-box-shadow: 0px 0px 10px rgba(96,64,32, 0.5);
    -moz-transform: translate3d(0px,0px,0px);
}

.bg {
    position: absolute;
    left: -25px;
    top: -25px;
    width: 220px;
    height: 220px;
}

.klown {
    width: 131px;
    height: 129px;
    position: absolute;
    z-index: 1;
    left: 10px;
    top: 26px;
    -webkit-animation: wiggle-head 5000ms infinite both ease-in-out;
    -moz-animation: wiggle-head 5000ms infinite both ease-in-out;
}

.klown .face {
    width: 71px;
    height: 76px;
    -webkit-animation: wiggle-face 4000ms infinite both ease-in-out;
    -moz-animation: wiggle-face 4000ms infinite both ease-in-out;
}

.ralph {
    background: url(../img/temp/Ralph_HEAD.png) center center no-repeat;
}

.ralph .face {
    background: url(../img/temp/Ralph_LIPSEYES.png) center center no-repeat;
}
