* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

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

a:hover {
  text-decoration: underline;
}

a:visited {
  color: #0066cc;
}

.navbar {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.navbar a {
  margin-right: 20px;
  font-weight: 500;
}

.navbar a:hover {
  text-decoration: underline;
}

#header {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  align-items: center;
}

#header img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

#desc {
  flex: 1;
}

#header h1 {
  font-size: 2em;
  margin: 0 0 10px 0;
}

#header h2 {
  font-size: 1.1em;
  color: #666;
  font-weight: normal;
  margin: 0 0 15px 0;
}

#header .social {
  display: flex;
  gap: 15px;
}

#header .social a {
  display: inline-block;
}

#header .social img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

#header .social img:hover {
  opacity: 1;
}

hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 30px 0;
}

.section-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.entry {
  display: flex;
  margin-bottom: 25px;
}

.timespan {
  min-width: 130px;
  color: #666;
  font-size: 0.9em;
  padding-top: 3px;
}

.entry-main {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.entry-header {
  flex: 1;
}

.entry-header .company {
  font-weight: 600;
  font-size: 1.05em;
}

.entry-header .role {
  color: #555;
  margin-top: 2px;
}

.entry-header .location {
  color: #888;
  font-size: 0.9em;
  margin-top: 2px;
}

.entry-content ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
}

.entry-content li {
  margin-bottom: 5px;
}

.project {
  margin-bottom: 20px;
}

.project-title {
  font-weight: 600;
}

.bio {
  margin-bottom: 30px;
}

.post-list {
  list-style: none;
  padding: 0;
}

.post-list li {
  margin-bottom: 15px;
}

.post-list .post-date {
  color: #666;
  font-size: 0.9em;
}

footer {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  color: #666;
  font-size: 0.9em;
}

@media (max-width: 600px) {
  #header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .entry {
    flex-direction: column;
  }
  
  .timespan {
    margin-bottom: 5px;
  }
  
  .entry-main {
    flex-direction: column;
    align-items: flex-start;
  }
}
