*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    padding: 30px;
    background-color: #ffffff;
    width: 100%;
    height: 100vh;
    overflow-y: hidden;
}

main{
    background-color: #6ba4d5;
    width: 100%;
    height: 70vh;
    padding: 20px;
}

h1{
    font-family: "Alegreya Sans SC", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 50px;
    padding-bottom: 20px;
    align-items: center;
    text-align: center;
}

img{
    height: 100px;
    width: auto;
}

#alize{
    width: 200px;
    position: absolute;
    top: 0;
    transition: all 0.5s ease;
}

.wiggle{
    animation: shake 0.5s;
    /* When the animation is finished, start again with: infinite */
    animation-iteration-count:2;
}

@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; }
}

.jump{
    animation: jump 0.5s;
    /* When the animation is finished, start again with: infinite */
    animation-iteration-count:1;
}


@keyframes jump{
    20% { translate: 0%, 2%; }
    40% { translate: 0% -80%; }
    50% { translate: 0%, 20%; }
    70% { translate: 0%, -20%; }
    80%, 100% { translate: 0, 0;}
}

.crouch{
    animation: crouch 0.5s;
    /* When the animation is finished, start again with: infinite */
    animation-iteration-count:1;
}


@keyframes crouch{
    20% { translate: 0px, -4px; scale: 1, 0.5;}
    40% { translate: -2px -40px; scale: 1, 0.5;}
    50% { translate: -2px, -80px; scale: 1, 0.5;}
    70% { translate: -2px, -20px; scale: 1, 0.5;}
    80%, 100% { translate: 0, 0; scale: 1, 0.5;}
}

.button{
    align-items: center;
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 50px;
}

button{
    color: #ffffff;
    background-color: #6200AF;
    width: 50px;
    height: 50px;
    font-size: 20px;
    font-family: "Alegreya Sans SC", sans-serif;
    font-weight: 400;
    font-style: normal;
}

button:hover, button:focus{
    background-color: #CC2098;
}