body { background: $body-bg; } #app { display: flex; min-height: 100vh; flex-direction: column; background-image: url('/img/bg1.jpg'); background-repeat: no-repeat; background-size: cover; background-position: bottom center; nav { display: flex; flex-direction: column; height: 100%; display:none; } .content { flex-grow: 1; display: flex; flex-direction: column; } header { background: rgba(0,0,0, 0.4); padding: 20px; } main { padding: 50px; display: flex; justify-content: center; align-items: center; flex: 1; } } .item { width: 300px; height: 200px; margin: 20px; background: #76b8bf; border-radius: 6px; padding: 20px; }