.frame {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    margin-top: -200px;
    margin-left: -200px;
    border-radius: 2px;
    -webkit-box-shadow: 1px 2px 10px 0px rgba(0, 0, 0, 0.3);
            box-shadow: 1px 2px 10px 0px rgba(0, 0, 0, 0.3);
    background: #272C34;
    color: #fff;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
}

.circle {
    position: relative;
    overflow: hidden;
    -webkit-clip-path: circle(90px at 90px 90px);
    clip-path: circle(90px at 90px 90px);
    width: 180px;
    height: 180px;
    border-radius: 50%;
}

.circle .sky {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
    height: 124px;
    background: #7DDFFC;
    -webkit-animation: sky-turns-black 4s cubic-bezier(0.4, 0, 0.49, 1) infinite;
    animation: sky-turns-black 4s cubic-bezier(0.4, 0, 0.49, 1) infinite;
}

.circle .sun {
    position: absolute;
    z-index: 2;
    top: 7px;
    left: 73px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #FFEF00;
    -webkit-transform-origin: 50% 400%;
    -ms-transform-origin: 50% 400%;
        transform-origin: 50% 400%;
    -webkit-animation: sun-goes-down 4s cubic-bezier(0.4, 0, 0.49, 1) infinite;
    animation: sun-goes-down 4s cubic-bezier(0.4, 0, 0.49, 1) infinite;
}

.circle .side-left {
    position: absolute;
    top: 67px;
    left: 35px;
    height: 57px;
    width: 116px;
    background: #F4F4F4;
    -webkit-clip-path: polygon(0% 100%, 100% 100%, 50% 0%);
    clip-path: polygon(0% 100%, 100% 100%, 50% 0%);
    -webkit-animation: pyramide-shading 4s cubic-bezier(0.4, 0, 0.49, 1) infinite;
    animation: pyramide-shading 4s cubic-bezier(0.4, 0, 0.49, 1) infinite;
}

.circle .side-right {
    position: absolute;
    top: 67px;
    left: 93px;
    height: 57px;
    width: 58px;
    background: #DDDADA;
    -webkit-clip-path: polygon(30% 100%, 100% 100%, 0% 0%);
    clip-path: polygon(30% 100%, 100% 100%, 0% 0%);
    animation: pyramide-shading 4s cubic-bezier(0.4, 0, 0.49, 1) infinite reverse;
}

.circle .shadow {
    position: absolute;
    z-index: 2;
    top: 124px;
    left: -80px;
    height: 30px;
    width: 360px;
    background: rgba(0, 0, 0, 0.2);
    -webkit-transform-origin: 50% 0%;
    -ms-transform-origin: 50% 0%;
        transform-origin: 50% 0%;
    -webkit-clip-path: polygon(115px 0%, 231px 0%, 80% 100%);
    clip-path: polygon(115px 0%, 231px 0%, 80% 100%);
    -webkit-animation: shadow-on-the-floor 4s cubic-bezier(0.4, 0, 0.49, 1) infinite;
    animation: shadow-on-the-floor 4s cubic-bezier(0.4, 0, 0.49, 1) infinite;
}

.circle .ground {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #F0DE75;
    -webkit-animation: fading-sand 4s cubic-bezier(0.4, 0, 0.49, 1) infinite;
    animation: fading-sand 4s cubic-bezier(0.4, 0, 0.49, 1) infinite;
}

@-webkit-keyframes sun-goes-down {
    0% {
        background: #F57209;
        -webkit-transform: rotate(-70deg);
        transform: rotate(-70deg);
    }

    30% {
        background: #FFEF00;
        -webkit-transform: rotate(-28deg);
        transform: rotate(-28deg);
    }

    70% {
        background: #FFEF00;
    }

    100% {
        background: #F57209;
        -webkit-transform: rotate(70deg);
        transform: rotate(70deg);
    }
}

@keyframes sun-goes-down {
    0% {
        background: #F57209;
        -webkit-transform: rotate(-70deg);
        transform: rotate(-70deg);
    }

    30% {
        background: #FFEF00;
        -webkit-transform: rotate(-28deg);
        transform: rotate(-28deg);
    }

    70% {
        background: #FFEF00;
    }

    100% {
        background: #F57209;
        -webkit-transform: rotate(70deg);
        transform: rotate(70deg);
    }
}

@-webkit-keyframes sky-turns-black {
    0% {
        background: #272C34;
    }

    30% {
        background: #7DDFFC;
    }

    70% {
        background: #7DDFFC;
    }

    100% {
        background: #272C34;
    }
}

@keyframes sky-turns-black {
    0% {
        background: #272C34;
    }

    30% {
        background: #7DDFFC;
    }

    70% {
        background: #7DDFFC;
    }

    100% {
        background: #272C34;
    }
}

@-webkit-keyframes pyramide-shading {
    0% {
        background: #272C34;
    }

    30% {
        background: #F4F4F4;
    }

    70% {
        background: #DDDADA;
    }

    100% {
        background: #272C34;
    }
}

@keyframes pyramide-shading {
    0% {
        background: #272C34;
    }

    30% {
        background: #F4F4F4;
    }

    70% {
        background: #DDDADA;
    }

    100% {
        background: #272C34;
    }
}

@-webkit-keyframes shadow-on-the-floor {
    0% {
        -webkit-transform: scaleY(0);
        transform: scaleY(0);
        -webkit-clip-path: polygon(115px 0%, 231px 0%, 100% 100%);
        clip-path: polygon(115px 0%, 231px 0%, 100% 100%);
    }

    30% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
        -webkit-clip-path: polygon(115px 0%, 231px 0%, 80% 100%);
        clip-path: polygon(115px 0%, 231px 0%, 80% 100%);
    }

    55% {
        -webkit-transform: scaleY(0.4);
        transform: scaleY(0.4);
    }

    75% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }

    100% {
        -webkit-transform: scaleY(0);
        transform: scaleY(0);
        -webkit-clip-path: polygon(115px 0%, 231px 0%, 0% 100%);
        clip-path: polygon(115px 0%, 231px 0%, 0% 100%);
    }
}

@keyframes shadow-on-the-floor {
    0% {
        -webkit-transform: scaleY(0);
        transform: scaleY(0);
        -webkit-clip-path: polygon(115px 0%, 231px 0%, 100% 100%);
        clip-path: polygon(115px 0%, 231px 0%, 100% 100%);
    }

    30% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
        -webkit-clip-path: polygon(115px 0%, 231px 0%, 80% 100%);
        clip-path: polygon(115px 0%, 231px 0%, 80% 100%);
    }

    55% {
        -webkit-transform: scaleY(0.4);
        transform: scaleY(0.4);
    }

    75% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }

    100% {
        -webkit-transform: scaleY(0);
        transform: scaleY(0);
        -webkit-clip-path: polygon(115px 0%, 231px 0%, 0% 100%);
        clip-path: polygon(115px 0%, 231px 0%, 0% 100%);
    }
}

@-webkit-keyframes fading-sand {
    0% {
        background: #272C34;
    }

    30% {
        background: #F0DE75;
    }

    70% {
        background: #F0DE75;
    }

    100% {
        background: #272C34;
    }
}

@keyframes fading-sand {
    0% {
        background: #272C34;
    }

    30% {
        background: #F0DE75;
    }

    70% {
        background: #F0DE75;
    }

    100% {
        background: #272C34;
    }
}