html,body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: sans-serif;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  align-content: center;
}

h1 { font-weight: normal; }
#acctform * { font-size: 12pt; }

#acctform {
  display: flex;
  flex-flow: row wrap;
  width: 75%;
  border: solid #888 1px;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 0;
}

#acctform > span {
  width: 45%;
  display: flex;
  flex-flow: column wrap;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: space-around;
}

#acctform > span > input { width: 65%; }

input[type="number"] { -moz-appearance: textfield; }
input, textarea { margin-bottom: 15px; }

textarea {
  width: 80%;
  height: 7em;
}

#buttonrow { align-content: center; }

#delform {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 5px;
  margin: 10px;
}
#delform input {
  background-color: #fcc;
}
#delform button {
  background-color: #933;
  color: #ccc;
  border: solid #922 1px;
}
#delform button:hover,#delform button:focus {
  background-color: #711;
}

#logoutform { align-items: center; }

#logout {
  background-color: #933;
  color: #ccc;
  border: solid #bbb 1px;
  padding: 5px;
}
#logout:hover,#logout:focus { background-color: #711; }

a { color: #2af; text-decoration: none; }
a:visited { color: #a6f; }


@media (prefers-color-scheme: dark) {
  html,body {
    color: white;
    background-color: #222;
  }
}

@media screen and (max-width: 640px) {
  #acctform {
    width: 85%;
    padding: 10px;
  }
  #acctform > span {
    width: 100%;
  }
}
