html, body {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  margin: 0;
  padding: 0;
  background-color: white;
}

.main {
  display: none;
  flex-direction: column;
  align-items: center;
  font-size: 0.9rem;
}

.main .update {
  position: fixed;
  bottom: 0;
  right: 20px;
  font-size: 0.6rem;
  color: #cccccc;
  text-align: right;
}

.main .login {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main .email {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main .globalError {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main .messageArea {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.iconArea {
  width: 100%;
  max-width: 640px;
  margin: 48px 0px 40px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon {
  width: 96px;
  height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.icon img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.description {
  width: 100%;
  max-width: 640px;
  padding: 16px;
  box-sizing: border-box;
}

.agreeArea {
  margin: 24px;
  padding: 0px 16px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.agreeArea input {
  margin: 6px;
  transform: scale(1.5);
  display: block;
}

.agreeArea label {
  display: block;
  margin-left: 8px;
}

#loginButton {
  width: 100%;
  max-width: 180px;
  margin-top: 16px;
}

#loginButton img {
  width: 100%;
  height: auto;
}

#registerButton {
  width: 100%;
  max-width: 128px;
  margin-top: 32px;
}

#registerButton img {
  width: 100%;
  height: auto;
}

.emailArea {
  width: 100%;
  height: 28px;
  margin: 24px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.emailTextWrapper {
  height: 28px;
  margin: 0px 24px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

#emailText {
  font-size: 18px;
  width: 100%;
  height: 32px;
  padding: 0px 8px;
  border-radius: 10px;
  box-sizing: border-box;
}

.error {
  font-size: 1rem;
  margin: -16px 24px 8px 24px;
  padding: 0px 20px;
  color: red;
  display: none;
}

.globalError .error {
  margin-top: 24px;
}

.retryMessageArea {
  font-size: 1rem;
  margin: -16px 24px 8px 24px;
  padding: 0px 20px;
  color: black;
  display: flex;
}

.messageArea .retryMessageArea {
  margin-top: 24px;
}

#retryMessageLink {
  text-decoration: none;
}

