:root {
  --max-width: 1200px;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  line-height: 1.6;
  color: #333;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem;
}

header {
  margin-top: 0rem;
  margin-bottom: 2rem;
}

nav {
  margin-bottom: 0rem;
}

nav a {
  color: #333;
  text-decoration: none;
  margin-right: 1rem;
}

.project {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 2rem;
  gap: 2rem;
}

.project-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-content {
  flex: 3;
  text-align: left;
}

.project img {
  height: auto;
  display: block;
}

.project h2 {
  font-size: 1.5rem;
  margin: 0.2rem 0 0.2rem 0;
}

.project p {
  font-size: 0.85rem;
  margin: 0 0 1rem 0;
  color: #666;
}

.project .year {
  color: #999;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0rem;
}

.project a {
  color: #0070f3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.project a:hover {
  color: #0051a8;
  text-decoration: underline;
}

.small-line {
  font-size: 0.7rem; /* Adjust the size as needed */
}

.project.reverse {
  flex-direction: row-reverse;
}

.project-content.right {
  text-align: right;
}

h1 {
  margin-top: 0;
  margin-bottom: 0;
}
