/* Styles for dylanbmoore.com — mirrors the look of the LaTeX CV */

:root {
  --text: #1a1a1a;
  --muted: #555;
  --link: #003399;          /* same blue as the PDF links */
  --rule: #1a1a1a;
  --bg: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Times New Roman", Times, "Nimbus Roman", "TeX Gyre Termes", serif;
  font-size: 18px;
  line-height: 1.5;
}

main {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

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

header { text-align: center; margin-bottom: 8px; }
h1 { font-size: 2.1rem; margin: 0 0 6px; }
.contact { margin: 0 0 14px; }
.sep { margin: 0 8px; color: var(--muted); }

.button {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--link);
  border-radius: 4px;
  font-size: 0.95rem;
}
.button:hover { background: var(--link); color: #fff; text-decoration: none; }

h2 {
  font-variant: small-caps;
  font-size: 1.3rem;
  margin: 32px 0 10px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--rule);
}

p { margin: 0; }
.entry { margin-bottom: 10px; }

ul { margin: 4px 0 0; padding-left: 1.5em; }
li { margin-bottom: 5px; }

.job { margin-bottom: 10px; }
.job strong, .job em { display: block; }

.sc { font-variant: small-caps; }

footer { margin-top: 48px; text-align: center; color: var(--muted); font-size: 0.85rem; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  main { padding-top: 28px; }
  h1 { font-size: 1.7rem; }
}

@media print {
  .button, footer { display: none; }
}
