/*
html, body {
  background: #222222;
  height: 100%;
  overflow: hidden;
  text-align: center;
  font-size: 100%;
}
*/

.box-spinner {
  margin: 0 auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
/* position: relative; */

.s {
  fill: transparent;
  stroke-width: 3px;
  stroke: #f0f0f0;
  -webkit-animation: 6s stroke infinite;
  animation: 6s stroke infinite;
}

.f1, .f2, .f3 {
  fill-opacity: 0;
  -webkit-animation: 3s fill-scale infinite;
  animation: 3s fill-scale infinite;
}

.f1 {
  fill: mediumseagreen;
}

.f2 {
  fill: deepskyblue;
  animation-delay: 0.5s;
}

.f3 {
  fill: indianred;
  animation-delay: 1s;
}

.box-spinner-text {
  color: #fff;
  font-family: 'Helvetica', 'Arial', sans-serif;
  text-transform: uppercase;
  font-size: 1em;
  letter-spacing: 0.5em;
  line-height: 2em;
}

@keyframes fill-scale {
  0% {
    fill-opacity: 0;
  }
  50% {
    fill-opacity: 1;
  }
  100% {
    fill-opacity: 0;
  }
}

@keyframes stroke {
  0% {
    stroke-dasharray: 140 540;
    stroke-dashoffset: -474;
  }
  50% {
    stroke-dasharray: 760;
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dasharray: 460;
    stroke-dashoffset: 474;
  }
}