JSFiddle - React, Tailwind, and code Playground

by Kofod

HTML

<style>
#vpWhackGame,
#vpWhackGame * {
    box-sizing: border-box;
}

#vpWhackGame {
    width: 960px;
    height: 700px;
    position: relative;
    overflow: hidden;
    font-family: Arial, Geneva, sans-serif;
    color: #6f5360;

    background:
        radial-gradient(circle at 8% 12%, rgba(255,255,255,.55) 0 7px, transparent 8px),
        radial-gradient(circle at 91% 20%, rgba(255,255,255,.45) 0 6px, transparent 7px),
        linear-gradient(
            135deg,
            #ffd2e4 0%,
            #ffe1d2 25%,
            #ffefc1 50%,
            #ecf2cf 75%,
            #d8f1e4 100%
        );

    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

#vpWhackGame .whackCloud {
    position: absolute;
    background: rgba(255,255,255,.55);
    border-radius: 999px;
    z-index: 0;
}

#vpWhackGame .cloud1 {
    width: 120px;
    height: 35px;
    top: 95px;
    left: 55px;
}

#vpWhackGame .cloud2 {
    width: 155px;
    height: 40px;
    top: 135px;
    right: 65px;
}

#vpWhackGame .whackCloud:before,
#vpWhackGame .whackCloud:after {
    content: "";
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

#vpWhackGame .whackCloud:before {
    width: 55px;
    height: 55px;
    left: 22px;
    bottom: 2px;
}

#vpWhackGame .whackCloud:after {
    width: 68px;
    height: 68px;
    right: 18px;
    bottom: 1px;
}

#vpWhackGame .whackHeader {
    position: relative;
    z-index: 5;
    height: 120px;

    display: flex;
    justify-content: center;
    align-items: center;
}

#vpWhackGame .gameTitle {
    position: absolute;
    left: 50%;
    top: 21px;

    transform: translateX(-50%);

    padding: 14px 35px;

    background: rgba(255,255,255,.85);

    border: 4px solid #fff;
    border-radius: 25px;

    box-shadow:
        0 6px 0 rgba(117,82,95,.16),
        0 10px 18px rgba(117,82,95,.10);

   ...