body { margin: 0px; width: 100%; height: 100%; } a { text-decoration: none; } .container { width: 100vw; height: 100vw; margin: 0px; } .content { text-align: center; display: contents; margin-left: auto; margin-right: auto; width: 40%; height: 100vh; font-family: sans; text-transform: uppercase; } [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; max-width: 400px; margin-left: auto; margin-right: auto; } .content-social-name { font-weight: bold; font-family: sans; font-size: xx-large; text-transform: uppercase; } .content-social-desc { font-weight: bold; font-family: sans; font-size: large; text-transform: uppercase; } [class*="-txt"] { width: 80%; } .content-social-profile img { margin-top: 80px; max-width: 200px; max-height: 200px; border-radius: 50%; z-index: 1; position: relative; } .div-link { position: relative; } [class*="content-social-link"]:hover { right: 10px; position: relative; box-shadow: 18px 8px 0px black; } .linkimg img { max-height: 25px; } [class*="content-social-link"]:hover .linkimg{ filter: invert(100%) sepia(0%) saturate(2476%) hue-rotate(86deg) brightness(118%) contrast(119%); } .copyleft { font-family: sans; text-transform: capitalize; font-size: small; } .div-link a { position: absolute; width: 100%; height: 38px; top: 0; left: 0; text-decoration: none; z-index: 10; background-color: #FFF; opacity: 0; filter: alpha(opacity=1); } .footer { width: 100%; background: white; text-align: center; height: 28px; bottom: 0; display: fixed; } .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; } p { margin-bottom: 10px; margin-top: 5px; } .emptybox { height: 10vw; width: 100%; } /* Rules for mobile devises */ @media (pointer:coarse) { .content { width: 100%; } .content-social-profile img { margin-top: 80px; border-radius: 50%; z-index: 1; margin-left: auto; margin-right: auto; max-width: 100%; max-height: 100%; position: relative; } [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; max-width: 100%; margin-left: auto; margin-right: auto; } .content { text-align: center; font-family: sans; text-transform: uppercase; } [class*="content-social-link"] { height: 100px; width: 90%; } .linktxt { color: black; line-height: 100px; display: inline-block; vertical-align: middle; font-size: xxx-large; } .content-social-name { font-weight: bold; font-family: sans; text-transform: uppercase; font-size: xxx-large; margin-top: 40px; } .content-social-desc { font-weight: bold; font-family: sans; font-size: xx-large; text-transform: uppercase; } .emptybox { height: 10vw; width: 100%; } .linkimg img{ max-height: 80px; filter: invert(20%) sepia(0%) saturate(2476%) hue-rotate(86deg) brightness(118%) contrast(119%) !important; } .footer { height: 100px; } a2 { font-size: xx-large; } .footer .copyleft { margin: auto; width: 80%; line-height: 100px; } [class*="content-social-link"]:hover .linkimg{ filter: invert(20%) sepia(0%) saturate(2476%) hue-rotate(86deg) brightness(118%) contrast(119%); } }