:root {
  --text: #fff;
  --text-muted: #fff;
  --bg: #0a0a0a;
  --link: #5b8cff;
  --font: "Times New Roman", Times, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

/* Single style: everything inherits font, weight, size, line-height from body */
h1, h2, h3, h4, h5, h6, p, span, a, div {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: 36rem;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.name {
  margin: 0;
}

.name a:hover {
  color: var(--text-muted);
}

/* Nav */
.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--text-muted);
}

.nav a:hover {
  color: var(--text);
}

/* Main */
.main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Tagline */
.tagline {
  margin: 0;
}

/* Sections */
.section {
  padding-top: 1rem;
  border-top: 1px solid #1f2937;
}

.section h2 {
  margin: 0 0 0.5rem;
}

/* Work entries */
.work-entry {
  margin-bottom: 1.25rem;
}

.work-entry p {
  margin: 0;
}

.work-entry .company-link {
  color: var(--link);
  text-decoration: underline;
}

.work-entry .company-link:hover {
  color: var(--text);
}

.work-entry .work-meta {
  color: var(--text);
}

/* Education */
.edu-entry {
  margin-bottom: 1rem;
}

.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.edu-date,
.edu-sub,
.edu-coursework {
  color: var(--text);
}

.edu-school .company-link {
  color: var(--link);
  text-decoration: underline;
}

.edu-school .company-link:hover {
  color: var(--text);
}

.edu-sub {
  margin-top: 0.1rem;
}

.edu-coursework {
  margin-top: 0.75rem;
}

.edu-label {
  margin-right: 0.35rem;
  color: var(--text);
}

/* Footer links */
.links {
  padding-top: 1rem;
}

.links p {
  margin: 0.15rem 0;
}

.links a {
  color: var(--text-muted);
}

.links a:hover {
  color: var(--text);
}
