.header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 8vh;
  display: flex;                /* align items in a row */
  justify-content: space-between; /* space between logo and nav */
  align-items: center;          /* vertical centering */
  padding: 10px 20px;           /* spacing inside the bar */
  box-sizing: border-box; /* include padding in width */
  background-color: #494c49;       /* dark background */
  color: white;                 /* text color */
  z-index: 1000;                /* on top of other content */
}

.logo {
  margin-left: 50px;
  font-size: 24px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 30px;
  font-size: 20px;
}

.nav-links a:last-child {
  margin-right: 80px;
}

.nav-links a:hover {
  text-decoration: underline;
}

main {
  margin-top: 10vh; /* same as header height */
  padding: 20px;
}

#home {
  padding: 20px;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
}

footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px 0;
  font-size: 14px;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.footer-left,
.footer-center,
.footer-right {
  margin: 10px 0;
}

.footer-center a,
.footer-right a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-center a:hover,
.footer-right a:hover {
  color: #00bfff; /* accent color on hover */
}

/* Responsive for small screens */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
  }
  .footer-center,
  .footer-right {
    margin-top: 10px;
  }
}