#wrapper { position: relative; z-index: 1; } .logo img { width: 64px; height: auto; } .icon-security { width: 48px; height: 48px; fill: white; display: inline-block; object-fit: contain; } .icon-container { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; overflow: visible; }