html { font-family: sans-serif; } body { margin-left: 0; margin-right: 0; } #page { max-width: 600px; } h1 { margin-left: 0.5em; display: inline; } .delay { display: inline; } .rounded-rectangle { border-width: 2px; border: black; border-style: solid; border-radius: 1em; padding: 7px; } .message-content { z-index: 1; position: absolute; } .message-content.theirs { background-color: yellow; left: 0; } .message-content.ours { background-color: pink; right: 0; margin-bottom: 0.5em; } ul { margin: 1em; margin-bottom: 4em; padding: 0; list-style: none; } li { height: 2.5em; width: 100%; margin-bottom: 1.5em; position: relative; } #textbox { width: 100%; position: fixed; bottom: 0; margin-top: 0.5em; z-index: 1; } #typing-indicator { margin: 0; margin-left: 1em; margin-bottom: 0.5em; position: fixed; bottom: 3em; } #textbox input { margin: 0.5em; left: 1em; width: 85%; font-size: 1em; z-index: 1; } button { margin: 0.5em; padding: 0; width: 10%; position: absolute; right: 0; font-size: 1em; } .progress-bar { width: 100%; height: 100%; opacity: 80%; max-width: 400px; background-color: #e0e0e0; border-radius: 10px; overflow: hidden; position: absolute; z-index: -1; top: 0; left: 0; } .progress { opacity: 80%; width: 0; height: 100%; background-color: #ff5c35; } .message-status { margin-top: 1em; position: absolute; top: 2.3em; right: 1em; font-size: .8em; }