/* *
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */
/* body
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #050505;
} */
.cube
{
    justify-content: center;
    position: relative;
    width: 150px;
    height: 150px;
    transform-style: preserve-3d;
    transform: rotateX(-30deg);
    animation: animate 10s linear infinite;
}
@keyframes animate 
{
    0%{
        transform: rotateX(-30deg) rotateY(0deg);
    }
    100%{
        transform: rotateX(-30deg) rotateY(360deg);
    }
}

.cube div
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}
.cube div span
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#151515, #00ec00);
    transform: rotateY(calc(90deg * var(--i))) translateZ(75px);
}
.top
{
position: absolute;
top: 0;
left: 0;
width: 150px;
height: 150px;
background: #222;
transform: rotateX(90deg) translateZ(75px);
}
.top::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: #0f0;
    transform: translateZ(-200px);
    filter: blur(20px);
    box-shadow: 0 0 120px rgba(0, 255, 0, 0.2),
    0 0 120px rgba(0, 255, 0, 0.4),
    0 0 120px rgba(0, 255, 0, 0.6),
    0 0 120px rgba(0, 255, 0, 0.8),
    0 0 120px rgba(0, 255, 0, 1);
}
.teks
{
    margin-top: 50px;
    /* text-align: center; */
    text-shadow: #00ec00;
    color: #00ec00;
    /* align-items: middle; */
}
.cube div span h1{
    color: #00ec00;
    text-align: center;
    margin-top: 100px;
}
.cube div span h2{
    color: #0023ec;
    text-align: center;
    margin-top: 100px;
}
.cube div span h3{
    color: #00ec00;
    text-align: center;
    margin-top: 100px;
}
.cube div span h5{
    color: #0053ec;
    text-align: center;
    margin-top: 75px;
}



.cube1
{
    justify-content: center;
    position: relative;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    transform: rotateX(-30deg);
    animation: animate 4s linear infinite;
}
@keyframes animate 
{
    0%{
        transform: rotateX(-30deg) rotateY(0deg);
    }
    100%{
        transform: rotateX(-30deg) rotateY(360deg);
    }
}

.cube1 div
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}
.cube1 div span
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#151515, #ec1000);
    transform: rotateY(calc(90deg * var(--i))) translateZ(50px);
}
.top1
{
position: absolute;
top: 0;
left: 0;
width: 100px;
height: 100px;
background: #222;
transform: rotateX(90deg) translateZ(50px);
}
.top1::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: rgb(255, 0, 0);
    transform: translateZ(-120px);
    filter: blur(20px);
    box-shadow: 0 0 120px rgba(255, 0, 0, 0.2),
    0 0 120px rgba(255, 30, 0, 0.4),
    0 0 120px rgba(255, 0, 0, 0.6),
    0 0 120px rgba(255, 0, 0, 0.8),
    0 0 120px rgb(255, 8, 0);
}

.cube2
{
    justify-content: center;
    position: relative;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    transform: rotateX(-30deg);
    animation: animate 2s linear infinite;
}
@keyframes animate 
{
    0%{
        transform: rotateX(-30deg) rotateY(0deg);
    }
    100%{
        transform: rotateX(-30deg) rotateY(360deg);
    }
}

.cube2 div
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}
.cube2 div span
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#151515, #ecdc00);
    transform: rotateY(calc(90deg * var(--i))) translateZ(50px);
}
.top2
{
position: absolute;
top: 0;
left: 0;
width: 100px;
height: 100px;
background: #222;
transform: rotateX(90deg) translateZ(50px);
}
.top2::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: rgb(255, 251, 0);
    transform: translateZ(-120px);
    filter: blur(20px);
    box-shadow: 0 0 120px rgba(251, 255, 0, 0.2),
    0 0 120px rgba(251, 255, 0, 0.4),
    0 0 120px rgba(251, 255, 0, 0.6),
    0 0 120px rgba(251, 255, 0, 0.8),
    0 0 120px rgb(255, 238, 0);
}