.wrapper-404 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    grid-auto-rows: 200px;
    grid-template-areas: ". center center ." ". center center .";
}

.center {
    grid-area: center;
    align-self: center;
    justify-self: center;
    text-align: center;
}

.card-404 {
    padding-top: 80px;
}

.neko {
    position: absolute;
    left: -80px;
    top: 0;
    bottom: 0;
    right: 0;
    animation: flip 2.5s infinite;
    animation-timing-function: step-end;
}

@keyframes flip {
    0% {
        top: 25px;
    }
    25% {
        top: 0px;
    }
    37.5% {
        top: 25px
    }
    50% {
        transform: rotateY(180deg);
        left: 80px;
    }
    75% {
        top: 0px;
    }
    87.5% {
        top: 25px;
    }
    100% {
        transform: rotateY(0deg);
    }
}