div.overlay { position: fixed; left: 0; right: 0; top: 0; bottom: 0; padding-top: 1em; z-index: 999; background-color: rgba(0, 0, 0, 0.90); overflow-y: scroll; h1 { text-align: center; } h2 { opacity: 0.5; margin: 0; margin-top: 1em; border-bottom: 0.5px solid; padding-bottom: 0.125em; text-align: center; } div.modal { width: 60ch; max-width: 95%; margin: auto; label { display: block; margin-top: 1em; margin-left: 0.5ch; font-size: 0.75em; opacity: 0.5; } input { display: block; width: 100%; padding: 0 0.5ch; border: none; font-family: inherit; background: none; outline: none; opacity: 0.5; } input.big { font-size: 1.5em; padding: 0 0.3336ch; } select { display: block; width: 100%; padding: 0 0ch; border: none; font-family: inherit; background: none; outline: none; opacity: 0.5; option { background-color: black; } } select.big { font-size: 1.5em; margin: 0; } select:focus { opacity: 1; } textarea { display: block; width: 100%; height: 8em; padding: 0 0.5ch; border: none; font-family: inherit; background: none; outline: none; opacity: 0.5; resize: none; overflow-y: scroll; } textarea.tall { height: 24em; } input:focus, textarea:focus { opacity: 1; } button { border: 1px solid; background-color: rgba(0, 0, 0, 0.75); margin: 2em auto; display: block; padding: 0.5em 4ch; opacity: 0.75; } button:hover { opacity: 1; cursor: pointer; } } div.modal.nolabel { input, textarea { margin-bottom: 0.5em; } } div.overlay-options { width: 60ch; max-width: 95%; margin: auto; text-align: right; div { opacity: 0.75; user-select: none; cursor: pointer; } div:hover { opacity: 1; } } } div.overlay.notification-overlay { padding-top: 20%; div.modal { text-align: center; } }