﻿
@keyframes rotcircles {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(90deg);
    }

    50% {
        transform: rotate(180deg);
    }

    75% {
        transform: rotate(270deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.circle {
    border-style: solid;
    border-width: 5px;
    border-radius: 50%;
    border-color: transparent transparent rgb(255, 255, 255);
    display: table-cell;
    text-align: center;
    margin: 0px;
    animation-name: rotcircles;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-delay: 0.5s;
}

.floatingDot {
    position: absolute;
    top: 50%;
    left: -10%;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 0%;
    animation-name: floatDot;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    /*animation-timing-function: ease;*/
    animation-direction: normal;
}

.flatDot {
    position: absolute;
    top: 50%;
    left: -10%;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 0%;
    animation-name: flatdot;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    /*animation-timing-function: ease;*/
    animation-direction: normal;
}

.cdHolderBox {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 50px;
    height: 50px;
    transform: translate(-25px, -25px);
    overflow: hidden;
}

.coasterDot {
    background-color: #646464;
    border-radius: 50%;
    margin: 0;
    padding: 0;
    position: absolute;
}

/* Win10 coasterDot animation */
@-moz-keyframes coasterDots {
    0% {
        -moz-transform: rotate(0deg); -moz-animation-timing-function:ease-out;
    }

    20% {
        -moz-transform: rotate(100deg); -moz-animation-timing-function: linear;
    }
    
    80% {
        -moz-transform: rotate(220deg); -moz-animation-timing-function: linear;
    }

    100% {
        -moz-transform: rotate(360deg); -moz-animation-timing-function:unset; 
    }
}

@-webkit-keyframes coasterDots {
    0% {
        -webkit-transform: rotate(0deg);
        -webkit-animation-timing-function: ease-out;
    }

    20% {
        -webkit-transform: rotate(100deg); -webkit-animation-timing-function: linear;
    }
    
    80% {
        -webkit-transform: rotate(220deg); -webkit-animation-timing-function: linear;
    }

    100% {
        -webkit-transform: rotate(360deg);-webkit-animation-timing-function:unset; 
    }
}

@keyframes coasterDots {
    0% {
        transform: rotate(0deg); animation-timing-function:ease-out;
    }

    20% {
        transform: rotate(100deg); animation-timing-function: linear;
    }
    
    80% {
        transform: rotate(220deg); animation-timing-function: linear;
    }

    100% {
        transform: rotate(360deg);animation-timing-function:unset; 
    }
}

/* circle animation */
@keyframes rotatingCircles3 {
    0% {
        transform: rotate(0deg) scale(1,1);
    }

    50% {
        transform: rotate(180deg) scale(0.5,0.5);
    }

    100% {
        transform: rotate(360deg) scale(1,1);
    }
}

@keyframes rotatingCircles1 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotatingCircles2 {
    0% {
        transform: rotate(0deg) scale(1,1);
        border-bottom-color: white;
        border-top-color: transparent;
    }

    50% {
        transform: rotate(180deg) scale(0.5,0.5);
        border-bottom-color: transparent;
        border-top-color: white;
    }

    100% {
        transform: rotate(360deg) scale(1,1);
        border-bottom-color: white;
        border-top-color: transparent;
    }
}

@keyframes rotatingCircles {
    0% {
        transform: rotate(0deg);
        border-color: transparent transparent #fff transparent;
    }

    25% {
        transform: rotate(50deg);
        border-color: transparent transparent transparent #fff;
    }

    50% {
        transform: rotate(180deg);
        border-color: #fff transparent transparent transparent;
    }

    75% {
        transform: rotate(310deg);
        border-color: transparent #fff transparent transparent;
    }

    100% {
        transform: rotate(360deg);
        border-color: transparent transparent #fff transparent;
    }
}

@keyframes floatDot1 {
    0% {
        left: -5%;
    }

    50% {
        left: 50%;
        height: 50px;
    }

    100% {
        left: 105%;
    }
}

@keyframes floatDot {
    0% {
        left: -5%;
        transform: scale(2.5,1);
        animation-timing-function: ease;
        background-color: rgba(70,130,255,0.5);
        z-index: 1;
    }

    30% {
        left: 65%;
        transform: scale(1.1,4);
        animation-timing-function: ease-in;
        z-index: 2;
    }

    53% {
        left: 50%;
        transform: scale(5.7,5.5);
        animation-timing-function: ease-out;
        background-color: rgba(140,230,255,1);
        z-index: 3;
    }

    75% {
        left: 35%;
        transform: scale(1.1,4);
        animation-timing-function: ease-in;
        z-index: 2;
    }

    100% {
        left: 105%;
        transform: scale(2.5,1);
        animation-timing-function: ease;
        background-color: rgba(70,130,255,0.5);
        z-index: 1;
    }
}

@keyframes flatdot {
    0% {
        left: -7%;
        animation-timing-function: ease-out;
    }

    30% {
        left: 35%;
        animation-timing-function: linear;
    }

    70% {
        left: 65%;
        
    }

    100% {
        left: 107%;
        animation-timing-function: ease-out;
    }
}

