* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  overflow: hidden;
}

canvas {
  z-index: 1;
  position: absolute;
  top: 0;
  height: 100%;
  left: 0;
  width: 100%;
  background: url(index.png) 0 0;
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: center top;
}

@keyframes as {
  0% {
    opacity: 0;
  }
  10% {
    opacity: .3;
  }
  20% {
    opacity: .1;
  }
  30% {
    opacity: .5;
  }
  40% {
    opacity: 0;
  }
  50% {
    opacity: .8;
  }
  55% {
    opacity: 0;
  }
  55% {
    opacity: 0;
  }
}

.frame {
  z-index: 3;
  position: absolute;
  top: 0;
  height: 100%;
  left: 0;
  width: 100%;
  background: -moz-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 19%, rgba(0, 0, 0, 0.9) 100%);
  /* FF3.6+ */
  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(19%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.9)));
  /* Chrome,Safari4+ */
  background: -webkit-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 19%, rgba(0, 0, 0, 0.9) 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 19%, rgba(0, 0, 0, 0.9) 100%);
  /* Opera 12+ */
  background: -ms-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 19%, rgba(0, 0, 0, 0.9) 100%);
  /* IE10+ */
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 19%, rgba(0, 0, 0, 0.9) 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#e6000000', GradientType=1);
  /* IE6-9 fallback on horizontal gradient */
}

.frame div {
  position: absolute;
  top: 0;
  height: 100%;
  left: -10%;
  width: 10%;
  background-color: rgba(0, 0, 0, .12);
  box-shadow: 0 0 10px rgba(0, 0, 0, .3);
  animation: frame 12s linear infinite;
}

.frame div:nth-child(1) {
  animation-delay: 0;
}

.frame div:nth-child(2) {
  animation-delay: 2s;
}

.frame div:nth-child(3) {
  animation-delay: 4s;
}

.frame div:nth-child(4) {
  animation-delay: 6s;
}

.frame div:nth-child(5) {
  animation-delay: 8s;
}

.frame div:nth-child(6) {
  animation-delay: 10s;
}

@keyframes frame {
  0% {
    left: -10%;
  }
  100% {
    left: 100%;
  }
}

