Как сделать текст поверх адаптивного фона?

## HTML ##
<div class="header__mid">
    <h1 class="header__title">Светотехническое оборудование в Петербурге</h1>
    <div class="header__subtitle">Продажа, аренда светотехнического оборудования. Оформление официальных мероприятий под ключ.</div>
    <a class="header__link" href="#">ПЕРЕЙТИ</a>
    <h5 class="header__line"></h5>
  </div>
## CSS ##
.header__mid{
  max-width: 635px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}

.header__title {
  padding-top: 202px;
  margin: 0 auto;
  font-weight: 400;
  font-size: calc(30px + 18 * (100vw / 1920));
  color:#fff;
  max-width: 635px;
  padding-bottom: 40px;
  z-index: 2;
}
.header__subtitle {
  font-weight: 400;
  font-size: 16px;
  line-height: (22 / 16) * 100%;
  margin-left: 30%;
  max-width: 445px;
  color:#fff;
  padding-bottom: 40px;
}
.header__link{
  padding: 15px 40px;
  border: 2px solid #fff;
  color:#fff;
  text-align: center;
  
}
.header__line{
  position: absolute;
  content: "";
  width: 344px;
  height: 720px;
  background: rgba(0, 91, 193, 0.6);
  left: -150px;
  top:0px;
  z-index: 0;
  opacity: 50%;
}`[![введите сюда код][1]][1]`


  [1]: https://i.stack.imgur.com/zDaZV.jpg

Ответы (1 шт):

Автор решения: HaZcker
.header__title {
  position: relative;
  z-index: 1;
  /* other styles */
}

.header__subtitle {
  position: relative;
  z-index: 1;
  /* other styles */
}
→ Ссылка