﻿@keyframes roundandround {
    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

@keyframes show {
    to {
        opacity: 1;
    }
}


.ringscene {
    /* 

    SET IN SPECIFIC CONTROL
    width: 500px;
    height: 500px;

    */
    margin: 2% auto;
    perspective: 1000px;
}

.ringwrapper {
    width: 100%;
    height: 100%;
    transform: rotateX(45deg) rotateY(45deg);
    transform-style: preserve-3d;
}

.ringball {
    position: relative;
    width: 70%;
    height: 70%;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: roundandround 7.5s 1.3s infinite linear;
}

    .ringball .yellowring {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 3px;
        border-style: dotted;
        border-radius: 50%;
        opacity: 0;
        animation: show 0.75s forwards ease-in-out;
    }
    .ringball .redring {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 3px;
        border-style: dotted;
        border-radius: 50%;
        opacity: 0;
        animation: show 0.75s forwards ease-in-out;
    }
    .ringball .purplering {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 3px;
        border-style: dotted;
        border-radius: 50%;
        opacity: 0;
        animation: show 0.75s forwards ease-in-out;
    }
.yellowring:nth-child(1) {
    color: #fdb913;
    transform: rotateY(4deg);
    animation-delay: 0s;
}

.yellowring:nth-child(2) {
    color: #fdb913;
    transform: rotateY(8deg);
    animation-delay: 0.1s;
}

.yellowring:nth-child(3) {
    color: #fdb913;
    transform: rotateY(12deg);
    animation-delay: 0.2s;
}

.yellowring:nth-child(4) {
    color: #fdb913;
    transform: rotateY(16deg);
    animation-delay: 0.3s;
}

.yellowring:nth-child(5) {
    color: #fdb913;
    transform: rotateY(20deg);
    animation-delay: 0.4s;
}

.yellowring:nth-child(6) {
    color: #fdb913;
    transform: rotateY(24deg);
    animation-delay: 0.5s;
}

.yellowring:nth-child(7) {
    color: #fdb913;
    transform: rotateY(28deg);
    animation-delay: 0.6s;
}

.yellowring:nth-child(8) {
    color: #fdb913;
    transform: rotateY(32deg);
    animation-delay: 0.7s;
}

.yellowring:nth-child(9) {
    color: #fdb913;
    transform: rotateY(36deg);
    animation-delay: 0.8s;
}

.yellowring:nth-child(10) {
    color: #fdb913;
    transform: rotateY(40deg);
    animation-delay: 0.9s;
}

.yellowring:nth-child(11) {
    color: #fdb913;
    transform: rotateY(44deg);
    animation-delay: 1s;
}

.yellowring:nth-child(12) {
    color: #fdb913;
    transform: rotateY(48deg);
    animation-delay: 1.1s;
}

.yellowring:nth-child(13) {
    color: #fdb913;
    transform: rotateY(52deg);
    animation-delay: 1s;
}

.yellowring:nth-child(14) {
    color: #fdb913;
    transform: rotateY(56deg);
    animation-delay: 1.1s;
}

.yellowring:nth-child(15) {
    color: #fdb913;
    transform: rotateY(60deg);
    animation-delay: 1.2s;
}

.yellowring:nth-child(16) {
    color: #fdb913;
    transform: rotateY(64deg);
    animation-delay: 1.3s;
}

.yellowring:nth-child(17) {
    color: #fdb913;
    transform: rotateY(68deg);
    animation-delay: 1.4s;
}

.yellowring:nth-child(18) {
    color: #fdb913;
    transform: rotateY(72deg);
    animation-delay: 1.5s;
}

.yellowring:nth-child(19) {
    color: #fdb913;
    transform: rotateY(76deg);
    animation-delay: 1.6s;
}

.yellowring:nth-child(20) {
    color: #fdb913;
    transform: rotateY(80deg);
    animation-delay: 1.7s;
}

.yellowring:nth-child(21) {
    color: #fdb913;
    transform: rotateY(84deg);
    animation-delay: 1.8s;
}


.redring:nth-child(1) {
    color: #ed174c;
    transform: rotateY(70deg);
    animation-delay: 0s;
}

.redring:nth-child(2) {
    color: #ed174c;
    transform: rotateY(74deg);
    animation-delay: 0.1s;
}

.redring:nth-child(3) {
    color: #ed174c;
    transform: rotateY(78deg);
    animation-delay: 0.2s;
}

.redring:nth-child(4) {
    color: #ed174c;
    transform: rotateY(82deg);
    animation-delay: 0.3s;
}

.redring:nth-child(5) {
    color: #ed174c;
    transform: rotateY(86deg);
    animation-delay: 0.4s;
}

.redring:nth-child(6) {
    color: #ed174c;
    transform: rotateY(90deg);
    animation-delay: 0.5s;
}

.redring:nth-child(7) {
    color: #ed174c;
    transform: rotateY(94deg);
    animation-delay: 0.6s;
}

.redring:nth-child(8) {
    color: #ed174c;
    transform: rotateY(98deg);
    animation-delay: 0.7s;
}

.redring:nth-child(9) {
    color: #ed174c;
    transform: rotateY(102deg);
    animation-delay: 0.8s;
}

.redring:nth-child(10) {
    color: #ed174c;
    transform: rotateY(106deg);
    animation-delay: 0.9s;
}

.redring:nth-child(11) {
    color: #ed174c;
    transform: rotateY(110deg);
    animation-delay: 1s;
}

.redring:nth-child(12) {
    color: #ed174c;
    transform: rotateY(114deg);
    animation-delay: 1.1s;
}

.redring:nth-child(13) {
    color: #ed174c;
    transform: rotateY(118deg);
    animation-delay: 1s;
}

.redring:nth-child(14) {
    color: #ed174c;
    transform: rotateY(122deg);
    animation-delay: 0.9s;
}

.redring:nth-child(15) {
    color: #ed174c;
    transform: rotateY(126deg);
    animation-delay: 0.8s;
}

.redring:nth-child(16) {
    color: #ed174c;
    transform: rotateY(130deg);
    animation-delay: 0.7s;
}

.redring:nth-child(17) {
    color: #ed174c;
    transform: rotateY(134deg);
    animation-delay: 0.6s;
}

.redring:nth-child(18) {
    color: #ed174c;
    transform: rotateY(138deg);
    animation-delay: 0.5s;
}

.redring:nth-child(19) {
    color: #ed174c;
    transform: rotateY(142deg);
    animation-delay: 0.4s;
}

.redring:nth-child(20) {
    color: #ed174c;
    transform: rotateY(146deg);
    animation-delay: 0.3s;
}

.redring:nth-child(21) {
    color: #ed174c;
    transform: rotateY(150deg);
    animation-delay: 0.2s;
}


.purplering:nth-child(1) {
    color: #7d1d61;
    transform: rotateY(4deg);
    animation-delay: 0s;
}

.purplering:nth-child(2) {
    color: #7d1d61;
    transform: rotateY(8deg);
    animation-delay: 0.1s;
}

.purplering:nth-child(3) {
    color: #ed174c;
    transform: rotateY(12deg);
    animation-delay: 0.2s;
}

.purplering:nth-child(4) {
    color: #ed174c;
    transform: rotateY(16deg);
    animation-delay: 0.3s;
}

.purplering:nth-child(5) {
    color: #ed174c;
    transform: rotateY(20deg);
    animation-delay: 0.4s;
}

.purplering:nth-child(6) {
    color: #7d1d61;
    transform: rotateY(24deg);
    animation-delay: 0.5s;
}

.purplering:nth-child(7) {
    color: #7d1d61;
    transform: rotateY(28deg);
    animation-delay: 0.6s;
}

.purplering:nth-child(8) {
    color: #7d1d61;
    transform: rotateY(32deg);
    animation-delay: 0.7s;
}

.purplering:nth-child(9) {
    color: #7d1d61;
    transform: rotateY(36deg);
    animation-delay: 0.8s;
}

.purplering:nth-child(10) {
    color: #7d1d61;
    transform: rotateY(40deg);
    animation-delay: 0.9s;
}

.purplering:nth-child(11) {
    color: #7d1d61;
    transform: rotateY(44deg);
    animation-delay: 1s;
}

.purplering:nth-child(12) {
    color: #7d1d61;
    transform: rotateY(48deg);
    animation-delay: 1.1s;
}

.purplering:nth-child(13) {
    color: #7d1d61;
    transform: rotateY(52deg);
    animation-delay: 1s;
}

.purplering:nth-child(14) {
    color: #7d1d61;
    transform: rotateY(56deg);
    animation-delay: 0.9s;
}

.purplering:nth-child(15) {
    color: #7d1d61;
    transform: rotateY(60deg);
    animation-delay: 0.8s;
}

.purplering:nth-child(16) {
    color: #7d1d61;
    transform: rotateY(64deg);
    animation-delay: 0.7s;
}

.purplering:nth-child(17) {
    color: #7d1d61;
    transform: rotateY(68deg);
    animation-delay: 0.6s;
}

.purplering:nth-child(18) {
    color: #ed174c;
    transform: rotateY(72deg);
    animation-delay: 0.5s;
}

.purplering:nth-child(19) {
    color: #ed174c;
    transform: rotateY(76deg);
    animation-delay: 0.4s;
}

.purplering:nth-child(20) {
    color: #ed174c;
    transform: rotateY(80deg);
    animation-delay: 0.3s;
}

.purplering:nth-child(21) {
    color: #ed174c;
    transform: rotateY(84deg);
    animation-delay: 0.2s;
}
.purplering:nth-child(22) {
    color: #ed174c;
    transform: rotateY(88deg);
    animation-delay: 0.1s;
}

.purplering:nth-child(23) {
    color: #fdb913;
    transform: rotateY(92deg);
    animation-delay: 0.2s;
}

.purplering:nth-child(24) {
    color: #fdb913;
    transform: rotateY(96deg);
    animation-delay: 0.3s;
}

.purplering:nth-child(25) {
    color: #fdb913;
    transform: rotateY(100deg);
    animation-delay: 0.4s;
}

.purplering:nth-child(26) {
    color: #ed174c;
    transform: rotateY(104deg);
    animation-delay: 0.5s;
}

.purplering:nth-child(27) {
    color: #ed174c;
    transform: rotateY(108deg);
    animation-delay: 0.6s;
}
.purplering:nth-child(28) {
    color: #ed174c;
    transform: rotateY(112deg);
    animation-delay: 0.6s;
}
.purplering:nth-child(29) {
    color: #fdb913;
    transform: rotateY(116deg);
    animation-delay: 0.6s;
}
.purplering:nth-child(30) {
    color: #fdb913;
    transform: rotateY(120deg);
    animation-delay: 0.6s;
}
.purplering:nth-child(31) {
    color: #fdb913;
    transform: rotateY(124deg);
    animation-delay: 0.6s;
}

