
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #fff;
  color: #222;
}
header {
  text-align: center;
  padding: 2rem;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  background-color: #eee;
  padding: 0;
}
nav ul li {
  margin: 0 1rem;
}
nav ul li a {
  text-decoration: none;
  color: #333;
}
main {
  padding: 1rem 2rem;
  max-width: 1000px;
  margin: auto;
}
footer {
  text-align: center;
  padding: 1rem;
  background-color: #eee;
  font-size: 0.9rem;
}

.header-flex {
  display: flex;
  align-items: center;   /* Align image and text vertically in the center */
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.headshot {
  height: 200px;         /* Set fixed height */
  width: auto;
  max-width: 250px;      /* Optional: to ensure it doesn't get too wide */
  border-radius: 2px;
  object-fit: cover;
}

.bio-content {
  flex: 1;
  text-align: left;
}
.bio-content {
  flex: 1;
}


.publication {
  display: flex;
  flex-direction: row; /* Force horizontal layout */
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
}

.pub-num {
  font-weight: bold;
  font-size: 1.3em;
  width: 40px;
  flex-shrink: 0;
  color: #333;
  margin-top: 5px;
}

.pub-img {
  width: 150px;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
}

.pub-text {
  flex: 1;
}

.pub-text p {
  margin: 0;
}


.about-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1rem;
  align-items: flex-start;
}

.about-text {
  flex: 1 1 80%;
  min-width: 280px;
}

.about-video {
  flex: 1 1 10%;
  min-width: 150px;
  border-radius: 2px;
}

.project-box {
  display: flex;
  align-items: center;
  margin-bottom: 2em;
  background-color: #f9f9f9;
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.project-image {
  flex: 0 0 200px;
  max-width: 200px;
  margin-right: 1.5em;
  border-radius: 4px;
}

.project-text {
  flex: 1;
}

.project-text h3 {
  margin-top: 0;
  font-size: 1.25em;
}

.project-text p {
  margin-bottom: 0;
}



.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  justify-items: center;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.image-item {
  text-align: center;
}

.image-item img {
  max-width: 100%;
  max-height: 350px; /* <-- Add your desired max height here */
  height: auto;
  width: auto;
  display: block;
  object-fit: contain; /* Ensures images scale correctly within bounds */
}

.caption {
  font-style: italic;
  margin-top: 8px;
}




.poster-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  justify-items: center;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.poster-item {
  text-align: center;
}

.poster-item img {
  max-width: 100%;
  max-height: 700px; /* <-- Add your desired max height here */
  height: auto;
  width: auto;
  display: block;
  object-fit: contain; /* Ensures images scale correctly within bounds */
}

.caption {
  font-style: italic;
  margin-top: 8px;
}


