.nlcharged { display: flex; flex: none; flex-direction: row; justify-content: center; background-color: #0202a4; color: #fff; max-width: 100vw; overflow: hidden; user-select: none; position: relative; background-image: url("//dd.unicraft.org/static/branding/nlcharged/header/header.png"); background-repeat: no-repeat; background-position: center center; background-size: auto 100%; /* Высота соответствует размеру изображения в шапке */ height: 200px; }