* {
    margin: 0;
    padding: 0;
}

.content {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.container {
    position: relative;
    width: 200px;
    left: 50vw;
    top: 50vh;
    transform: translate(-50%, -50%);
    font-family: 'Roboto', sans-serif;
}

.animation {
    text-align: center;
    font-size: 2rem;
    animation: spin 4s ease-in-out 2.5s infinite;
}

.animation div, .animation div p {
    display: inline-block;
}

.animation div {
    visibility: hidden;
    width: fit-content;
}

.animation div:not(.X) {
    top: 0;
    animation-name: fallDown;
    animation-duration: 0.25s;
    animation-timing-function: ease-in;
}

#W {
    margin-left: 10px;
}

#X {
    position: absolute;
    animation-name: scaleDown;
    animation-duration: 0.2s;
}

.image {
    position: absolute;
    right: -128px;
    bottom: 30vh;
    visibility: hidden;
}

.bear-animation {
    animation: walk 1s linear;
}

@keyframes fallDown {
    from {
        transform: translate(-50%, -60vh);
    }
    to {
        transform: translateY(-50%, 50vh);
    }
}

@keyframes scaleDown {
    from {
        transform: translateY(-99rem);
        font-size: 200rem;
    }
    to {
        transform: translateY(0);
        font-size: 2rem;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes walk {
    from {
        right: -128px;
        bottom: 30vh;
    }
    to {
        right: 15vw;
        bottom: -128px;
    }
}