.caret { position: absolute; fill: #00000044; stroke: white; left: 50%; top: 50%; } .dialogue { background-color: #00000044; border: solid 1px white; border-radius: 8px; color: white; padding: 1em; position: absolute; margin: 0; transform: translate(-50%, -50%); user-select: none; width: 33%; } .letters { margin: 0; } .letter { opacity: 0; position: relative; }