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

html, body{
  height: 100%;
  font-weight: 800;
}

body{
  background: grey;
  font-family: Arial;
}

svg {
    display: block;
    font: 5.05em 'Montserrat';
    width: 960px;
    height: 300px;
    margin: 0 auto;
}

.text-copy {
    fill: none;
    stroke: white;
    stroke-dasharray: 6% 29%;
    stroke-width: 5px;
    stroke-dashoffset: 0%;
    animation: stroke-offset 5.5s infinite linear;
}

.text-copy:nth-child(1){
  stroke: #666df5;;
  animation-delay: -1;
}

.text-copy:nth-child(2){
  stroke: #8288f8;
  animation-delay: -2s;
}

.text-copy:nth-child(3){
  stroke: #4b54fa;;
  animation-delay: -3s;
}

.text-copy:nth-child(4){
  stroke: #080808;;
  animation-delay: -4s;
}

.text-copy:nth-child(5){
  stroke: #08080f;;
  animation-delay: -5s;
}

@keyframes stroke-offset{
  100% {stroke-dashoffset: -35%;}
}

@media (max-width: 768px) {
  svg {
    display: block;
    font: 6.05em 'Montserrat';
    width: 100%;
    height: 100%;
    margin: 0 auto;
  }
}
