:root {
  --font-family: rubik, sans-serif;
  --font: 15px var(--font-family);
  --code-font-family: Menlo, Monaco, monospace;
  --code-font: 15px var(--code-font-family);
}

body {
  font: var(--font);
}

::placeholder {
  opacity: 0.75;
  transition: 0.25s ease-out;
}

:focus::placeholder {
  opacity: 0.2;
}

input[type="search"] + .icon-search {
  position: absolute;
  right: 32px;
  opacity: 0.5;
}

* {
  font-family: var(--font-family);
}

.drop-shadow {
  filter: drop-shadow(0 2px 4px #8888);
}

.dialog {
  background: var(--background);
  max-width: calc(100vw - 40px);
  margin: auto;
  padding: 20px;
  box-shadow: 0 2px 4px #8884;
  border-radius: 20px;
  text-align: center;
  z-index: 101;
}

.fixed-centered {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
}

.dialog-backdrop {
  backdrop-filter: blur(4px);
  background: #0006;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
}

.dialog > * {
  margin: 0;
}

.stack {
  gap: var(--spacing);
}

.logo {
  max-width: 35vw;
  width: 144px;
  display: block;
  filter: drop-shadow(0 2px 4px #8884);
}

.v-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.v-scroll {
  overflow-y: scroll;
  overflow-y: overlay;
}

.dim-overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: var(--background);
  opacity: 0.75;
  z-index: 2000;
}

.center-justified {
  text-align: center !important;
}

.loading {
  animation: 2s infinite loading;
  animation-timing-function: steps(8, end);
  opacity: 0.5;
}

a {
  text-decoration: none;
  color: var(--input-color);
}

@keyframes loading {
  0% {
    transform: rotateZ(360deg);
  }

  100% {
    transform: rotateZ(0deg);
  }
}

[class^="icon-"],
[class*=" icon-"] {
  font-size: var(--icon-font-size);
  line-height: inherit !important;
}

.nowrap {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.display:disabled {
  border: 0;
  background: none;
  opacity: 1;
  box-shadow: none;
  text-align: right;
}

.numeric {
  width: 6em;
}

del {
  opacity: 0.6;
}

blockquote {
  border: 2px solid var(--accent-color);
  padding: 10px;
  border-radius: 10px;
}
