@font-face {
  font-family: 'SFMono';
  src: url("/assets/sfmono.otf") format('opentype');
  font-weight: normal;
}

:root {
  --qr-code-scale: 1;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: #000000;

  font-family: SFMono, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

canvas {
  display: flex;
}

main {
  width: min-content;
  padding-left: 10px;
  padding-right: 10px;
  margin-left: auto;
  margin-right: auto;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.canvas-wrapper {
  position: relative;
  display: flex;
  margin-top: 30px;
  width: var(--qr-code-width);
  height: var(--qr-code-width);
}

.canvas {
  position: absolute;
  display: flex;
  top: 0%;
  left: 0%;
  transform-origin: 0% 0%;
  scale: var(--qr-code-scale);
}

.input {
  all: unset;

  width: calc(100% - 32px);
  font-size: 18px;
  padding: 16px;
  margin-top: 20px;
  font-weight: normal;
  text-align: center;
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  
  transition: background-color 0.25s ease-in-out;
}

.input:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.input:focus {
  background-color: rgba(255, 255, 255, 0.15);
}

.input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.instructions {
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
  margin-top: 8px;
  text-align: center;
  font-weight: normal;

  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}