I'm struggling to get my content centered both vertically and horizontally. Also, my container-fluid isn't covering the footer when I inspect it in developer tools. I've searched through various resources but still can't seem to solve it. You can view my codepen here: https://codepen.io/anon/pen/yqdbWd
My goal is to remove the sidebar since it's a single-page layout with minimal content. I've attached screenshots depicting my issues: https://i.sstatic.net/1l5oR.png. The container-fluid also doesn't occupy the entire page as desired: https://i.sstatic.net/a0bEb.png. Lastly, I'm seeking a way to shorten the length of my horizontal line like this example: https://i.sstatic.net/jhp5f.png
Below is the code I've worked on so far:
HTML
<body>
<div class="container-fluid h-100">
<nav class="navbar navbar-light rounded">
<a class="navbar-brand" href="#">
<svg class="d-block" width="36" height="36" viewbox="0 0 612 612" xmlns="http://www.w3.org/2000/svg" focusable="false"><title>Bootstrap</title><path fill="currentColor" d="M510 8a94.3 94.3 0 0 1 94 94v408a94.3 94.3 0 0 1-94 94H102a94.3 94.3 0 0 1-94-94V102a94.3 94.3 0 0 1 94-94h408m0-8H102C45.9 0 0 45.9 0 102v408c0 56.1 45.9 102 102 102h408c56.1 0 102-45.9 102-102V102C612 45.9 566.1 0 510 0z"/><path fill="currentColor" d="M196.77 471.5V154.43h124.15c54.27 0 91 31.64 91 79.1 0 33-24.17 63.72-54.71 69.21v1.76c43.07 5.49 70.75 35.82 70.75 78 0 55.81-40 89-107.45 89zm39.55-180.4h63.28c46..."
Below is the accompanying CSS:
body,html {
height: 100%;
background:#333A4D;
}
.navbar{
margin: 10px;
background: #333A4D;
padding: 20px;
}
.nav-link{
font-size: 25px;
line-height: 32px;
color: #F3B0B6;
}
.list-inline-item{ margin-left: 1rem; }
.jumbotron{ background: none; }
.text-border{
display: block;
height: 1px;
border: 0;
border-top: 4px solid #F3B0B6;
}
...