.ring {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  line-height: 100px;
  background: transparent;
  border: 15px solid black;
  border-radius: 50%;
  text-align: center;
  color: #6C66FA;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  z-index: 101; }

.ring .ringbefore {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-radius: 50%;
  animation: animateCircle 2s linear infinite; }

@keyframes animateCircle {
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg); } }
