*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    width: 100%;
    height: 100vh;
}

#character{
    width: 250px;
    position: absolute;
    /*left: calc(50% - 170px)
    top: 100px*/
    transition: all 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.move{
    transform: translateX(100px);
    animation: shake 0.5s;
    /* When the animation is finished, start again with: infinite */
    animation-iteration-count:2;
}

h1{
    color: red;
    text-align: center;
}

h2{
    color: black;
    text-align: center;
}

@keyframes shake {
    0% { translate: 1px 1px; rotate: 0deg; }
    10% { translate: -1px -2px; rotate: -1deg; }
    20% { translate: -3px 0px; rotate: 1deg; }
    30% { translate: 3px 2px; rotate: 0deg; }
    40% { translate: 1px -1px; rotate: 1deg; }
    50% { translate: -1px 2px; rotate: -1deg; }
    60% { translate: -3px 1px; rotate: 0deg; }
    70% { translate: 3px 1px; rotate: -1deg; }
    80% { translate: -1px -1px; rotate: 1deg; }
    90% { translate: 1px 2px; rotate: 0deg; }
    100% { translate: 1px -2px; rotate: -1deg; }
}


