/* Basic reset - just removes default browser spacing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Page body - white background, readable font, centered, not too wide */
body {
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  background: #fff;
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* My name at the top */
h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 12px;
  color: #b00;   /* Tom Scott red */
}

/* One-line intro under the name */
.tagline {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 10px;
}

/* Email / LinkedIn / GitHub row */
.links {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.links a {
  color: #b00;
}

/* Section headings */
h2 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 14px;
  color: #111;
}

/* Horizontal rules between sections */
hr {
  border: none;
  border-top: 1px dotted #ccc;
  margin: 28px 0;
}

/* Each job block gets a little breathing room */
.job {
  margin-bottom: 22px;
}

.job p {
  margin-bottom: 6px;
}

/* The date range on each job - smaller and grey */
.date {
  font-size: 0.82rem;
  color: #888;
}

/* Bullet lists */
ul {
  padding-left: 20px;
  margin-top: 4px;
}

li {
  margin-bottom: 4px;
  font-size: 0.93rem;
  color: #333;
}

/* Skills laid out as a simple table */
.skills-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.93rem;
}

.skills-table td {
  padding: 5px 10px 5px 0;
  vertical-align: top;
  color: #333;
}

/* First column (category name) is bold and a fixed width */
.skills-table td:first-child {
  font-weight: bold;
  color: #111;
  width: 90px;
}

/* Links throughout the page */
a {
  color: #b00;
  text-decoration: underline;
}

a:hover {
  color: #800;
}

/* Footer at the bottom */
footer {
  margin-top: 10px;
  font-size: 0.82rem;
  color: #888;
}

footer a {
  color: #888;
}
