@import url("https://fonts.googleapis.com/css?family=Questrial");

body {
  font-family: "Questrial", sans-serif;
}

.outer {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 400px;
  width: 400px;
  margin-top: -200px;
  margin-left: -200px;
  background: #007C91;
  border-radius: 2px;
  box-shadow: 1px 2px 10px 0px rgba(0, 0, 0, 0.3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.line {
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 3px;
  stroke-linecap: round;
  animation: line 2.5s linear infinite;
}

.circle {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 185px;
  left: 185px;
  border-radius: 50%;
  border: 4px solid #FFFFFF;
  animation: circle 2.5s ease-out infinite both;
}

@keyframes line {
  from {
    stroke-dasharray: 50 660;
    stroke-dashoffset: 780;
  }
  to {
    stroke-dasharray: 50 660;
    stroke-dashoffset: 70;
  }
}
@keyframes circle {
  0%,50% {
    opacity: 1;
    transform: scale(0);
  }
  70%,100% {
    opacity: 0;
    transform: scale(0.8);
  }
}
