html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
  }
  
  body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("assets/Swap earth half lush half fire.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.35);
    background-blend-mode: multiply;
    opacity: 1;
    z-index: -1;
  }
  
  body:hover::before {
    opacity: 0.5;
    transition: opacity 0.5s ease-in-out;
  }




  main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
  }

  header {
    background-color: #15536a;
    color: #fff;
    padding: 1em;
    text-align: center;
  }
  
  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
  }
  
  nav li {
    flex: 1;
    flex-basis: 20%;
  }
  
  nav a {
    color: #fff;
    text-decoration: none;
  }
  
  nav a:hover {
    color: blue;
  }

  
  /* Hide the hero message by default; reveal on page hover */
  .hero-message {
    margin: 0;
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 250ms ease, transform 250ms ease;
    pointer-events: none;
    background: rgba(0,0,0,0.25);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-align: center;
    max-width: 900px;
    display: inline-block;
  }

  body:hover .hero-message {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }


  
