@keyframes touch-drag {
    0% {
        left: 35%;
        opacity: 0;
        background-color: #81c6fd;
    }
    10% {
        left: 35%;
        opacity: 0;
        background-color: #81c6fd;
    }
    20% {
        left: 35%;
        opacity: 1;
        transform: scale(1);
        background-color: #81c6fd;
    }
    25% {
        left: 35%;
        transform: scale(1.2);
        background-color: #2196f3;
    }
    75% {
        left: 65%;
        transform: scale(1.2);
        background-color: #2196f3;
    }
    80% {
        left: 65%;
        opacity: 1;
        transform: scale(1);
        background-color: #81c6fd;
    }
    90% {
        left: 65%;
        opacity: 0;
        background-color: #81c6fd;
    }
    100% {
        left: 65%;
        opacity: 0;
        background-color: #81c6fd;
    }
}

@keyframes gesture-fade {
    0% {
        background-color: rgba(0, 0, 0, 0);
    }
    10% {
        background-color: rgba(0, 0, 0, 0);
    }
    20% {
        background-color: rgba(0, 0, 0, 0.1);
    }
    80% {
        background-color: rgba(0, 0, 0, 0.1);
    }
    90% {
        background-color: rgba(0, 0, 0, 0);
    }
    100% {
        background-color: rgba(0, 0, 0, 0);
    }
}

.gesture-demo {
    animation: gesture-fade 3s infinite normal ease-in-out;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.finger {
    animation: touch-drag 3s infinite normal ease-in-out;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
