body {
  position: relative;
  margin: 0;
  height: 100vh;
  background-color: black;
  color: white;
  font-family: Arial;
  text-align: center;
  font-size: 1.17rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* optional, to prevent scroll if image overflows */
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50vh; /* top half of viewport */
  background-image: url('bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1; /* behind content */
  display: block;
  pointer-events: none;
}

.wrapper {
  position: relative;
  top: 100px; /* moved down 80px */
}

h3 {
  font-size: 33px;
  line-height: 3rem;
  margin: 0 0 10px 0;
  transform: translateY(-13px);
}

p {
  line-height: 1.2rem;
  margin: 10px 0;
}

a:link, a:visited {
  text-decoration: none;
  color: white;
}

a:hover, a:active {
  color: darkgrey;
}

footer {
  width: 100%;
  background-color: black;
  text-align: center;
  padding: 5px 0;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 10; /* ensure it stays above other content */
}

.footer-image {
  max-width: 150px; /* smaller size */
  height: auto;
  display: inline-block;
}
