/* Plain, old-school personal homepage. No frameworks, no gradients. */

body {
  max-width: 48rem;
  margin: 2rem auto;
  padding: 0 1rem;
  background: #fff;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

h1 {
  color: #008236;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 2rem 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: #2b7fff;
  text-decoration: underline;
}

a:visited {
  color: #2b7fff;
}

a:hover {
  text-decoration: none;
}

/* Dated lists (projects), in the style of an old link page */
.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.date {
  flex: none;
  width: 5rem;
  color: #99a1af;
  font-size: 0.75rem;
  line-height: 1.75;
  text-align: right;
}

.note {
  color: #4a5565;
}

.elsewhere a {
  white-space: nowrap;
}

hr {
  height: 0;
  margin: 2rem 0 1rem;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

.footer {
  color: #99a1af;
  font-size: 0.75rem;
}

@media (max-width: 34rem) {
  .list li {
    display: block;
    margin-bottom: 0.9rem;
  }

  .date {
    display: block;
    width: auto;
    text-align: left;
  }
}

