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

* {
  padding: 0;
  margin: 0;
  outline: none;
  border: none;
}

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

p a {
  text-decoration: underline;
}

body {
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  min-height: 100%;
}
html body {
  min-height: 100%;
  display: flex;
  flex-flow: column nowrap;
}
html main {
  height: auto;
  flex-grow: 1;
}

main {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

html {
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 13pt;
}

h1 {
  display: block;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 6px;
}

form {
  width: 100%;
  max-width: 400px;
  margin: auto;
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-flow: column nowrap;
  gap: 6px;
}

input,
button {
  display: block;
  font: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  line-height: 1;
  border-radius: 6px;
  padding: 24px;
}

input {
  width: 100%;
}

button {
  cursor: pointer;
  align-self: flex-end;
}

html {
  color: black;
  background-color: ghostwhite;
}

form {
  color: white;
  background-color: rgba(248, 248, 255, 0.3);
  backdrop-filter: blur(4px);
}

input {
  color: black;
  background-color: white;
}

button {
  color: white;
  background-color: rgba(255, 140, 0, 0.75);
}
button:hover {
  background-color: rgba(255, 140, 0, 0.9);
}
button:active {
  background-color: rgba(255, 140, 0, 0.8);
}

input:-webkit-autofill {
  caret-color: black;
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: black !important;
}

.error {
  padding: 12px;
  font-size: 11pt;
  line-height: 1.5;
  color: white;
  background: rgba(255, 0, 0, 0.3);
  border-radius: 6px;
}