body { min-height: 100vh; font-family: "Orbitron", sans-serif; color: white; scroll-behavior: smooth; height: 100vh; background-image: url("../../assets/img/ImgMain.png"); background-position: center center; background-attachment: fixed; background-repeat: no-repeat; background-size: cover; background-color: #000; } #imgMain { background-image: url("../../assets/img/SecondMainBack.jpg"); background-position: center center; background-attachment: fixed; background-repeat: no-repeat; background-size: cover; display: block; margin: auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 85%; height: 70%; }