body main{
    background: #000!important;
}
body main .scene{

    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    transform: translate(-20%, 0);
}

body.no-cover header{
    background-color: #141414!important;
}

main .info-404 {
    color: #fff;
    position: absolute;
    top: 120px;
    height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    left: 50vw;
    width: 30vw;
    background-color: rgba(0,0,0,0.8);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    font-family: var(--content-font-family);
    font-size: var(--content-font-size);
    font-weight: var(--content-font-weight);
}

main .info-404 nav .button{
    background: #fff;
    color: #000;
    border-radius: 10em;
    font-size: var(--font-size);
}

main .info-404 h1,
main .info-404 h2{
    font-family: var(--font-family-sans);
    margin: 0;
    line-height: 1;
}

main .info-404 h2{
    margin-bottom: 1em;
}

main .info-404 h1{
    font-weight: 900;
    text-transform: uppercase;

}

div {
    transform-style: preserve-3d;
}

.rail {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotateX(-30deg) rotateY(-30deg);
}
.rail .stamp {
    position: absolute;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #141414;
    color: #fff;
    font-size: 7rem;
}
.rail .stamp:nth-child(1) {
    -webkit-animation: stampSlide 40000ms -2300ms linear infinite;
    animation: stampSlide 40000ms -2300ms linear infinite;
}
.rail .stamp:nth-child(2) {
    -webkit-animation: stampSlide 40000ms -4300ms linear infinite;
    animation: stampSlide 40000ms -4300ms linear infinite;
}
.rail .stamp:nth-child(3) {
    -webkit-animation: stampSlide 40000ms -6300ms linear infinite;
    animation: stampSlide 40000ms -6300ms linear infinite;
}
.rail .stamp:nth-child(4) {
    -webkit-animation: stampSlide 40000ms -8300ms linear infinite;
    animation: stampSlide 40000ms -8300ms linear infinite;
}
.rail .stamp:nth-child(5) {
    -webkit-animation: stampSlide 40000ms -10300ms linear infinite;
    animation: stampSlide 40000ms -10300ms linear infinite;
}
.rail .stamp:nth-child(6) {
    -webkit-animation: stampSlide 40000ms -12300ms linear infinite;
    animation: stampSlide 40000ms -12300ms linear infinite;
}
.rail .stamp:nth-child(7) {
    -webkit-animation: stampSlide 40000ms -14300ms linear infinite;
    animation: stampSlide 40000ms -14300ms linear infinite;
}
.rail .stamp:nth-child(8) {
    -webkit-animation: stampSlide 40000ms -16300ms linear infinite;
    animation: stampSlide 40000ms -16300ms linear infinite;
}
.rail .stamp:nth-child(9) {
    -webkit-animation: stampSlide 40000ms -18300ms linear infinite;
    animation: stampSlide 40000ms -18300ms linear infinite;
}
.rail .stamp:nth-child(10) {
    -webkit-animation: stampSlide 40000ms -20300ms linear infinite;
    animation: stampSlide 40000ms -20300ms linear infinite;
}
.rail .stamp:nth-child(11) {
    -webkit-animation: stampSlide 40000ms -22300ms linear infinite;
    animation: stampSlide 40000ms -22300ms linear infinite;
}
.rail .stamp:nth-child(12) {
    -webkit-animation: stampSlide 40000ms -24300ms linear infinite;
    animation: stampSlide 40000ms -24300ms linear infinite;
}
.rail .stamp:nth-child(13) {
    -webkit-animation: stampSlide 40000ms -26300ms linear infinite;
    animation: stampSlide 40000ms -26300ms linear infinite;
}
.rail .stamp:nth-child(14) {
    -webkit-animation: stampSlide 40000ms -28300ms linear infinite;
    animation: stampSlide 40000ms -28300ms linear infinite;
}
.rail .stamp:nth-child(15) {
    -webkit-animation: stampSlide 40000ms -30300ms linear infinite;
    animation: stampSlide 40000ms -30300ms linear infinite;
}
.rail .stamp:nth-child(16) {
    -webkit-animation: stampSlide 40000ms -32300ms linear infinite;
    animation: stampSlide 40000ms -32300ms linear infinite;
}
.rail .stamp:nth-child(17) {
    -webkit-animation: stampSlide 40000ms -34300ms linear infinite;
    animation: stampSlide 40000ms -34300ms linear infinite;
}
.rail .stamp:nth-child(18) {
    -webkit-animation: stampSlide 40000ms -36300ms linear infinite;
    animation: stampSlide 40000ms -36300ms linear infinite;
}
.rail .stamp:nth-child(19) {
    -webkit-animation: stampSlide 40000ms -38300ms linear infinite;
    animation: stampSlide 40000ms -38300ms linear infinite;
}
.rail .stamp:nth-child(20) {
    -webkit-animation: stampSlide 40000ms -40300ms linear infinite;
    animation: stampSlide 40000ms -40300ms linear infinite;
}

@-webkit-keyframes stampSlide {
    0% {
        transform: rotateX(90deg) rotateZ(-90deg) translateZ(-200px) translateY(130px);
    }
    100% {
        transform: rotateX(90deg) rotateZ(-90deg) translateZ(-200px) translateY(-3870px);
    }
}

@keyframes stampSlide {
    0% {
        transform: rotateX(90deg) rotateZ(-90deg) translateZ(-200px) translateY(130px);
    }
    100% {
        transform: rotateX(90deg) rotateZ(-90deg) translateZ(-200px) translateY(-3870px);
    }
}
.world {
    transform: rotateX(-30deg) rotateY(-30deg);
}
.world .forward {
    position: absolute;
    -webkit-animation: slide 2000ms linear infinite;
    animation: slide 2000ms linear infinite;
}
.world .box {
    width: 200px;
    height: 200px;
    transform-origin: 100% 100%;
    -webkit-animation: roll 2000ms cubic-bezier(1, 0.01, 1, 1) infinite;
    animation: roll 2000ms cubic-bezier(1, 0.01, 1, 1) infinite;
}
.world .box .wall {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid #fafafa;
    box-sizing: border-box;
}
.world .box .wall::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 7rem;
}
.world .box .wall:nth-child(1) {
    transform: translateZ(100px);
}
.world .box .wall:nth-child(2) {
    transform: rotateX(180deg) translateZ(100px);
}
.world .box .wall:nth-child(3) {
    transform: rotateX(90deg) translateZ(100px);
}
.world .box .wall:nth-child(3)::before {
    transform: rotateX(180deg) rotateZ(90deg) translateZ(-1px);
    -webkit-animation: zeroFour 4000ms -2000ms linear infinite;
    animation: zeroFour 4000ms -2000ms linear infinite;
}
.world .box .wall:nth-child(4) {
    transform: rotateX(-90deg) translateZ(100px);
}
.world .box .wall:nth-child(4)::before {
    transform: rotateX(180deg) rotateZ(-90deg) translateZ(-1px);
    -webkit-animation: zeroFour 4000ms -2000ms linear infinite;
    animation: zeroFour 4000ms -2000ms linear infinite;
}
.world .box .wall:nth-child(5) {
    transform: rotateY(90deg) translateZ(100px);
}
.world .box .wall:nth-child(5)::before {
    transform: rotateX(180deg) translateZ(-1px);
    -webkit-animation: zeroFour 4000ms linear infinite;
    animation: zeroFour 4000ms linear infinite;
}
.world .box .wall:nth-child(6) {
    transform: rotateY(-90deg) translateZ(100px);
}
.world .box .wall:nth-child(6)::before {
    transform: rotateX(180deg) rotateZ(180deg) translateZ(-1px);
    -webkit-animation: zeroFour 4000ms linear infinite;
    animation: zeroFour 4000ms linear infinite;
}

@-webkit-keyframes zeroFour {
    0% {
        content: "4";
    }
    100% {
        content: "0";
    }
}

@keyframes zeroFour {
    0% {
        content: "4";
    }
    100% {
        content: "0";
    }
}
@-webkit-keyframes roll {
    0% {
        transform: rotateZ(0deg);
    }
    85% {
        transform: rotateZ(90deg);
    }
    87% {
        transform: rotateZ(88deg);
    }
    90% {
        transform: rotateZ(90deg);
    }
    100% {
        transform: rotateZ(90deg);
    }
}
@keyframes roll {
    0% {
        transform: rotateZ(0deg);
    }
    85% {
        transform: rotateZ(90deg);
    }
    87% {
        transform: rotateZ(88deg);
    }
    90% {
        transform: rotateZ(90deg);
    }
    100% {
        transform: rotateZ(90deg);
    }
}
@-webkit-keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-200px);
    }
}
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-200px);
    }
}