* {
  box-sizing: border-box;
  border: 0;
  margin: 0;
  padding: 0;
}

/* Background setup */
body {
  background-image: url("Building002.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Ensure header, nav, article, and footer all stretch edge-to-edge */
header, nav, article, footer {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Header */
header {
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 12px;
  height: 60px;
  font-size: 20px;
  color: white;
}

/* Main layout (menu + content) */
section {
  display: flex;
  flex-direction: row; /* menu left, article right */
  align-items: stretch;
  justify-content: flex-start;
  flex: 1;
  width: 100%;
}

/* Left-side menu */
nav {
  flex: 0 0 220px; /* fixed width for menu */
  background-color: rgba(0, 0, 0, 0.5);
  text-align: left;
}

nav img {
  width: 100%;
  height: auto;
}

/* Menu Items */
ul {
  list-style-type: none;
}

li a {
  display: block;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  transition: 0.3s;
}

li a:hover {
  color: red;
}

/* Article */
article {
  flex: 1 1 auto;
  color: #f5e9b0;
  padding: 50px;
  background-color: rgba(0, 0, 0, 0);
}

/* Footer */
footer {
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 12px;
  height: 60px;
  color: white;
  font-size: 14px;
}

/* Responsive layout */
@media (max-width: 768px) {
  section {
    flex-direction: column; /* stack menu and article vertically */
  }

  nav {
    width: 100%;
  }

  article {
    width: 100%;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  header {
    font-size: 18px;
  }

  li a {
    padding: 6px 10px;
    font-size: 14px;
  }

  article {
    padding: 10px;
    font-size: 15px;
  }

  footer {
    font-size: 12px;
  }
}