/**
* Do the whole thing in style
*/ 
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap");

#tesseract {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Inputs */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --input-border: #8b8a8b;
  --input-focus-h: 245;
  --input-focus-s: 100%;
  --input-focus-l: 42%;
}

.input {
  font-size: 16px;
  font-size: max(16px, 1em);
  font-family: inherit;
  padding: 0.25em 0.5em;
  background-color: #fff;
  border: 2px solid var(--input-border);
  border-radius: 4px;
  transition: 180ms box-shadow ease-in-out;
  display: block;
  margin-bottom: 1em;
}

.input:focus {
  border-color: hsl(var(--input-focus-h), var(--input-focus-s), var(--input-focus-l));
  box-shadow: 0 0 0 3px hsla(var(--input-focus-h), var(--input-focus-s), calc(var(--input-focus-l) + 40%), 0.8);
  outline: 3px solid transparent;
}

.input:not(textarea) {
  line-height: 1;
  height: 2.25rem;
}

label {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
}

.input + label {
  margin-top: 2rem;
}

/* Button */
.medium {
    font-size: 24pt;
}

.large {
    font-size: 64pt;
}

.button-44 {
  background: #003247;
  border-radius: 11px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-family: Roboto, "Roboto Slab", "Droid Serif", "Segoe UI", system-ui,
    Arial, sans-serif;
  font-weight: 700;
  justify-content: center;
  line-height: 33.4929px;
  padding: 0.8em 1em;
  text-align: center;
  text-decoration: none;
  text-decoration-skip-ink: auto;
  text-shadow: rgba(0, 0, 0, 0.3) 1px 1px 1px;
  text-underline-offset: 1px;
  transition: all 0.2s ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  word-break: break-word;
  border: 0;
}

.button-44:active,
.button-44:focus {
  border-bottom-style: none;
  border-color: #dadada;
  box-shadow: rgba(0, 0, 0, 0.3) 0 3px 3px inset;
  outline: 0;
}

.button-44:hover {
  border-bottom-style: none;
  border-color: #dadada;
}

.friendly {
  /* text */
  color: white;
  font-family: "Roboto", sans-serif;
}

.waiting {
  cursor: progress;
  background-color: #f47920;
}

.success {
  background-color: #00619e;
  cursor: pointer;
}

.error {
  background-color: #cf1d39;
  cursor: pointer;
}

.done {
  background-color: #00ae9d;
}

.hidden {
    display: none;
}