html { background-image: linear-gradient(#e6f0a3 0%, #d2e638 50%, #c3d825 51%, #dbf043 100%); min-height: 100%; } body { font: 20px Helvetica, sans-serif; padding: 2.5% 0; } article { margin: 0 auto; max-width: 95%; } h1, h2 { display: none; } nav a { background: rgba(255, 255, 255, 0.8); width: 110px; height: 100px; display: inline-block; padding: 15px 0; margin: 0px 5px 10px; border: 1px solid #ddd; border-radius: 5px; text-align: center; vertical-align: top; position: relative; } @media only screen and (min-width: 768px) { nav { margin-left: 110px; position: relative; } nav .main { position: absolute; left: -130px; } } nav img { margin: auto; max-width: 90%; max-height: 70%; position: absolute; top: 0; bottom: 0; left: 0; right: 0; } a { text-decoration: none; color: inherit; } nav a:hover { background: rgba(240, 240, 240, 0.8); } nav a:active { background: rgba(220, 220, 220, 0.8); } nav a>.fa, nav a>.fa-stack{ width: 100%; margin-top: .25em; margin-bottom: .35em; font-size: 32px; } nav a span { display: block; margin-top: .55em; font-weight: 400; line-height: 1.1; }