html { width: 100%; } body { width: 100%; margin: 0; box-sizing: border-box; } #main-article { padding: 0 1em; } @media (min-width: 576px) { #main-article { padding: 0 2em; } } #color-strip-container { width: 100%; height: 36px; } .color-strip-block { display: inline-block; width: 10%; height: 100%; line-height: 36px; vertical-align: middle; text-align: center; color: white; } #slogan { width: 100%; background-color: dodgerblue; text-align: center; padding: 0.5em 1em; box-sizing: border-box; } .slogan-text { display: inline-block; text-align: initial; color: white; font-size: 1.2em; } .friend-link { display: inline-block; } .friend-img { display: block; width: 80px; height: 80px; object-fit: cover; border-radius: 50%; } .friend-name { display: block; text-align: center; font-size: 1.2em; }