.hero { position: absolute; transform: translateX(-50%); height: 400px; background-color: rgba(5, 7, 12, 0.75); padding: 70px; border-radius: 40px; /* opacity: 0.4; */ z-index: 1; }