#container {
    display: inline-block;
    position: absolute;
    top: 0;
    left:0;
    z-index: 2;
    width: 100vw;
    height: 100vh;
}

.starcontainer {
    position: absolute;
    top: 0px;
    width: 100vw;
    z-index: 1;
    overflow: hidden;
    height: 100vh;
    background: black;
}

.starcontainer .stars {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: white;
    box-shadow: 0px 0px 30px 10px rgba(255, 255, 255, 0.5);
    position: relative;
    margin: 5%;
    top: -40px;
    left: 110%;
}

.starcontainer .stars:nth-child(1) {
    animation: moveright 700ms ease-in infinite 5s;
}

.starcontainer .stars:nth-child(2) {
    animation: moveright 700ms ease-in infinite;
}

.starcontainer .stars:nth-child(3) {
    animation: moveright 900ms ease-in infinite 2s;
}

.starcontainer .stars:nth-child(4) {
    animation: moveright 1000ms ease-in infinite 500ms;
}

.starcontainer .stars:nth-child(5) {
    animation: moveright 400ms ease-in infinite 2s;
}

.starcontainer .stars:nth-child(6) {
    animation: moveright 2000ms ease-in infinite;
}

.starcontainer .stars:nth-child(7) {
    animation: moveright 700ms ease-in infinite 3s;
}

.starcontainer .stars:nth-child(8) {
    animation: moveright 900ms ease-in infinite 1s;
}

.starcontainer .stars:nth-child(9) {
    animation: moveright 400ms ease-in infinite;
}

.starcontainer .stars:nth-child(10) {
    animation: moveright 1000ms ease-in infinite 3s;
}

@keyframes opa {
    0% {
        opacity: 1;
        transform: scale(1, 2);
    }
    50% {
        opacity: 0.7;
        transform: scale(1, 1);
    }
    100% {
        opacity: 1;
        transform: scale(1, 2);
    }
}

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

#ship {
    position: absolute;
    z-index: 10;
    display: none;
}