@import "compass/css3";
html, body {
height: 100%;
background-color: #000;
overflow: hidden;
}
.horizon-bg {
position: relative;
z-index: 0;
position: absolute;
right: 0;
bottom: 34px;
left: 0;
width: 100%;
height: 130px;
@include background-image(linear-gradient(top, rgba(252,235,89,0.1), rgba(0,0,0,1)));
}
.horizon-lines {
div {
position: absolute;
bottom: 164px;
width: 100%;
height: 5px;
background: #fff;
@include animation-duration(5s);
@include animation-name(glow);
@include animation-timing-function(cubic-bezier(.06,.22,.19,.99));
@include animation-iteration-count(infinite);
box-shadow: 0 0 3px rgb(252,235,89), 0 0 6px rgb(252,235,89);
@include opacity(0);
@for $i from 1 through 10 {
&:nth-child(#{$i}) {
@include animation-delay(#{$i}s);
}
}
&:nth-child(11) {
height: 1px;
@include animation-name(none);
@include opacity(1);
}
}
}
@include keyframes(glow) {
0% {
@include opacity(0);
bottom: 2px;
height: 4px;
}
30% {
@include opacity(1);
}
80% {
bottom: 164px;
}
100% {
bottom: 164px;
height: 1px;
@include opacity(1);
}
}