body {
    justify-items: center;
    height: 100vh;
    background-color: black;
    flex-direction: column;
    margin: var(--topMargin);
}
.cube {
    transform-style: preserve-3d;
    transform: rotateX(45deg) rotateY(0deg) rotateZ(45deg);
    animation: showoff 3s linear 0s infinite normal forwards;
    margin-top: 100px;

    div {
        height: 200px;
        width: 200px;
        text-align: center;
        align-content: center;
        background: linear-gradient(to bottom right, red, yellow, purple);
        opacity: .3;
        box-shadow: inset 0px 0px 4px white;
        position: absolute;
        /* backface-visibility: hidden; */
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
        font-size: 50px;
        font-weight: 800;
        color: brown;
        text-shadow: 4px 4px 2px wheat;
        padding: 0;
    }
}
.cube::before {
    content: "Nolzy";
    position: absolute;
    width: 168px;
    height: 168px;
    left: 16px;
    top: 16px;
    color: whitesmoke;
    text-align: center;
    align-content: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 60px;
    transform-origin: center;
    transform: rotateZ(-45deg) rotateX(-45deg) rotateY(160deg);
    animation: keepthere 3s linear 0s infinite normal forwards;
    /* box-shadow: inset 0 0 5px whitesmoke; */
    text-shadow: 0px 6px 0 black;
}
#face1 {
    top: 200px;
    transform-origin: top;
    transform: translateZ(100px) rotateX(-90deg);

}
#face2 {
    bottom: 0px;
    transform-origin: bottom;
    transform: translateZ(100px) rotateX(90deg);
}
#face3 {
    right: 0px;
    transform-origin: right;
    transform: translateZ(100px) rotateY(-90deg);
}
#face4 {
    left: 200px;
    transform-origin: left;
    transform: translateZ(100px) rotateY(90deg);
}
#face5 {
    transform: translateZ(100px);
}
#face6 {
    transform: translateZ(-100px) rotateY(180deg);
}
@keyframes showoff {
    from {
        transform: rotateY(0deg) rotateX(30deg) rotate(20deg);
    }
    to {
        transform: rotateY(360deg) rotateX(30deg) rotate(20deg);
    }

}
@keyframes keepthere {
    from {transform: rotateZ(-45deg) rotateX(-45deg) rotateY(360deg)}
    to {transform: rotateZ(-45deg) rotateX(-45deg) rotateY(0deg)}
    
}

.continuation {
    position: relative;
    color: whitesmoke;
    position: relative;
    top: 400px;
    font-family: 'Cooper Black';
    perspective-origin: 50% 50%;
    perspective: 100px;
    align-content: center;
    text-align: center;

    h1 {
        transform: rotateY(50deg);
        position: relative;
        line-height: 1em;
        perspective-origin: 0 50%;
        perspective: 150px;
        transition: transform 2s ease;
    }

    h1::before {
        content: "This is me!!";
        position: absolute;
        transform-origin: bottom center;
        transform: rotateX(-90deg) scaleY(5) translateZ(-6px);
        color: black;
    }

    h1:hover {
        transform: rotateY(30deg);
    }
}
.continuation::before {
    content: "";
    background-color: darkolivegreen;  
    position: absolute; 
    width: 400px;
    height: 400px;
    left: -30%;
    top: -10%;
    transform: skew(30deg, 30deg);
    border-radius: 0 0 100%;
}