* { margin: 0; padding: 0; box-sizing: border-box; } body { background-color: rgb(240, 240, 240); font-family: sans-serif; } .page { display: flex; flex-direction: column; justify-content: center; align-items: center; height: auto; width: 100%; margin-top: 3.5rem; position: relative; } .iframe-container { display: flex; justify-content: center; align-items: center; margin: 20px; max-width: 1200px; } .iframe-container iframe { margin: 10px; } h1, h2, p { text-align: center; } .form { display: flex; flex-direction: column; justify-content: center; align-items: center; margin-top: 2.5rem; margin-bottom: 3.5rem; width: 100%; max-width: 600px; } label { margin-bottom: 0.5rem; font-weight: bold; } select, textarea, button { margin-top: 0.5rem; padding: 0.5rem; font-size: 1rem; border-radius: 4px; border: 1px solid #ccc; width: 100%; max-width: 100%; } #account { max-width: 25%; } #footer { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; } #input, #output { resize: vertical; height: 10rem; max-height: 20rem; } #outputSummary { display: block; margin: 0 auto; width: 100%; height: 400px; } #inner { text-align: center; float: center; top: 50%; left: 50%; transform: translate(-50%, -50%); } #outer { width: 100%; height: 100px; text-align: center; display: table-cell; justify-content: center; vertical-align: middle; margin-top: 2rem; margin-bottom: 2rem; } #tweets { margin-top: 50px; margin-bottom: 50px; } #outer h2 { text-align: center; } #generate { background-color: #1da1f2; color: white; font-weight: bold; cursor: pointer; } #generate-summary { background-color: #1da1f2; color: white; font-weight: bold; cursor: pointer; } #output { margin-top: 1rem; }