body {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
}

main {
    text-align: justify;
}

header {
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

nav a {
    margin-right: 15px;
    text-decoration: none;
    color: #0066cc;
}

a {
    color: #0066cc;
}

footer {
    margin-top: 50px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    color: #666;
}

.profile-image {
    width: 200px;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.image {
    width: 500px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.intro {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

.intro-text {
    display: block;
    flex: 1;
    .intro-text p {
    text-align: justify;
}
}

.navbar {
    display: flex;
    gap: 25px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.navbar a {
    text-decoration: none;
    color: #0066cc;
    font-weight: 500;
}

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

.justified {
  text-align: justify;
  hyphens: auto;
}

a.button {
    display: inline-block !important;
    width: auto !important;
    padding: 12px 24px !important;

    background-color: #2563eb !important;
    color: #ffffff !important;

    border: 2px solid #2563eb !important;
    border-radius: 8px !important;

    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;

    text-align: center !important;
    text-decoration: none !important;

    cursor: pointer !important;
    box-sizing: border-box !important;
}

a.button:hover,
a.button:focus,
a.button:visited {
    background-color: #2563eb !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

a.button:hover {
    background-color: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
}

.section-divider {
    border: 0;
    border-top: 1px solid #d3d3d3;
    margin: 30px 0;
}

.responsive-image {
    max-width: 400;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.publications {
  list-style: none;
  padding-left: 0;
}

.publications li {
  margin-bottom: 1em;
}

figure {
  max-width: 500px;
  margin: 0 auto 2rem;
}

figure img {
  width: 100%;
  height: auto;
  display: block;
}

figcaption {
  margin-top: 0.5rem;
  text-align: left;
  color: #333;
  font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
  .intro {
    flex-direction: column;
    align-items: center;
    .intro p {
    text-align: justify !important;
  }
  }
  h1 {
    font-size: 1.5rem;
  }

  nav a {
    font-size: 0.85rem;
  }
  }

  .profile-image {
    width: 140px;
    height: 140px;
  }

  .intro-text {
    width: 100%;
    text-align: justify;
  }