* { box-sizing: border-box; }

:root {
  --focus-head-color: hsl(218deg 92% 57%);
  --focus-tail-color: hsl(218deg 92% 50%);
}

html, body {
  font-size: 20px;
  height: 100%;
  margin: 0;
  background-color: #fff;
  font-family: Roboto, sans-serif;
}

.form-wrapper {
  position: relative;
  display: grid;
  height: 100%;
  margin: 0;
  place-items: center;
  max-width: 100%;
  padding: 2.5rem;
}

form {
  margin: auto;
  width: 100%;
  max-width: 400px;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}
h3 {
  font-size: 1rem;
  font-weight: 400;
  margin: 0 0 2rem 0;
}
a {
  color: var(--focus-head-color);
  text-decoration: none;
}

label {
  color: #444;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  display: block;
  width: 100%;
  margin: 0.5rem 0 1rem 0;
  padding: 0.5rem;
  font-size: 1rem;
  border: 0;
  border-radius: 0.125rem 0.25rem;
  background-color: hsl(222, 20%, 95%);
}

.checkbox {
  margin: 0.5rem 0;
}

input[type="checkbox"] {
  margin-right: 0.5rem;
}

button {
  display: block;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 0.125rem 0.25rem;
  background-color: var(--focus-head-color);
  color: #fff;
  margin: 2rem 0 0 auto;
}

input:focus,
button:focus{
  outline: 0;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}