html, body {
  height: 100%;
  margin: 0;  /* already handled in body, but safe to set for html too */
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  max-width: 800px;
  width: 90%;
  margin: auto;
  line-height: 1.6;
}

a {
  text-decoration: none !important;
  color: #007acc;
}

body {
  font-family: sans-serif;
  background-color: #f9f9f9;
  line-height: 1.2;
}

header {
  text-align: center;
  margin-bottom: 40px;
}

nav a {
  margin: 0 15px;
  display: inline-block;
  text-decoration: none;
  color: #007acc;
}

nav a:hover {
  text-decoration: none;
}

ul li {
  margin-bottom: 20px;
}

.cv-entry {
  display: grid;
  grid-template-columns: 120px auto; /* adjust width of date column */
  gap: 10px;  /* space between columns */
  margin-bottom: 8px; /* space between rows */
}

.cv-date {
  font-weight: bold;
}

footer {
  text-align: center;
  margin-top: auto; /* replaces margin-top: 50px; */
  padding: 10px 0;
  font-size: 0.9em;
  color: #666;
}

img {
  display: block;
  margin: 20px auto;
  max-width: 100%;  /* responsive, scales with page */
  height: auto;
}

@media (max-width: 600px) {
  .image-text-block {
    flex-direction: column;
    align-items: flex-start;
  }
}

