.header-content { } .header-content .logo { } .header-content .logo img { display: block; width: 100%; height: auto; margin: auto; } .kaehmy-banner { max-width: 1000px; margin-left: auto; margin-right: auto; } @media screen and (min-width: 1000px) { .header-content { position: absolute; left: 0; top: 0; background-color: #052f5f; width: 100%; } .header { margin-bottom: 331px; } }