*{ margin: 0; padding: 0; box-sizing: border-box; } .page-header{ background-color: #000; display: flex; justify-content: center; padding: 28px 0 28px 0; } .page-header-logo{ display: block; } .main-banner{ display: block; object-fit: cover; max-width: 100%; } @media screen and (max-width: 414px){ .main-banner-desktop{ display: none; } } @media screen and (min-width: 415px){ .main-banner-mobile{ display: none; } }