I am trying below my navbar to put an image with full width and a height of 500px with text on top of the responsive image ..
I have been looking for how to make everything mentioned responsive because when I try to always do it in a certain size, the text of the image comes out or it is hidden.
imagen_inicio{
width: 100%; filter:brightness(0.5); height: 100%;; }
caja_imagen{
overflow: hidden;
height: 500px;
position: relative;
}
texto_encima{
position: absolute;
left: 0;
top: 5%;
margin-left: 300px;
margin-right: 160px;
text-align: center;
font-size: 30px;
font-family: Arial, Helvetica, sans-serif;
color: rgb(132, 245, 142);
text-align: center;
}
<div id="caja_imagen">
<img id="imagen_inicio" src="/images/tipo-de-seguridad.jpg" alt="Responsive image" class="img-fluid" alt="">
<div id="texto_encima" class="text-center">
<h1>Bienvenido a Seguridad y Rastreo</h1>En Seguridad y Rastreo estamos comprometidos con el servicio al cliente. Estamos muy orgullosos de nuestra
atención y soluciones efectivas en seguridad. Cada cliente es atendido diligentemente y de manera personalizada.
Solo las empresas más comprometidas invierten tiempo en revisar y determinar las mejores alternativas, los
mejores métodos y los protocolos más efectivos. Nos ocupamos de su seguridad y protegemos lo que a usted más le
importa. <br>
</div>
</div>
'