:root {
  color-scheme: dark light;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

body {
  margin: 0;
}

header {
  border-bottom: 1px solid black;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  padding-top: 8px;
  padding-bottom: 8px;
}

@media (prefers-color-scheme: dark) {
  header {
    border-bottom-color: white;
  }
}

header h1 {
  font-size: 1em;
}

.split {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.link {
  margin: 0;
}

form {
  margin: 0;
}

.download {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.download img {
  height: 40px;
}

.container {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

footer {
  margin-top: 2em;
}

footer ul {
  display: flex;
  gap: 4px;
  padding-left: 0;
}

footer ul li {
  list-style: none;
}

a,
a:visited {
  color: cornflowerblue;
}

@media screen and (prefers-color-scheme: dark) {
  a,
  a:visited {
    color: #4c90f0;
  }
}

.secondary {
  color: #697180;
}

@media screen and (prefers-color-scheme: dark) {
  .secondary {
    color: #9ca0a6;
  }
}

form.login {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

form input {
  padding: 8px;
  border: 2px solid #5f3c91;
  border-radius: 4px;
}

form button {
  padding: 8px;
  background-color: #5f3c91;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.15s linear, color 0.15s linear;
}

form:invalid button {
  background-color: #251354;
  color: rgba(255 255 255 / 90%);
}

form.login label {
  font-size: smaller;
  opacity: 70%;
}
