/* main.css */

/* Base reset & layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "Courier New", Courier, monospace;
}

/* Background container with overlay */
main.bgimg {
  position: relative;
  flex: 1;
  width: 100%;
  background: url('/bg-images/wq7VErajAaE.webp') center / cover no-repeat;
  color: white;
  font-size: 20px;

  /* Center the logo both vertically and horizontally */
  display: flex;
  justify-content: center;
  align-items: center;
}
main.bgimg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

/* Logo stays centered via parent flex container, padding for spacing */
.logo {
  position: relative;
  z-index: 1;
  padding: 1rem;
}

/* Header & footer floating over the background */
header, footer {
  position: absolute;
  color: #FFFFFF;
  left: 0;
  width: 100%;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 1rem;
}
header {
  top: 0;
}
footer {
  bottom: 0;
  text-align: right;
}

/* Navigation styles with brighter text */
header nav ul {
  list-style: none;
}
header nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
}
header nav a:hover {
  color: #F25946;
}

/* Footer link styling */
footer a {
  color: #FFFFFF;
  font-weight: bold;
}
footer a:hover {
  color: #F25946;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  main.bgimg {
    font-size: 16px;
  }
  header,
  footer {
    padding: 0.5rem;
  }
}
