#logo, #logo img { text-align: center; margin-left: auto; margin-right: auto; } #logo img { display: block; max-width: 100%; height: auto; }