.splash-bg { background-color: #8d5fd3; } .splash { height: 80vh; background: url("bg.svg") center center; background-size: cover; color: #FFFFFF; padding: 20px; position: relative; } .stars { position: absolute; top: 0; left: 0; z-index: 0; }