body { background-color: rgb(250, 250, 250); /* padding: 30vh; */ } .team-logo { width: auto; max-width: 100%; height: 100px; } html, body { height: 100%; padding: 5px; } html { /* display: table; */ margin: auto; } body { display: table-cell; vertical-align: middle; background-repeat: no-repeat; background-size: cover; background-position: center; }