body { margin: 0px; width: 100%; height: 100%; display: flex; } .container { width: 100vw; height: 100vh; margin: 0px; } .content { text-align: center; display: block; margin-left: auto; margin-right: auto; width: 40%; } [class*="content-social-link"] { background: white; color: black; padding: 2px; margin-bottom: 15px; border-style: solid; border-color: black; box-shadow: 8px 8px 0px black; } .content-social-profile img { margin-top: 80px; max-width: 200px; max-height: 200px; border-radius: 50%; z-index: 1; position: relative; } .footer { width: 100%; background: white; text-align: center; position: absolute; height: 28px; bottom: 0; } .footer .copyleft { margin: auto; width: 50%; line-height: 28px; } .header img { width: 100%; z-index: 0; position: absolute; max-height: 200px; object-fit: cover; border-bottom-style: solid; border-bottom-color: black; } .linktxt { color: black; line-height: 32px; display: inline-block; vertical-align: middle; } .linkimg { width: 20%; float: left; }