    .center-image {
      display: block;
      margin-left: auto;
      margin-right: auto;
      max-width: 100%; /* Optional: keeps image responsive */
      height: auto;
    }

/* Basic reset and box‑sizing */
* {
  margin: 0;
  padding: 5;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

header, footer {
  background: #f0f0f0;
  padding: 1rem;
}

header {
  border-bottom: 1px solid #ccc;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

nav ul li {
  margin-right: 1rem;
}

nav ul li a {
  text-decoration: none;
  color: #333;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
}

.main-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.main-content .content {
  flex: 2 1 300px;
}

.main-content .sidebar {
  flex: 1 1 200px;
  background: #fafafa;
  padding: 0.5rem;
  border: 1px solid #ddd;
}

footer {
  text-align: center;
}

/* Responsive tweaks */
@media(max-width: 768px) {
  nav ul {
    flex-direction: column;
  }
  .main-content {
    flex-direction: column;
  }
}