I'm having a difficult time center aligning these buttons in the middle of the page. I want them to stack on top of each other in the center of the overlay, but currently they are stuck at the top. Can anyone help me with this issue?
https://i.sstatic.net/2ocdz.png
Below is an example of my HTML:
<h1 class="text-center">Portfolio</h1>
<div class="row p-5">
<div class=" col-sm-6 col-xl-4 mb-3">
<div class="card">
<img src="img/image-1.jpg" class="card-img-top" alt="image-1">
<div class="card-body">
<h5 class="card-title text-center">Project 1</h5>
</div>
<div id="overlay">
<div class="d-flex flex-column align-content-center">
<button type="button" class="btn btn-primary">Demo</button>
<button type="button" class="btn btn-secondary">Github Repo</button>
</div>
</div>
</div>
</div>
To view the code on JS fiddle click here: https://jsfiddle.net/apasric4/wvaepsyk/1/