html {
  --color-orange: oklch(0.72 0.23 35.81);
  --color-white: oklch(1 0 0);
  --color-black: oklch(0 0 0);
  --color-light-gray: oklch(0.82 0 0);
  --color-dark-red: oklch(0.54 0.24 29.62);
  --color-violet: oklch(0.56 0.27 283.28);
  --width: 400px;
  --height: 500px;
  --navbar-height: 48px;
  --gap: 16px;
  --color-foreground: var(--color-black);
  --color-background: var(--color-white);
  
  @media (prefers-color-scheme: dark) {
    --color-foreground: var(--color-white);
    --color-background: var(--color-black);
  }
}

body {
  background-color: var(--color-orange);
  font-family: 'Space Mono', monospace;
  width: var(--width);
  height: var(--height);
}

h1,
h2,
h3 {
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  line-height: 100%;
  justify-content: space-between;
}

h1 {
  font-size: 88px;
  line-height: 81%;
  margin: -7px 0 0 -4px;
}

h2 {
  font-size: 28px;
  line-height: 16px;
}

h3 {
  text-transform: uppercase;
}

h3,
label,
.label {
  font-size: 16px;
  line-height: 100%;
  margin: 0;
}

p {
  font-size: 16px;
  line-height: 120%;
  margin: 0;
}

.grow {
  flex-grow: 1;
  text-transform: uppercase;
}

.wrapper {
  gap: var(--gap);
  display: flex;
  padding: var(--gap);
  flex-direction: column;
  box-sizing: border-box;
  min-height: calc(var(--height) - var(--navbar-height));
}

#dashboard {
  min-height: var(--height);
}

.button {
  text-decoration: none;
  text-align: center;
  padding: 36px 48px;
  background-color: var(--color-black);
  border-radius: 48px;
  color: var(--color-white);
  cursor: pointer;
  transition: color .2s, background-color .2s;
  text-transform: uppercase;
}

.button.invisible {
  background-color: var(--color-background);
  color: var(--color-foreground);
}

.button.vivid {
  background-color: var(--color-violet);
  padding: 32px 44px 32px 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.button.vivid:hover {
  color: var(--color-background);
  background-color: var(--color-foreground);
}

.button.vivid .icon {
  background-color: var(--color-background);
  width: 24px; height: 24px;
  border-radius: 12px;
}

.button.vivid .icon path {
  fill: var(--color-foreground);
}

.button.vivid .arrow {
  height: 16px;
}

.button.vivid .arrow path {
  transition: all .2s;
}
.button.vivid:hover .arrow path {
  stroke: var(--color-background);
}

.button.vivid .lbl {
  flex-grow: 1;
  text-align: left;
}

.button.vivid .icon svg {
  width: 24px; height: 24px;
}

.button.vivid.icon svg path,
.button.vivid.icon svg rect {
  transition: stroke .2s;
}

.button.vivid.icon:hover svg path,
.button.vivid.icon:hover svg rect {
  stroke: var(--color-background);
}

.button.critical {
  @media (prefers-color-scheme: dark) {
    color: var(--color-background);
    background-color: var(--color-foreground);
  }
}

.button.critical:hover {
  color: var(--color-white);
  background-color: var(--color-dark-red);
}

#main,
#slider-container
{
  width: var(--width);
  height: var(--height);
  position: fixed;
  overflow: scroll;
}

#slider-container {
  box-sizing: border-box;
  color: var(--color-foreground);
  position: fixed;
  background-color: var(--color-background);
  left: var(--width);
  top: 0;
  transition: left 0.3s cubic-bezier(0.83, 0, 0.17, 1);
}

.view.hidden {
  display: none;
}

#footer {
  display: flex;
  justify-content: space-between;
}

#footer a {
  text-decoration: none;
  color: inherit;
}

#narrow-space {
  letter-spacing: -6px;
}

.slide-container #slider-container
 {
  left: 0;
}

.settings, .donation {
  padding-top: 32px;
  gap: 48px;
}

form, .group {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

input {
  box-sizing: border-box;
  border: 2px solid var(--color-foreground);
  color: var(--color-foreground);
  background-color: var(--color-background);
  padding: 30px 44px;
  border-radius: 48px;
  width: 100%;
  text-overflow: ellipsis;
  text-align: center;
  outline: none !important;
  transition: border .2s;
}

input[type="range"] {
  padding: 43px 0;
  border: none;
  -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-runnable-track {
  background: var(--color-foreground);
  height: 2px;
  transition: background-color .2s;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  margin-top: -42px;
  background-color: var(--color-background);
  height: 88px;
  width: 88px;
  border-radius: 44px;
  border: 2px solid var(--color-foreground);
  box-sizing: border-box;
  transition: border .2s;
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]:focus::-webkit-slider-runnable-track {
  background: var(--color-orange);
}

input[type="range"]:focus::-webkit-slider-thumb {
  border-color: var(--color-orange);
}

input:focus {
  border-color: var(--color-orange);
}

::placeholder {
  color: var(--color-light-gray);
}

.navbar {
  background-color: var(--color-background);
  position: sticky;
  box-sizing: border-box;
  padding: var(--gap);
  height: var(--navbar-height);
  top: 0;
  left: 0;
  right: 0;
}

#switch {
  cursor: pointer;
  position: fixed;
  top: 0;
  left: 336px;
  padding: var(--gap);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#switch .dash {
  background-color: var(--color-white);
  height: 2px;
  width: 32px;
  transition: all .2s ease-in-out;
}

.slide-container #switch .dash.dash-0 {
  background-color: var(--color-foreground);
  transform: matrix(1, 0.5, -0.5, 0.85, 0, 8);
}

.slide-container #switch .dash.dash-1 {
  background-color: var(--color-foreground);
  transform: scale(0, 1);
}

.slide-container #switch .dash.dash-2 {
  background-color: var(--color-foreground);
  transform: matrix(1, -0.5, 0.5, 0.85, 0, -8)
}

#currency-selector {
  flex-grow: 1;
}

#my-name-is {
  flex-grow: 1;
  display: flex;
  gap: 12px;
}

#my-name-is img {
  width: 84px; height: 84px; display: block;
  border-radius: 42px;
}

#backdrop {
  position: fixed;
  top: -32px;
  bottom: -32px;
  left: -32px;
  right: -32px;
  z-index: -1;
}

#backdrop-blur {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url(/images/noise.png);
  mix-blend-mode: soft-light;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-size: 200px;
}

#buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    transform: scale(1.5);
    background-color: var(--color-orange);
}

#buttons .button-wrapper {
    padding: 2px;
}

#crypto-address {
  background-color: var(--color-background);
  position: absolute;
  top: var(--navbar-height);
  left: var(--width);
  width: var(--width);
  transition: left 0.3s cubic-bezier(0.83, 0, 0.17, 1);
  text-align: center;
}

#crypto-address .content {
  padding-top: 32px;
}

.crypto-address #crypto-address {
  left: 0;
}

#qrcode {
  margin: auto;
}

#address {
  word-break: break-all;
}

#copy-address {
  justify-content: center;
}

#back {
  padding: 16px 48px;
}