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

html, body {
  background: rgb(26,26,26);
  text-align: center;
  height: 100%;
  overflow: hidden;
}
.svg-wrapper {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
	margin: 0 auto;
  width: 320px;  
}
.shape {
  stroke-dasharray: 140 540;
  stroke-dashoffset: -474;
  stroke-width: 8px;
  fill: transparent;
  stroke: #FF0000;
  border-bottom: 5px solid black;
  transition: stroke-width 1s, stroke-dashoffset 1s, stroke-dasharray 1s;
}
.text {
  font-family: 'Lato';
  font-size: 22px;
  line-height: 32px;
  letter-spacing: 8px;
  color:#FFFFFF;
  top: -48px;
  position: relative;
}
.svg-wrapper:hover .shape {
  stroke-width: 2px;
  stroke-dashoffset: 0;
  stroke-dasharray: 760;
}
a{
  color: #FFFFFF;
  text-decoration: none;
}
span{
    animation:myfirst 5s;
    -moz-animation:myfirst 5s infinite; /* Firefox */
    -webkit-animation:myfirst 5s infinite; /* Safari and Chrome */
      }


    @-moz-keyframes myfirst /* Firefox */
    {
    0%   {color:red;}
    50%  {color:yellow;}
    100%   {color:red;}
    }

    @-webkit-keyframes myfirst /* Safari and Chrome */
    {
    0%   {color:red;}
    50%  {color:yellow;}
    100%   {color:red;}
    }
}