* { box-sizing: border-box } html,body { margin: 0; padding: 0; width: 100%; height: 100%; font-family: 'Helvetica', sans-serif; font-weight: 300; } body { background: linear-gradient(52deg, #fde, #ffe); } header { position: fixed; bottom: 10px; left: 10px; background: white; padding: 10px; } #container { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; } .app { display: flex; flex-direction: column; } .player { width: 100%; height: 30vh; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; } .player img, .player canvas { width: 48vh; height: 30vh; } .params { font-size: 10px; display: flex; flex-direction: row; justify-content: flex-start; } .paramGroup { background: rgba(255,255,255,0.2); padding-right: 10px; } .paramGroup.inactive { opacity: 0.4; } .paramGroup > label { display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 2px 0; margin-bottom: 3px; } .paramGroup h3 { margin: 0; padding: 0; } .slider { margin-bottom: 3px; } .slider input[type=text] { width: 34px; border: 1px solid transparent; margin-right: 5px; } .slider input[type=text]:focus { border: 1px solid #ddd; background: white; } .slider { display: flex; flex-direction: row; } .slider > label { display: flex; justify-content: space-between; width: 120px; text-align: right; }