.title-container
{
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center; 
}
#title-fotowiltaika
{
    background-image: url('../img/index/slider/fotowolt.png');
    background-position: center -300px;
}
#title-klimatyzacja
{
    background-image: url('../img/index/slider/klima.jpeg');
}
#title-pompy-ciepla
{
    background-image: url('../img/index/slider/pompa.jpeg');
    background-position: center -150px;
}
#title-rekuperacja
{
    background-image: url('../img/index/slider/rekuperacja.jpeg');
    background-position: center -300px;
}
#title-kontakt
{
    background-image: url('../img/index/slider/kontakt.jpg');
}
.title-container::before
{
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: rgba(0,0,0,0.6);
}
.title
{
    position: relative;
    font-family: 'Bebas Neue', cursive;
    font-size: 60px;
    color: white;
}
@media only screen and (max-width: 900px) 
{
    .title-container, #title-fotowiltaika, #title-klimatyzacja,#title-pompy-ciepla, #title-rekuperacja, #title-kontakt
    {
        background-position: center;
    }
    
}