
.wrapper25 {
  width: 520px;
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image:  url('img/edge.jpg');
   
}

.circle {
  width: 270px;
  height: 270px;
  position: relative;
  transform: rotate(-45deg);
}

.circle:before,
.circle:after {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  border-radius: 0 100% 0 0;
  transform-origin: 0 100%;
}
.circle:before {
  box-shadow: 0 -4px 0 0 #0511f3;
  animation: rotate1 1s infinite linear;
}
.circle:after {
  box-shadow: 4px 0 0 0 #5cec03;
  animation: rotate2 1s infinite linear;
}

@keyframes rotate1 {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotate2 {
  100% {
    transform: rotate(-360deg);
  }
}
