/* Stars 
------------------------------------- */

#space, .stars {
  overflow: hidden;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.stars {
  background-image: 
    -webkit-radial-gradient(20px 30px, 2px 2px, #eee, rgba(0,0,0,0)), -webkit-radial-gradient(40px 70px, 2px 2px, #fff, rgba(0,0,0,0)), -webkit-radial-gradient(50px 160px, 2px 2px, #ddd, rgba(0,0,0,0)), -webkit-radial-gradient(90px 40px, 2px 2px, #fff, rgba(0,0,0,0)), -webkit-radial-gradient(130px 80px, 2px 2px, #fff, rgba(0,0,0,0)), -webkit-radial-gradient(160px 120px, 2px 2px, #ddd, rgba(0,0,0,0));
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 130px 80px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 200px 200px;
  -webkit-animation: zoom 5s infinite;
          animation: zoom 5s infinite;
  opacity: 0;
  filter: alpha(opacity=0);
}

.stars:nth-child(1) {
  background-position: 50% 50%;
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}
.stars:nth-child(2) {
  background-position: 20% 60%;
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
.stars:nth-child(3) {
  background-position: -20% -30%;
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}
.stars:nth-child(4) {
  background-position: 40% -80%;
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
}
.stars:nth-child(5) {
  background-position: -20% 30%;
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
}

@-webkit-keyframes zoom {
  0% {
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  } 
  85% {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: scale(2.8);
            transform: scale(2.8);
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
  }
  100% {
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transform: scale(3.5);
            transform: scale(3.5);
  }
}

@keyframes zoom {
  0% {
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  } 
  85% {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: scale(2.8);
            transform: scale(2.8);
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
  }
  100% {
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transform: scale(3.5);
            transform: scale(3.5);
  }
}

/* Demo syles 
------------------------------------- */

body {
  background: #035;
  font-family: 'Righteous', sans-serif;
  position: relative;
  min-height: 100vh;
}

#beefbox {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin: 0 auto;
  width: 800px;
  font-size: 6em;
  text-align: center;
}

#beefvg text {
  display: inline-block;
  -webkit-box-shadow: inset 0px 0px 20px 0px rgba(0,0,0,0.75);
-moz-box-shadow: inset 0px 0px 20px 0px rgba(0,0,0,0.75);
box-shadow: inset 0px 0px 20px 0px rgba(0,0,0,0.75);
}

.svg-clipped {
    -webkit-clip-path: url(#svgPath);
    clip-path: url(#svgPath);
}

