.header_banner {
opacity: 0.9;
background-color: #330066;
background-image: linear-gradient(45.0deg, #0169b4 18%, #a72b8f 81%);
background-position: center;
background-repeat: no-repeat;
// ты задал блоку высоту элементы не поместились в эту высоту и ушли за границу блока
height: 750px;
}
flex: 1 1 auto;
, это для дочерних элементов.header {
display: flex;
justify-content: center;
}
.header {
border-width: 2px 2px 2px 7px;
border-style: solid;
border-color: #600;
border-radius: 1px;
max-width: 836px;
}