body { margin: 0; background-color: #d3d3d3; } h1 { margin: 0; } #titlebar { font-family: 'arial'; color: white; padding: 20px; margin: 0px; background-color: #333; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); } .container { max-width: 1920px; background-color: white; padding: 1%; margin: 10px auto; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); display: flex; flex-direction: column; } #note-render { display: inline-block; margin: 0 auto; }