/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f0f0f0;
}

/* Content frame */
.content-frame {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 40px;
}

/* Header and navigation */
header {
  margin-bottom: 40px;
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: #f0f0f0;
}

/* Main content */
main {
  margin-bottom: 40px;
}

h1 {
  margin-bottom: 20px;
}

/* Home page */
.home img {
  max-width: 300px;
  /* border-radius: 50%; */
  margin-top: 20px;
}

/* List pages */
.list ul, .publications ul, .talks ul {
  list-style-type: none;
}

.list li, .publications li, .talks li {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.list li:last-child, .publications li:last-child, .talks li:last-child {
  border-bottom: none;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive design */
@media (max-width: 600px) {
  body {
      padding: 10px;
  }

  .content-frame {
      padding: 20px;
  }

  nav ul {
      flex-direction: column;
      align-items: center;
  }

  nav li {
      margin-bottom: 10px;
  }
}

/* ... (keep the previous CSS rules) ... */

/* Header and navigation */
header {
  margin-bottom: 40px;
  position: relative;
}

.menu-icon {
  display: none;
  cursor: pointer;
  padding: 10px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: 0.4s;
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: #f0f0f0;
}

/* ... (keep the other CSS rules) ... */

/* Responsive design */
@media (max-width: 600px) {
  body {
      padding: 10px;
  }

  .content-frame {
      padding: 20px;
  }

  .menu-icon {
      display: block;
  }

  nav {
      display: none;
  }

  nav.show {
      display: block;
  }

  nav ul {
      flex-direction: column;
      align-items: center;
  }

  nav li {
      margin-bottom: 10px;
  }
}

.two-column-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.content-column {
  flex: 1;
  min-width: 300px;
}

.image-column {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.image-column img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .two-column-layout {
      flex-direction: column;
  }
  
  .content-column,
  .image-column {
      width: 100%;
  }
}

.nav-item.active {
  /* Add your styles for the active state here */
  font-weight: bold;
  color: #007bff;
  /* You can add more styles as needed */
}


.entry {
  display: flex;
  margin-bottom: 1em;
}

.left-column {
  flex: 0 0 80%;
  padding-right: 1em;
}

.right-column {
  flex: 0 0 20%;
  text-align: right;
}

h2#seminars {
  margin-top: 40px; /* Adjust this value as needed */
}