/* Reset & base styles */
body {
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
  margin: 0;
  padding: 0 40px;
}

/* Navigation bar */
nav {
  background-color: #fafafa;
  padding: 10px;
  text-align: left;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #0077cc;
}

/* Section titles */
h2 {
  color: #0077cc;
  text-align: center;
  margin-top: 40px;
}

/* About me styles */

.about-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: left;
}

/* Papers layout */
.papers-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: left;
  margin-top: 20px;
}

.paper {
  width: 250px;
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.2s ease;
}

.paper p {
  font-size: 0.9em;
  color: #555;
  line-height: 1.4;
}

.paper:hover {
  transform: translateY(-4px);
}

.paper img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.paper img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .papers-container {
    flex-direction: column;
    align-items: center;
  }

  .paper {
    width: 90%;
  }

  nav {
    font-size: 14px;
  }
}
