/* global */

* {
  box-sizing: border-box;
}

a {
  color: rgb(0, 0, 0);
}

address {
  display: none;
}

body {
  margin: 0;
}

button {
  background-color: rgb(35, 20, 60);
  border: 2px solid rgb(35, 20, 60);
  border-radius: 16px;
  color: rgb(255, 255, 255);
  display: block;
  font: bold 16px 'Ubuntu', sans-serif;
  margin: 0 auto;
  outline: none;
  padding: 16px;
}

button:hover {
  background-color: rgb(90, 75, 130);
  cursor: pointer;
}

form {
  margin: 0 0 16px 0;
}

form:last-child {
  margin-bottom: 0;
}

h1,
h2 {
  margin: 0 0 16px 0;
  text-align: center;
  text-wrap: balance;
}

header {
  background-color: rgb(35, 20, 60);
  border-bottom: 2px solid rgb(255, 255, 255);
  color: rgb(255, 255, 255);
  display: block;
  left: 0;
  padding: 16px;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 1000;
}

header > a {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

header > a > ui-cols {
  justify-content: center;
}

header > a > ui-cols > ui-col {
  align-self: center;
  padding: 0 4px;
}

header > a > ui-cols > ui-col:first-child {
  font-size: 25px;
}

header > a > ui-cols > ui-col:last-child {
  font: bold 30px 'Ubuntu', sans-serif;
}

hr {
  display: none;
}

html {
  background-color: rgb(90, 75, 130);
  font: 16px 'Ubuntu', sans-serif;
  margin: 0;
}

input[type="password"] {
  background-color: rgb(255, 255, 255);
  border: 2px solid rgb(35, 20, 60);
  border-radius: 16px;
  color: rgb(0, 0, 0);
  display: block;
  font: 16px 'Ubuntu', sans-serif;
  margin: 8px 0 0 0;
  outline: none;
  padding: 16px;
  width: 100%;
}

input[type="password"]:hover {
  cursor: pointer;
}

input[type="submit"] {
  background-color: rgb(35, 20, 60);
  border: 2px solid rgb(35, 20, 60);
  border-radius: 16px;
  color: rgb(255, 255, 255);
  display: block;
  font: bold 16px 'Ubuntu', sans-serif;
  margin: 0 auto;
  outline: none;
  padding: 16px;
  white-space: nowrap;
}

input[type="submit"]:hover {
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  cursor: pointer;
}

input[type="text"] {
  background-color: rgb(255, 255, 255);
  border: 2px solid rgb(35, 20, 60);
  border-radius: 16px;
  color: rgb(0, 0, 0);
  display: block;
  font: 16px 'Ubuntu', sans-serif;
  margin: 8px 0 0 0;
  outline: none;
  padding: 16px;
  width: 100%;
}

input[type="text"]:hover {
  cursor: pointer;
}

label {
  display: block;
  margin: 0 0 16px 0;
}

label:last-child {
  margin: 0 0 16px 0;
}

main {
  margin: 0 auto;
  max-width: 950px;
  padding: 16px;
}

p {
  margin: 0 0 16px 0;
}

p:last-child {
  margin-bottom: 0;
}

p.error {
  border: 2px solid rgb(255, 255, 255);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  text-wrap: balance;
}

p#copyright {
  margin-top: 16px;
  text-align: center;
  text-wrap: balance;
}

/* ui */

ui-border {
  background-color: rgb(255, 255, 255);
  border: 2px solid rgb(35, 20, 60);
  border-radius: 16px;
  color: rgb(0, 0, 0);
  display: block;
  font: 16px 'Ubuntu', sans-serif;
  padding: 16px;
}

ui-cols {
  display: flex;
  flex-direction: row;
}

ui-cols > ui-col {
  display: block;
  padding: 0 8px;
}

ui-cols > ui-col:first-child {
  padding-left: 0;
}

ui-cols > ui-col:last-child {
  padding-right: 0;
}
