html, body { height: 100%; width: 100%; margin: 0; box-sizing: border-box; font-family: 'Open Sans', sans-serif; } body { display: flex; flex-flow: column; } #map { height: 100%; } footer { display: flex; padding: 10px 20px; align-items: center; color: white; background: #2b5b83; } footer a { font-size: 16px; color: white; } footer a:hover, a:active { text-decoration: none; } .logo { width: 30px; height: 30px; } .footer-text { font-size: 20px; margin: 0 15px; } .space { flex-grow: 1; } .made-by { text-align: right; font-size: 14px; } @media only screen and (max-width: 768px) { .footer-text { font-size: 14px; } footer a { font-size: 12px; } .made-by { font-size: 10px; } }