@keyframes shootingStars
{
    from {
        left: -100px
    }
    to {
        left: calc( 100% + 100px );
    }
}

#star_container {
    position: absolute;
    width: 100%;
    height: 140%;
    top: -20%;
    transform: rotate(45deg);
}

.shooting_star{
    position:absolute;
    left:0px;
    width:2px;
    height:2px;
    border-radius: 1px;
    background: #fff;
    animation-name:shootingStars;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.shooting_star::before{
    position:absolute;
    display:block;
    content:"";
    width:100px;
    right:1px;
    top:0px;
    height:2px;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0.5) 100%);
}


.shooting_star:nth-child(1){
    animation-duration:20s;
    top: 10%;
}

.shooting_star:nth-child(2){
    animation-duration:10s;
    top:30%;
}

.shooting_star:nth-child(3){
    animation-duration:15s;
    top:50%;
}

.shooting_star:nth-child(4){
    animation-duration:5s;
    top:70%;
}

.shooting_star:nth-child(5){
    animation-duration:25s;
    top:90%;
}