רוצה להגדיר את ה-CSS של התצוגה למעלה בלבד

Are you talking about the background-color and background-image I presume?

Try to change the name of the target element to be more specific and in this way you can target only that element

<div class="header-container">
</div>

and change this line from

.container {
to
.header-container {

It should work