body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: black;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
    z-index: 0;
    animation: move-stars 150s linear infinite;
}

@keyframes move-stars {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -100% -100%;
    }
}