.minion-click-item {
    position: fixed;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    animation: minionPop 850ms cubic-bezier(.2,.8,.3,1) forwards;
}

/* Minion Head */
.minion-head {
    width: 42px;
    height: 50px;
    background: #FFD83D;
    border: 3px solid #222;
    border-radius: 45% 45% 40% 40%;
    position: relative;
    box-shadow: 0 5px 12px rgba(0,0,0,.18);
}

/* Glasses Strap */
.minion-head::before {
    content: "";
    position: absolute;
    top: 14px;
    left: -4px;
    width: 44px;
    height: 7px;
    background: #333;
}

/* Eye */
.minion-head::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background:
        radial-gradient(
            circle,
            #222 0 18%,
            #8B5A2B 20% 38%,
            #fff 40% 68%,
            #bbb 70% 100%
        );
    border: 4px solid #777;
    border-radius: 50%;
    top: 6px;
    left: 7px;
}

/* Overalls */
.minion-overall {
    position: absolute;
    bottom: -3px;
    left: 5px;
    width: 32px;
    height: 18px;
    background: #1677D2;
    border-radius: 5px 5px 12px 12px;
}

/* Smile */
.minion-smile {
    position: absolute;
    left: 14px;
    top: 31px;
    width: 12px;
    height: 6px;
    border-bottom: 3px solid #222;
    border-radius: 50%;
}

/* Particles */
.minion-particle {
    position: fixed;
    pointer-events: none;
    z-index: 999998;
    font-size: 24px;
    transform: translate(-50%, -50%);
    animation: particleFly 900ms ease-out forwards;
}

/* Text */
.minion-text {
    position: fixed;
    pointer-events: none;
    z-index: 999999;

    color: #FFD500;

    font-family: Arial Black, Arial, sans-serif;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 1px;

    text-shadow:
        -2px -2px 0 #222,
         2px -2px 0 #222,
        -2px  2px 0 #222,
         2px  2px 0 #222;

    transform: translate(-50%, -50%);
    animation: bananaText 900ms ease-out forwards;
}


/* =========================
   ANIMATIONS
========================= */

@keyframes minionPop {

    0% {
        opacity: 0;

        transform:
            translate(-50%, -50%)
            scale(.2)
            rotate(-15deg);
    }

    25% {
        opacity: 1;

        transform:
            translate(-50%, -75%)
            scale(1.25)
            rotate(8deg);
    }

    55% {
        transform:
            translate(-50%, -95%)
            scale(.95)
            rotate(-5deg);
    }

    100% {
        opacity: 0;

        transform:
            translate(-50%, -150%)
            scale(.65)
            rotate(20deg);
    }
}


@keyframes particleFly {

    0% {
        opacity: 1;

        transform:
            translate(-50%, -50%)
            scale(.3)
            rotate(0deg);
    }

    100% {
        opacity: 0;

        transform:
            translate(
                calc(-50% + var(--moveX)),
                calc(-50% + var(--moveY))
            )
            scale(1.4)
            rotate(var(--rotate));
    }
}


@keyframes bananaText {

    0% {
        opacity: 0;

        transform:
            translate(-50%, -20%)
            scale(.5);
    }

    30% {
        opacity: 1;

        transform:
            translate(-50%, -100%)
            scale(1.15);
    }

    100% {
        opacity: 0;

        transform:
            translate(-50%, -190%)
            scale(.8);
    }
}