$topnav-background-color: #222; .footerText { background-color: $topnav-background-color; } .copyright-text { background-color: $topnav-background-color; color: #fff; font-size: 11px; margin-bottom: 0; line-height: 3rem; margin-top: 20px; text-align: center; } .footer { position: relative; bottom: 0; width: 100%; z-index: 1002; //margin-bottom: -0.5rem; margin-top: calc(100vh - 250px); } .footer-logo { width: 1.5rem; margin-top: -10px; } .footerText h2 { font-size: 1.5rem; margin-top: -10px; }