﻿
/* R O O T  */
:root {
    /*--color1: rgb(0,255,0,0.2);*/
    --color1: rgb(0,255,0,0.2);
    --color2: #151515;
    --shadow: 0 35px rgb(0,0,0,0.2);
}

.lightCubeLarge {
    position: relative;
    width: 350px;
    height: 350px;
    transform-style: preserve-3d;
    transform: rotateX(-30deg);
    margin: 120px auto;
    animation: lightCubeLarge 12s linear infinite;
}

@keyframes lightCubeLarge {
    0% {
        transform: rotateX(-50deg) rotateY(0deg);
    }

    50% {
        transform: rotateX(50deg) rotateY(180deg);
    }

    100% {
        transform: rotateX(-50deg) rotateY(360deg);
    }
}

/*@keyframes lightCubeLarge {
    0% {
        transform: rotateZ(-90deg) rotateY(0deg) rotateX(30deg);
    }



    100% {
        transform: rotateZ(-90deg) rotateY(360deg) rotateX(30deg);
    }
}*/

.lightCubeLarge h1, .lightCubeLarge span i {
    /*position: absolute;
    top: 50px;
    left: 30px;
    font-size: 2em;
    color: #758318;*/
}

.lightCubeLarge img {
    max-width: 350px;
    max-height: 350px;
    margin-left: 0;
}

.lightCubeLarge div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

    .lightCubeLarge div span {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(var(--color1), var(--color2));
        transform: rotateY(calc(90deg * var(--i))) translateZ(175px);
    }

/*img {
    transform: rotateZ(90deg);
}*/

.lightCubeLargeTop {
    position: absolute;
    top: 0;
    left: 0;
    width: 350px;
    height: 350px;
    /*background: #222;*/
    background: linear-gradient(var(--color1), var(--color2));
    transform: rotateX(90deg) translateZ(175px);
}
/*    .lightCubeLargeTop img {
        transform: rotateZ(180deg);
    }*/


    .lightCubeLargeTop::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 350px;
        height: 350px;
        transform: translateZ(100px);
        filter: blur(20px);
        /*        box-shadow: 0 0 120px rgb(0,255,0,0.2), 
                    0 0 200px rgb(0,255,0,1.4), 
                    0 0 300px rgb(0,255,0,0.6), 
                    0 0 400px rgb(0,255,0,0.8), 
                    0 0 500px rgb(0,255,0,1);*/
        /*animation: lightHoverLarge 12s linear infinite;*/
    }

@keyframes lightHoverLarge {
    0%, 100% {
        background: #dce50f;
        transform: translateZ(-380px);
        filter: blur(20px);
        box-shadow: 0 0 120px rgb(0,255,0,0.2), 0 0 200px rgb(0,255,0,1.4), 0 0 300px rgb(0,255,0,0.6), 0 0 400px rgb(0,255,0,0.8), 0 0 500px rgb(0,255,0,1);
    }

    30%,70% {
        background: none;
        box-shadow: none;
    }
}

.lightCubeLargeBottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 350px;
    height: 350px;
    background: linear-gradient(var(--color1), var(--color2));
    /*transform: rotateX(90deg) translateZ(-175px);*/
    transform: rotateX(90deg) rotateZ(0deg) translateZ(-175px);
    /*transform: rotateZ(180deg);*/
    /*box-shadow: var(--shadow);*/
}
/*.lightCubeLargeBottom img {
    transform: rotateZ(0deg);
}*/
