* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Courier New", Courier, monospace;
  font-size: 15px;
  line-height: 1.6;
  color: #111;
  background: #fff;
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 20px;
}

a {
  color: #111;
}

a:hover {
  background: #111;
  color: #fff;
}

.sidebar-layout {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.headshot {
  width: 150px;
  flex-shrink: 0;
  border-radius: 2px;
}

.main {
  flex: 1;
  min-width: 0;
}

nav {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #111;
}

nav a {
  margin-right: 16px;
  text-decoration: none;
}

h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 14px;
  margin-bottom: 32px;
}

h2 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
}

p {
  margin-bottom: 12px;
}

.paper {
  margin-bottom: 16px;
}

.paper .title {
  font-weight: 700;
}

.paper .venue {
  font-style: italic;
}

.paper .links {
  font-size: 13px;
}

.paper .links a {
  margin-right: 8px;
}

.paper .note {
  font-size: 13px;
  color: #555;
}

.course {
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .sidebar-layout {
    flex-direction: column;
  }
  .headshot {
    width: 120px;
  }
}
