body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #222;
  background-color: #fff;
}

header, footer {
  text-align: center;
  padding: 20px;
  background-color: #f4f4f4;
}

header h1 {
  margin: 0;
}

.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px;
  align-items: center;
}

.text {
  flex: 1 1 45%;
  min-width: 300px;
}

.image {
  flex: 1 1 45%;
  text-align: right;
  min-width: 300px;
}

.image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

footer {
  text-align: center;
  padding: 15px;
  background-color: #f0f0f0;
}

footer a {
  color: #3b5998;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

/* Optional small-screen tweak */
@media (max-width: 700px) {
  .content {
    flex-direction: column;
    text-align: center;
  }
  .image {
    text-align: center;
    margin-top: 20px;
  }
}
