html {
  font-size: 62.5%;

  box-sizing: border-box;
  background-repeat: no-repeat;
}

*,
::before,
::after {
  box-sizing: inherit;
  background-repeat: inherit;
}

html,
body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.8rem;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  color: #1f303e;
}

a,
a:hover,
a:visited {
  color: #005aff;
}

h1 {
  font-size: 3.2rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #eaecef;
  margin-bottom: 2rem;
  text-align: center;
}

h1,
h2 {
  font-weight: 600;
}

h2 {
  font-size: 2.4rem;
  margin-top: 4rem;
}

h1 a {
  text-decoration: none;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
}

main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 800px;
  margin: 5rem auto;
  padding: 0 2.5rem;
}

header,
footer {
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

header h1 {
  max-width: 800px;
  margin: 0;
  padding: 0;
  border: none;
}

footer {
  flex-direction: column;
  font-size: 1.6rem;
}

footer > * {
  margin: 0.6rem;
}

.inverted {
  background: #233c51;
  color: #fff;
}

.inverted a,
.inverted a:hover,
.inverted a:visited {
  color: #face00;
}

.inverted a:focus {
  box-shadow: 0 0 0 0.2rem hsla(49, 100%, 49%, 0.5);
}

a.unstyled,
a.unstyled:hover,
a.unstyled:visited {
  color: inherit;
}

.form-wrapper {
  display: flex;
  justify-content: center;
}

.form-group {
  display: flex;
  margin-bottom: 1rem;
}

form {
  margin: 3rem 0 3rem 0;
  padding: 0 2rem;
}

label {
  display: block;
  margin: 0.9rem;
}

button {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  user-select: none;
  background-image: none;
  border: 1px solid #2e6da4;
  border-radius: 4px;

  color: #fff;
  background-color: #337ab7;
}

button:focus,
button:hover {
  color: #fff;
  background-color: #286090;
  border-color: #122b40;
}

#persistentBackup {
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-center {
  text-align: center;
}

:focus {
  box-shadow: 0 0 0 0.2rem hsla(219, 100%, 50%, 0.5);
  outline: transparent solid 0.2rem;
}

::-moz-focus-inner {
  border: 0;
  padding: 0;
}
