header{
    position: absolute; 
    margin-bottom: 1.5rem;
    padding-left: 1.6em;
    padding-top: 1.1em;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    z-index: 10; 
  }
  
  .logo {
    width: 30px;
  }
  
  .logo img {
    max-width: 75px; /* Sets the max width of the logo */
    height: auto;     /* Keeps aspect ratio */
    display: block;   /* Removes inline spacing */
    opacity: 0.8;
  }

  .menu {
    display: flex;
    font-weight: lighter;
    padding-right: 1.5rem;
    font-size: 1.2em;
  }
  
  .menu a {
    margin-left: 7rem;
    text-decoration: none;
    opacity: 0.8;
  }
  
  .menu a.current {
    text-decoration: underline; /* Underline when the link is the active page */
    text-underline-offset: 3px;
    color: #3EB489;
    opacity: 1;
  }

  .scroll-container{
    display: none;
  }

  /* Hamburger Menu Styles */
.hamburger-menu {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding-right: 1.5rem;
}

.hamburger-menu span {
  width: 30px;
  height: 3px;
  background-color: #1E1E1E;
  border-radius: 5px;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.25);
}

  /* Mobile style */ 

  @media (max-width: 950px) {
    
    .logo img {
      max-width: 60px; /* Sets the max width of the logo */
    }

    .menu {
      display: none; /* Hide the menu */
      position: fixed;
      top: 0;
      right: 0;
      padding-top: 10%;
      padding-left: 10%;
      color: #1E1E1E;
      background-color: #FFFFFF; /* Add background color to the menu */
      width: 75vw; /* Full-width for the menu */
      height: 100vh;
      gap: 1em;
    }
  
    .menu li {
      margin: 15px 0; /* Adjust spacing between items */
    }
  
    /* Show hamburger icon on mobile */
    .hamburger-menu {
      display: flex;
    }
  
    /* Show menu when hamburger is active */
    .menu.active {
      display: flex; /* Display the menu when it's active */
      flex-direction: column;
    }
  
    /* Styling for the transparent close box */
    #close-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 25vw;  /* adjust size as needed */
      height: 100vh; /* adjust size as needed */
      cursor: pointer; /* make it clickable */
    }

    .menu a {
      margin-left: 1rem;
      font-size: x-large;
    }

    .scroll-container {
      display: flex;
      width: 75%;
      position: fixed;
      overflow: hidden;
      bottom: 0;                /* sticks to bottom of viewport */
      right: 0;
      white-space: nowrap;
      box-sizing: border-box;
      background: white; /* optional */
      padding-bottom: 2%;
    }
    
    .scroll-text {
      display: inline-block;
      animation: scroll-left 10s linear infinite;
      font-family: 'Irish Grover';
      font-size: 2rem;
      font-weight: 100;

    }
    
    .scroll-text span {
      display: inline-block;
      padding-right: 2rem; /* spacing between repeats */
      font-size: 2rem;      /* adjust as needed */
    }
    
    @keyframes scroll-left {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }
    
  
  }