.box{ position: relative; width: 100%; background: #5850c7 url(https://d20ohkaloyme4g.cloudfront.net/img/hero-illustration-module.png) repeat; color: #fff; text-align: center; margin-bottom: 0; overflow-y:hidden; } .fullcontainer { display: flex; align-items: center; height: -webkit-calc(100vh - 50px); height: -moz-calc(100vh - 50px); height: calc(100vh - 50px); } .fullcontainer h1{ font-size: 60px; } .fullcontainer h3{ margin-bottom: 30px; }