/* Mobile-first base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background-color: #0f172a;
  color: #e2e8f0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

main {
  max-width: 640px;
  width: 100%;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: -0.025em;
}

.subtitle {
  font-size: 1.1rem;
  color: #94a3b8;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #cbd5e1;
}

section {
  margin-bottom: 1.75rem;
}

p {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.6;
}

a {
  color: #60a5fa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
  padding: 0;
}

.education ul li {
  color: #94a3b8;
  padding: 0.25rem 0;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.link-list li a {
  color: #60a5fa;
}

/* Tablet and up */
@media (min-width: 640px) {
  body {
    padding: 3rem 2rem;
  }
  h1 {
    font-size: 3rem;
  }
  .subtitle {
    font-size: 1.25rem;
  }
  p {
    font-size: 1.1rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  body {
    padding: 4rem 2rem;
  }
  h1 {
    font-size: 3.5rem;
  }
}
