body{ margin: 0px; background-color: transparent; } ul { list-style-type: none; margin-right: 0; margin-bottom: 0; padding: 0; overflow: hidden; background-color: black; } li { float:right; } li a { display: block; color: white; text-align: center; padding: 15px 16px; text-decoration: none; } li a:hover { color:lightpink; } #contact { margin-right: 10vw; } #logo { margin-left: 5vw; align-items: center; } #back-img { max-width: 100%; width:auto; } .intro { position:relative; } #avatar { position:absolute; top:13%; left:42%; max-width: 15%; margin:0 auto; border-radius: 50%; } #greet-text { position: absolute; top:60%; left:34%; font-size: 3.5vw; font-family: Verdana, Arial, sans-serif; color: white; } .introduction { padding-left: 10%; padding-right: 10%; } #header { font-size: 35px; margin-top: 30px; margin-bottom: 5px; color:dimgray; font-weight: bold; } #about-text { font-size: 25px; font-family: 'Times New Roman', Arial, serif } .work { border-style: ridge; padding: 20px; border-width: 7px; margin-bottom: 20px; } #work-title { float: left; margin-top:0px; } #work-time { font-size: 25px; font-weight: 800; float: right; margin-top:0px; } .work-text { margin-top:0px; } #work-company { margin-top: 0px; font-size: 25px; } .fa{ padding: 1.5vw; font-size: 2.2vw; width: 2.1vw; text-align: center; text-decoration: none; margin: 2vw; border-radius: 50%; } .fa:hover { opacity: 0.7; } .fa-linkedin { background: #007bb5; color: white; } .fa-github { background: #b366ff; color: white; } .fa-instagram { background: #ff99cc; } .social-media { text-align: center; }