public/web.css
html,
body,
#root {
  width: 100%;
  -webkit-overflow-scrolling: touch;
  margin: 0px;
  padding: 0px;
  min-height: 100%;
  overflow: hidden;
  overscroll-behavior-x: none;
  overscroll-behavior-y: none;
  background: hsl(164, 88.2%, 96.7%);
  user-select: none;
}

.dark {
  display: none;
}
.loading-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (prefers-color-scheme: dark) {
  html,
  body,
  #root {
    background: hsl(174, 51.2%, 8%);
  }
  .dark {
    display: block;
  }
  .light {
    display: none;
  }
}

*:not(.tiptap, .tiptap *, input, textarea) {
  cursor: default !important;
}
div[contenteditable="true"] {
  cursor: text !important;
}
.tiptap a,
[role="button"],
[role="button"] * {
  cursor: pointer !important;
}

textarea,
input {
  cursor: text !important;
  caret-color: var(--theme-11);
}

#root {
  flex-shrink: 0;
  flex-basis: auto;
  flex-grow: 1;
  display: flex;
  flex: 1;
}

* {
  outline: none;
}

input:focus,
select:focus,
textarea:focus,
div:not(.tiptap):focus-visible {
  box-shadow: 0 0 0 2px var(--theme-7);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  height: calc(100% + env(safe-area-inset-top));
  background: var(--theme-2);
}

*::selection {
  background: var(--theme-11);
  color: var(--theme-1);
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

body {
  display: flex;
  overflow-y: auto;
  overscroll-behavior-y: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-overflow-style: scrollbar;
  filter: blur(0px);
  transform: scale(1);
}

::-webkit-scrollbar {
  width: 15px;
  min-height: 15px;
}

input::-webkit-scrollbar {
  display: none;
}

/* vertical scrollbars only */
::-webkit-scrollbar-thumb:vertical {
  min-height: 50px;
}

[aria-label="Bottom Sheet"]::-webkit-scrollbar,
[aria-label="Scrollbar-Hidden"]::-webkit-scrollbar,
[aria-label="Sidebar"]::-webkit-scrollbar {
  width: 0px;
  min-height: 0px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 10px 10px rgba(0, 0, 0, 0);
  border: solid 5px transparent;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 10px 10px var(--theme-4);
  border: solid 5px transparent;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  box-shadow: inset 0 0 10px 10px var(--theme-5);
}

::-webkit-scrollbar-thumb:active {
  box-shadow: inset 0 0 10px 10px var(--theme-6);
}

.animate-chip {
  animation: chip 0.2s;
}

@keyframes chip {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

::-webkit-input-placeholder {
  color: var(--theme-6);
}

[aria-valuetext="web-blur"] {
  animation: blur 0.7s forwards;
}

[aria-valuetext="web-app-animation"] {
  animation: appAnimation 2s cubic-bezier(0.85, 0, 0.15, 1);
}

body {
  transition: filter 0.2s, transform 0.2s;
}

html,
body {
  overflow: hidden;
}

.protected {
  filter: blur(10px);
  pointer-events: none;
  background-color: var(--theme-2);
}

body,
body > div {
  transition: transform 0.4s, filter 0.4s;
}

.protected > div {
  transform: scale(0.98);
}

@keyframes appAnimation {
  from {
    transform: scale(1.2);
    filter: blur(20px);
  }
  to {
    transform: scale(1);
    filter: blur(0px);
  }
}

@keyframes blur {
  from {
    filter: blur(10px);
    transform: translateY(10px);
  }
  to {
    filter: blur(0px);
  }
}

[aria-valuetext="web-blur-2"] {
  animation: blur2 0.7s forwards;
}

@keyframes blur2 {
  from {
    filter: blur(10px);
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    filter: blur(0px);
    opacity: 0.6;
  }
}

[aria-valuetext="home-logo"] {
  animation: blur3 0.7s forwards;
  transform-origin: bottom center;
}

@keyframes blur3 {
  from {
    filter: blur(10px);
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    filter: blur(0px);
  }
}

