/* Reset and basic layout */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column; /* ensures top-to-bottom layout */
  align-items: center;
  background-color: #e6e6e6;
  font-family: Arial, sans-serif;
}

/* Header & footer stretch full width */
header, footer {
  width: 100%;
  background-color: #111;
  color: white;
  text-align: center;
  padding: 1rem 0;
}

/* Centered page content */
.content {
  background: white;
  width: 100%;
  max-width: 900px;
  margin: 2rem;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  box-sizing: border-box;
  overflow: hidden;
}
.content img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
}

/* Headings */
h1, h2 {
  margin-top: 0;
}

/* Footer */
footer {
  margin-top: auto;
  left: 0;
  bottom: 0;
  width: 100%;
  font-size: 0.9rem;
}

/* Media */
@media screen and (max-width: 600px) {
  .content {
    margin: 1rem;
    padding: 1.5rem;
  }
}
