header {
  height: 500px;
  top: 0;
  left: 0;
  width: 100%;
  align-items: center; 
  overflow-x: hidden;
}

header .banner {
  position: relative;
  background-image: url('images/header2.JPG');
  background-size: cover;
  background-position: center; /* Keep the header fixed at the top */
  background-attachment: fixed;
  height: 100%;
  width: 100%;
}

/* Navigation Bar */
  header .navbar { /* Make it absolute to be inside the header */
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    top: 0px; /* Adjust this to your preferred space from the top */
    width: 100%;
    z-index: 10;
  }
  
  /* Navigation menu styles */
  header .navbar ul {
    list-style-type: none;
    margin: 0;
    height: 70px;
    padding: 23px;
    display: flex;
    justify-content: center; /* Center the menu items */
    transition: padding 0.4s ease;
  }
  
  header .navbar ul li {
    margin: 0 20px;
  }
  
  header .navbar ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.35rem;
    font-weight: bold;
    padding: 20px 20px;
    transition: padding 0.3s ease;
  }
  
  header .navbar ul li a:hover {
    padding: 20px 50px;
  }

  #header-title {
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 100px;
    padding-top: 200px;
  }

  @media screen and (max-width: 500px) {
    
    header .navbar ul {
      padding: 4px;
      padding-top: 50px;
      margin: 0 auto;
      display: flex;
    }

    header .navbar ul li {
      margin: 0 8px;
    }

    header .navbar ul li a {
      text-decoration: none;
      color: white;
      font-size: 1.1rem;
      font-weight: bold;
      padding: 4px 4px;
      transition: padding 0.3s ease;
    }

    #header-title {
      font-size: 2.5rem;
    }

    header .banner {
      height: 50vh;
      background-size: contain;
      background-position: center;
    }

    header .navbar ul {
      margin-top: 15px;
    }

  }
  
