.pressed-key {
    padding: 10px;
    font-size: 1.2em;
    border-radius: 6px;
    border: 4px solid #666;
    color: #333;
    background-color: hsl(0, 0%, 94%);
    position: fixed;
    inset: unset;
    top: 80px;
    left: 80px;
    opacity: 0;
    user-select: none;
    transition: opacity .15s ease-out;
    z-index: 99999;
}

.pressed-key.visible {
    opacity: 1;
}

.pressed-key__animated_point {
    border: 4px solid #666;
    border-radius: 6px;
    inset: 0;
    /* top: 50%;
    left: 50%;
    transform-origin: center;
    translate: -50% -50%; */
    /* top: 40px;
    left: 40px; */
    position: absolute;
    z-index: 99998;
    animation: 1.2s grow ease;
    /* width: 100px;
    height: 100px; */
    /* border-radius: 50%; */
    opacity: 0;
    scale: 0;
}

@keyframes grow {
    0% {
        scale: 1;
        opacity: 1;
    }

    20% {
        opacity: 1;
    }

    97% {
        opacity: 0;
        scale: 2;
        /* border-width: 2px; */
    }

    100% {
        scale: 0;
    }
}