html, body { height: 100vh; } .main-container { height: 100%; } .main-row { height: 100%; display: flex; align-items: center; text-align: center; }