@import 'gradient'; #app-container { display: flex; min-height: 100vh; flex-direction: column; @include linear-gradient(#343b59); } main { flex: 1; display: flex; flex-direction: row; justify-content: center; align-items: flex-start; } header { display: flex; flex-direction: row; height: 64px; background: #23273c; color: white; line-height: 64px; padding: 0 10px; h1 { letter-spacing: 0.1em; font-size: 1.5em; } .flex-space { flex: 1; } .info { cursor: pointer; } } .left, .right { flex: 0 0 12em; margin: 30px; } .center { margin: 30px; padding: 20px; display: flex; min-width: 440px; align-items: stretch; flex-direction: column; background-color: rgba(0,0,0,0.1); } @media(min-width: 768px) { .left, .right { margin: 30px; } main { flex-direction: row; justify-content: center; align-items: flex-start; } .center { margin: 30px; } } footer { background: #23273c; text-align: center; color: white; padding: 10px; .credits { margin-top: 10px; font-size: 0.8em; } }