body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the body takes full viewport height */

    background-image: url('pexels-sunrise.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 20%;
    background-color: #f2ffe6; /* light green*/
}

.display page { /*-- Not sure if working for Home -- */
    float: left;
    display: block;
    background-color: #003300;
    text-color: #404040;
    text-direction: none;
}

.topnav {
    background-color: #00ff00; /* bright green */
    overflow:hidden;
}

.topnav a {
    float: left;
    display: block;
    color: #404040;  /*-- Dark Grey--*/
    text-align: center;
    padding: 18px 6px;
    text-decoration: none;
    font-size: 16px;
}

/* Change the link color to #111 (black) on hover */
.topnav a:hover {
    background-color: #000000; /*-- Black --*/
    color: #ffff00; /*-- Yellow-- */
}

.topnav a:active {
    background-color: #003300; /*-- Dark Green --*/
    color: #ffffff; /*--White-- */
}

.topnav .icon {
    display: none;
}

@media screen and (max-width: 980px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 980px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

function myFunction() {
  var x = document.getElementById("myTopnav");
  if (x.className === "topnav") {
    x.className += " responsive";
  } else {
    x.className = "topnav";
  }
}

h1 {
  color: #8CF818;
  font-family: Sonsie One, serif;
  font-size: 24;
  line-height: 400%; 
  text-align: center;
}

.content {
    flex: 1; /* Allows the content area to grow and fill space */
    padding: 20px; /* Adds some padding for aesthetics */

}

.h1 {
    text-align: centre;
    text-size: 16px;
    text-family: Sonsie One, serif;
    text Color: #00ff00;

}

.footer {
    background-color: #333; /* Footer background color */
    color: white; /* Footer text color */
    text-align: center; /* Center-aligns the text */
    padding: 10px 0;/* Adds vertical padding */
    position: fixed; /* Fixes the footer to the bottom */
    left: 0;
    bottom: 0; /* Position it at the bottom */
    width: 100%; /* Ensures it spans the full width */

}