:root {
  font-size: 100%;
  line-height: 1.3;
  --link-color: navy;
  --bg-color: white;
  --text-color: black;
  --button-text-color: white;
  --button-bg: black;
  /* white space */
  --small: 0.25rem;
  --half: 0.75rem;
  --normal: 1rem;
  --medium: 1.75rem;
  --large: 2.25rem;
}

body {
  font-family: --system, sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
}

footer { margin-top: auto; }

a {
  color: var(--link-color);
  text-decoration: none;
}
a:hover, a:focus {
  text-decoration: underline;
}

.button-link, .button-button {
  font-weight: 600;
  display: inline-block;
  padding: 0.4rem 0.5rem 0.25rem;
  border: 1px solid var(--text-color);
  border-radius: 0.125rem;
  color: var(--text-color);
  background: transparent;
  letter-spacing: 0.0625rem;
  text-decoration: none;
}

.button-link:hover, .button-button:hover {
  color: var(--bg-color);
  background: var(--text-color);
}

.button-button {
  display: block;
  margin-top: var(--normal);
  padding-top: 0.3rem;
}

.no-list {
  list-style: none;
  padding: 0;
}

.flex-list {
  display: flex;
  list-style: none;
  padding: 0;
}

.flex-list li { margin-right: var(--normal); }

h1 { font-size: 1.75rem; margin-bottom: var(--medium); }
h1 a { color: unset; text-decoration: none; }
h2 { font-size: 1.25rem; margin-bottom: var(--medium); }
h3 { font-size: 1rem; margin-bottom: var(--half)}

table {}

tr {}
th { 
  font-weight: normal;
  text-align: left;
  padding-bottom: 0.25rem;
}
td {}
th, td {padding-right: var(--normal); }

.schoolday { margin-bottom: var(--normal); }

.schoolday p,
.schoolday h3 { margin: 0; }

form {
margin-bottom: var(--large)}

form section {
  margin-bottom: var(--normal);
}

.h-flex {
  display: flex;
  align-items: baseline;
}

label, input { margin-bottom: var(--normal); }

label {
  font-size: 0.875rem;
  margin-right: .25rem;
}

input[type=text] {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--text-color);
  color: var(--text-color);
}

@media (prefers-color-scheme: dark) {
  :root {
    --link-color: hsl(10 50 45);
    --bg-color: black;
    --text-color: hsl(220 39 60);
  }
}
