.spinner {
  width: 100px;
  height: 100px;
  margin: 250px 300px ;
  position:fixed;
}
.ball {
  height: 200px;
  width: 200px;
  left: 50%;
  top: 50%;
  background: rgba( 0, 255, 0, .5);
  border-radius: 50%;
  float: left;
  position: absolute;
  -webkit-transition: width 2s ease, height 2s ease;
	-moz-transition: width 2s ease, height 2s ease;
	-o-transition: width 2s ease, height 2s ease;
	-ms-transition: width 2s ease, height 2s ease;
	transition: width 2s ease, height 2s ease;
}
.ball:hover{
  width: 300px;
height: 300px;

}

.ball-1 {
  background: rgba( 255, 0, 0, .5);
  top: 0;
  left: 50%;
  animation: ball1 1s 0s ease infinite;
  z-index: 1;
}

.ball-2 {
  background: rgba( 0, 255, 0, .5);
  top: 50%;
  left: 100%;
  animation: ball2 1s 0s ease infinite;
  z-index: 2;
}

.ball-3 {
  background: rgba( 0, 0, 255, .5);
  top: 100%;
  left: 50%;
  animation: ball3 1s 0s ease infinite;
  z-index: 1;
}

.ball-4 {
  background: rgba( 255, 255, 0, .5);
  top: 50%;
  left: 0%;
  animation: ball4 1s 0s ease infinite;
  z-index: 2;
}

@keyframes ball1 {
  50% {
    top: -100%;
    left: 200%;
    background: rgba( 127, 127, 0, .5);
  }
  100% {
    top: 50%;
    left: 100%;
    background: rgba( 0, 255, 0, .5);
    z-index: 2;
  }
}

@keyframes ball2 {
  50% {
    top: 200%;
    left: 200%;
    background: rgba( 0, 255, 255, .5);
  }
  100% {
    top: 100%;
    left: 50%;
    background: rgba( 0, 0, 255, .5);
    z-index: 1;
  }
}

@keyframes ball3 {
  50% {
    top: 200%;
    left: -100%;
    background: rgba( 255, 0, 255, .5);
  }
  100% {
    top: 50%;
    left: 0%;
    background: rgba( 255, 255, 0, .5);
    z-index: 2;
  }
}

@keyframes ball4 {
  50% {
    top: -100%;
    left: -100%;
    background: rgba( 255, 127, 0, .5);
  }
  100% {
    top: 0%;
    left: 50%;
    background: rgba( 255, 0, 0, .5);
    z-index: 1;
  }
}
.center-point {background-color: black;
    opacity: .5;
    height:100px;
    width:100px;
    margin-left: 100px;
    margin-top: 100px;

    -webkit-border-radius:75px;
    -moz-border-radius:75px;
    -webkit-transition: width 2s ease, height 2s ease, margin-left 2s ease, margin-top 2s ease;
  	-moz-transition: width 2s ease, height 2s ease, margin-left 2s ease, margin-top 2s ease;
  	-o-transition: width 2s ease, height 2s ease, margin-left 2s ease, margin-top 2s ease;
  	-ms-transition: width 2s ease, height 2s ease, margin-left 2s ease, margin-top 2s ease;
  	transition: width 2s ease, height 2s ease, margin-left 2s ease, margin-top 2s ease;
    }

  .center-point:active{  background-color: rgba(204, 0, 102, 0);
      border: 3px solid #000;
      height:500px;
      width:500px;
      opacity: .5;
      margin-left: -100px;
      margin-top:-100px;
      -webkit-border-radius:100px;
      -moz-border-radius:100px;

    }


.orbit1 {
  background-color: rgba(204, 0, 102, 0);
    border: 3px solid #000;
    height:60px;
    width:60px;
    opacity: .5;
    margin-left: 390px;
    -webkit-border-radius:50px;
    -moz-border-radius:50px;
    animation: circle1 10s linear infinite;
    transform-origin:100% 400px;
}

@keyframes circle1 {
    from { transform:rotate(0deg); }
    to { transform:rotate(-360deg); }
}

@keyframes inner-circle {
    from { transform:rotate(0deg); }
    to { transform:rotate(-360deg); }
}
.orbit2 {
  background-color: rgba(204, 0, 102, 0);
    border: 4px solid #000;
    height:20px;
    width:20px;
    opacity: .5;
    margin-left: 390px;
    margin-top: -64px;
    -webkit-border-radius:40px;
    -moz-border-radius:40px;
    animation: circle 10s linear infinite;
    transform-origin:100% 400px;
}
@keyframes circle {
    from { transform:rotate(0deg); }
    to { transform:rotate(360deg); }
}

@keyframes inner-circle {
    from { transform:rotate(0deg); }
    to { transform:rotate(-360deg); }
}
