* {
  margin: 0;
  padding: 0;
}
#wrapper {
  width: 100%;
  height: 100vh;
  background: #404263;
  background: -moz-linear-gradient(45deg, #262e51 0%, #51516d 100%);
  background: -webkit-linear-gradient(45deg, #262e51 0%, #51516d 100%);
  background: linear-gradient(45deg, #262e51 0%, #51516d 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#262e51', endColorstr='#51516d', GradientType=1);
}
#svg_container {
  width: calc(100vh - 40px);
  height: calc(100vh - 40px);
  margin: 0 auto;
  padding: 20px 0;
}
@font-face {
  font-family: sofia3;
  src: url(https://assets.pixlee.com/pixlee_fonts/sofia_regular.otf);
}
.sofia3 {
  font-family: sofia3, sans-serif;
}
#button {
  position: fixed;
  right: 10px;
  top: 10px;
  padding: 13px 15px 12px 15px;
  text-align: center;
  color: #373C5E;
  font-weight: bold;
  font-family: sofia3, sans-serif;
  text-transform: uppercase;
  font-size: 10px;
  width: 100px;
  background: #d43469;
  /* Old browsers */
  background: -moz-linear-gradient(45deg, #d43469 0%, #ed5582 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(45deg, #d43469 0%, #ed5582 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(45deg, #d43469 0%, #ed5582 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d43469', endColorstr='#ed5582', GradientType=1);
  /* IE6-9 fallback on horizontal gradient */
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  cursor: pointer;
  transition: all 0.25s ease;
}
#button:after {
  content: 'click to stop';
}
#button.active:after {
  content: 'click to start';
}
#Layer_2.active {
  animation-duration: 50s;
  -webkit-animation-duration: 50s;
  -moz-animation-duration: 50s;
  animation-name: spin_backward;
  -webkit-animation-name: spin_backward;
  -moz-animation-name: spin_backward;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-timing-function: linear;
  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
  transform-origin: center center;
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
}
#Layer_3.active {
  animation-duration: 40s;
  -webkit-animation-duration: 40s;
  -moz-animation-duration: 40s;
  animation-name: spin_forward;
  -webkit-animation-name: spin_forward;
  -moz-animation-name: spin_forward;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-timing-function: linear;
  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
  transform-origin: center center;
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
}
#Layer_4.active {
  animation-duration: 20s;
  -webkit-animation-duration: 20s;
  -moz-animation-duration: 20s;
  animation-name: spin_backward;
  -webkit-animation-name: spin_backward;
  -moz-animation-name: spin_backward;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-timing-function: linear;
  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
  transform-origin: center center;
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
}
@keyframes spin_forward {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes spin_forward {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@-moz-keyframes spin_forward {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes spin_backward {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}
@-webkit-keyframes spin_backward {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}
@-moz-keyframes spin_backward {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}
