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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #4a4a4a;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

main {
  padding: 40px 20px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  main {
    justify-content: center;
  }
}

/* Typography */
h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

/* Utility classes */

.text-sm {
  font-size: 1rem;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

/* Layout */
.intro {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: center;
}

.intro-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.description {
  font-size: 1.2rem;
  margin-bottom: 0;
}

.links-grid {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.profile-photo {
  display: none;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .profile-photo {
    display: block;
  }
}

/* Experience table */
.experience {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
}

.experience td {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.experience tr:last-child td {
  border-bottom: none;
}

/* Footer */
footer {
  margin-top: 2rem;
}

footer p {
  margin-bottom: 0;
}
