button2 { display:block; width:18%; margin:0 auto; position:relative; font-size:40px; margin-top: -125px; outline:none; color:#fff; border:none; text-decoration:none; text-align:center; cursor:pointer; -webkit-border-radius:10px; -moz-border-radius:2px; border-radius:1px; background-color:#ee6c4d; border-bottom:1px solid #7b8b2f; } .fa { padding: 20px; font-size: 30px; width: 100px; text-align: center; text-decoration: none; margin: 5px 2px; } .fa:hover { opacity: 0.7; } .fa-linkedin { background: #0077b5; color: white; } .fa-youtube { background: #FF0000; color: white; } .fa-github { background: #000000; color: white; }