* { margin: 0; padding: 0; } body { background: black; color: white; display: flex; font-family: Courier New; } canvas { background: #110812; margin: 20px 0 0 0; } h1, h2 { font-weight: bold; } h1 { font-size: large; } .menu-row h2 { font-size: medium; margin-left: 10px; padding: 10px; cursor: pointer; border: 2px solid darkgrey; } sidebar { flex: auto; padding: 10px; } input[type="button"] { min-width: 60px; padding: 5px; font-weight: bold; } .form-field { display: flex; margin: 10px; } .menu-row { flex: 1; margin: 5px 0; } label, .form-field label { margin-right: 10px; font-weight: bold; } #main { flex: 4; }