add a background overlay ::before css code example
Example: how to add a background overlay in css
.header {
background: rgba(0, 0, 0, 0.5); /* Black color with 50% alpha/opacity */
}
.header {
background: rgba(0, 0, 0, 0.5); /* Black color with 50% alpha/opacity */
}