 input[type="submit"] {
    background: #E9967A;
    border: 0;
    width: 100%;
    height: 40px;
    border-radius: 3px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}
input[type="submit"]:hover {
    background: #E9967A;
    animation-name: shake;
}
.animated {
    animation-fill-mode: both;
    animation-duration: 1s;
}
      
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
    transform: translateX(10px);
    }
}