::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
 	background: black;
}
::-webkit-scrollbar-thumb {
	background: var(--primary);
	transition: background .6s;
	box-shadow: 0 0 3px aqua;
}
::-webkit-scrollbar-thumb:hover {
	background: var(--alternate);
}
::backdrop {
	backdrop-filter: blur(3px);
	background-color: rgb(0 0 0 / .5);
}
html {
  --primary: #7c1f1b;
  --alternate: #93731f;
  --bg: #f1e8d2;
  --bg-deep: #e3d6b2;
  --ink: #2a2018;
  --ink-soft: #6b5c46;
  --line: rgba(42, 32, 24, .2);
  font-family: 'IBM Plex Sans', -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.6;
	color: var(--ink);
	user-select: text;
  background-color: var(--bg);
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 440;
	margin: 3vh 10px 2vh;
	padding: 0;
  text-wrap: balance;
}
h1 {
	color: var(--ink);
	text-align: center;
}
h2,h3,h4 {
  color: var(--ink);
}
a {
	text-decoration: none;
  cursor: pointer;
	color: var(--primary);
}
a:focus-visible, button:focus-visible, [contenteditable]:focus-visible {
  outline: 2px solid var(--alternate);
  outline-offset: 2px;
}
b {
  color: var(--primary);
}
.eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--alternate);
}
select, option {
	color: white;
	background-color: var(--primary);
	border-radius: 5px 0 5px 0;
  cursor: pointer;
  user-select: none;
  text-align: center;
  min-width: 44px;
  min-height: 44px;
  padding: 3px 8px;
  margin: 5px;
}
button, button.invert:hover, .button {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: clamp(12px, 2.4vw, 13px);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bg);
	background-color: var(--primary);
  min-width: 44px;
  min-height: 44px;
	box-sizing: border-box;
	padding: 3px 18px;
  margin: 0 5px;
	border-radius: 0;
	border: 1px solid var(--primary);
	display: inline-flex;
	align-items: center;
  justify-content: center;
	cursor: pointer;
  transition: all .25s;
}
button.invert, button:hover, .button.invert {
  background-color: var(--bg);
  color: var(--primary);
}
flex {
  display: flex;
	justify-content: center;
	align-items: center;
}
grow, .grow, [grow] {
  display: block;
	flex-grow: 1;
}
header {
	position: sticky;
  align-items: center;
  justify-content: center;
	display: flex;
  font-size: 20px;
  background-color: var(--bg);
	backdrop-filter: blur(10px) opacity(.85);
	border-bottom: 1px solid var(--line);
	top: 0;
  z-index: 1;
  padding: 0 5px;
  height: 52px;
}

#logo {
	width: 40px;
	height: 40px;
	padding: 3px;
	cursor: pointer;
}

.loading {
  color: var(--bg);
	user-select: none;
	display: inline-flex;
	position: relative;
	height: 40px;
	width: 40px;
	font-size: 35px;
	background-color: black;
	border-radius: 50%;
	box-shadow: 0 0 3px aqua;
  justify-content: center;
  align-items: center;
}
.loading div {
	position: absolute;
	width: 50%;
	height: 50%;
	background-color: #460000;
  border-radius: 50%;
	animation: move 1s linear infinite;
}
@keyframes move {
	0% {
		background: linear-gradient(to bottom right, var(--primary), transparent);
		top: 0;
		left: 0;
	}
	25% {
		background: linear-gradient(to bottom left, var(--primary), transparent);
		top: 0;
		left: 50%;
	}
	50% {
		background: linear-gradient(to top left, var(--primary), transparent);
		top: 50%;
		left: 50%;
	}
	75% {
		background: linear-gradient(to top right, var(--primary), transparent);
		top: 50%;
		left: 0;
	}
	100% {
		background: linear-gradient(to bottom right, var(--primary), transparent);
		top: 0;
		left: 0;
	}
}
#apps {
  height: 37px;
  position: relative;
  cursor: pointer;
}

#apps > svg {
  height: 35px;
}

#apps-menu {
  position: absolute;
  left: -53px;
  display: none;
  text-align: center;
  width: 125px;
  margin: 5px;
  background: var(--bg);
  box-shadow: 0 0 3px black;
  padding: 4px;
}


#apps-menu a:hover {
  color: var(--primary);
}

#apps-menu svg {
  width: 40px;
  height: 40px;
  vertical-align: top;
}

#apps-menu div {
  display: inline-flex;
  flex-direction: column;
  font-size: 12px;
  text-align: center;
  align-items: center;
}
#login {
  border: none;
  box-shadow: 0 0 3px black;
  border-radius: 10px;
}
#login iframe {
  width: 375px;
  height: 325px;
  border: none;
}
