.tree{

    transform-origin:center bottom;

    animation:treeWind ease-in-out infinite;

    will-change:transform;

}

@keyframes treeWind{

    0%{

        transform:rotate(-1deg);

    }

    50%{

        transform:rotate(1deg);

    }

    100%{

        transform:rotate(-1deg);

    }

}
/* V22 — richer DOM environment trees */
.tree{
    width:42px;
    height:58px;
    transform-origin:center bottom;
    animation:treeWindRealistic 7s ease-in-out infinite;
    filter:drop-shadow(0 5px 5px rgba(22,45,24,.20));
    will-change:transform;
}

.tree::before{
    left:2px;
    top:0;
    width:38px;
    height:38px;
    background:
        radial-gradient(circle at 28% 24%, #a6d66b 0 7%, transparent 8%),
        radial-gradient(circle at 56% 20%, #76bb59 0 18%, transparent 19%),
        radial-gradient(circle at 30% 58%, #4f9a48 0 28%, transparent 29%),
        radial-gradient(circle at 68% 57%, #397d3e 0 31%, transparent 32%),
        radial-gradient(circle at 50% 45%, #5fa84c 0 48%, #285f35 75%, #214f2f 100%);
    border-radius:52% 48% 54% 46%;
    box-shadow:inset -5px -7px 9px rgba(0,0,0,.18), inset 4px 3px 7px rgba(255,255,255,.10), 0 6px 10px rgba(0,0,0,.18);
}

.tree::after{
    left:17px;
    bottom:0;
    width:8px;
    height:25px;
    background:linear-gradient(90deg,#422a18,#865a31 45%,#3e2818);
    border-radius:4px;
    box-shadow:3px 0 0 rgba(0,0,0,.08);
}

@keyframes treeWindRealistic{
    0%,100%{transform:rotate(-.45deg)}
    50%{transform:rotate(.55deg)}
}
