@font-face { font-family: 'SF-Pro-Display-Semibold'; src: url('/assets/fonts/SF-Pro-Display-Semibold.otf'); font-display: block; } @font-face { font-family: 'SF-Pro-Text-Regular'; src: url('/assets/fonts/SF-Pro-Text-Regular.otf'); font-display: block; } :root { --color-primary: #4f00cc; --bit-darker-than-color-primary: #3e00bb; --darker-than-color-primary: #2d00aa; --much-darker-than-color-primary: #1c0099; --color-secondary: #5a91f7; --bit-darker-than-color-secondary: #4980e6; --darker-than-color-secondary: #3870c5; --much-darker-than-color-secondary: #2760b4; --light: #fff; --bit-darker-than-light: #eee; --darker-than-light: #ddd; --much-darker-than-light: #aaa; --dark: #000; --bit-lighter-than-dark: #111; --lighter-than-dark: #222; --much-lighter-than-dark: #555; --navbar-color: rgba(255, 255, 255, 0.5); --ai-x: 327.24; --line-width: 2; --textarea-font-size: 1rem; --logo-font-size: 60px; --rem: 10px; } @media (prefers-color-scheme: dark) { :root { --light: #000; --bit-darker-than-light: #111; --darker-than-light: #222; --much-darker-than-light: #555; --dark: #fff; --bit-lighter-than-dark: #eee; --lighter-than-dark: #ddd; --much-lighter-than-dark: #aaa; --navbar-color: rgba(0, 0, 0, 0.5); } } ::selection { background-color: var(--color-primary); } body { font-size: var(--rem); font-family: 'SF-Pro-Text-Regular'; margin: 0; background-color: var(--light); } .navbar { display: flex; position: fixed; width: 100vw; background-color: var(--navbar-color); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #fff; padding: 10px; justify-content: space-between; } .more-options { margin-left: auto; right: 0; margin-right: 25px; top: -40px; padding: 5px; border-radius: 7px; background-color: rgba(255, 255, 255, 0.5); } .content-container { display: flex; flex-direction: column; } .more-options:hover { background-color: rgba(179, 179, 179, 0.5); } .more-options:active { background-color: rgba(102, 102, 102, 0.5); } .content { flex-direction: column; display: flex; justify-content: center; align-items: center; height: 100vh; width: 100vw; } .content-container { max-width: 100vw; padding: 20px; box-sizing: border-box; } .globalicon { margin: 80px; display: flex } #logo-c { display: none; } #prompt-container { border-radius: 1.1rem; max-width: 100%; background-color: var(--darker-than-light); box-sizing: border-box; font-size: var(--textarea-font-size); display: flex; padding: 10px; min-height: 80px } input, textarea { caret-color: var(--dark); color: var(--dark); font-family: 'SF-Pro-Text-Regular'; } #prompt { border: none; background-color: inherit; resize: none; width: 100%; max-height: 1000px; scrollbar-width: thin; scroll-behavior: smooth; font-size: var(--textarea-font-size); } #prompt:focus { outline: none; } .message-button { background-color: var(--dark); color: var(--light); border-radius: 1.1rem; min-width: 31px; min-height: 31px; border: none; align-self: flex-end; display: flex; justify-content: center; align-items: center; cursor: pointer; } .message-button:hover { background-color: var(--much-lighter-than-dark); } .message-button:focus { background-color: var(--much-lighter-than-dark); } .message-button svg { align-self: center } #prompt:placeholder-shown ~ #send { display: none } #prompt:placeholder-shown ~ #voice-trigger { display: block } #prompt:not(placeholder-shown) ~ #send { display: block; } #prompt:not(placeholder-shown) ~ #voice-trigger { display: none; } .overlay { width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.5); position: fixed; top: 0; } dialog { border-radius: 1.1rem; padding: 20px; font-size: 1.5em; border: none; max-width: 500px; } .button { border-radius: 1.1rem; padding: 4px 12px; border: none; cursor: pointer; margin: 12px } .button-secondary { outline: 1px solid var(--much-darker-than-light); background-color: var(--bit-darker-than-light); } .button-secondary:hover { background-color: var(--darker-than-light); } .button-secondary:active { background-color: var(--much-darker-than-light); } .button-primary { outline: 1px solid var(--much-darker-than-color-secondary); background-color: var(--bit-darker-than-color-secondary); margin-bottom: 0; margin-right: 0; } .button-primary:hover { background-color: var(--darker-than-color-secondary); } .button-primary:active { background-color: var(--much-darker-than-color-secondary); } .dialog-buttons { display: flex; justify-content: end; } #voice-circle { --size: 150px; background-color: var(--color-secondary); width: var(--size); height: var(--size); border-radius: 50%; }