body {
      margin: 0;
      background: url('../images/MMBackground.webp') no-repeat center center fixed;
      background-size: cover;
      color: black;
      font-family: Arial, sans-serif;
    }

    /* Navbar styles with background image */
nav.custom-navbar {
  background-image: url('../images/navbarbackgrnd2.webp'); /* your navbar image */
  background-size: cover;       /* cover entire navbar */
  background-position: center top;  /* center the image *//* adjust vertical alignment if needed */
  background-repeat: no-repeat;
  padding: 1rem 2rem;               /* use relative units instead of fixed px */
  display: flex;
  justify-content: space-between;   /* better spacing on smaller screens */
  align-items: center;              /* vertically center content */
  flex-wrap: wrap;                  /* allow links to wrap on smaller screens */
  min-height: 60px;                 /* optional, keep navbar height consistent */
  gap: 30px;
  position: relative;
}



/* Optional overlay for readability */
nav.custom-navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3); /* semi-transparent dark overlay */
  z-index: 0;
}

/* Make content appear above overlay */
nav.custom-navbar .container-fluid,
nav.custom-navbar a,
nav.custom-navbar ul.navbar-nav {
  position: relative;
  z-index: 1;
}

/* Navbar links */
nav.custom-navbar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem; /* use rem instead of px */
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
  nav.custom-navbar {
    padding: 0.5rem 1rem;
  }

  nav.custom-navbar a {
    font-size: 0.9rem;
  }

  nav.custom-navbar ul.navbar-nav {
    flex-direction: column;
    gap: 10px;
  }
}

    /* Floating MMFans Button */
    .mmfans-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: none;
      border: none;
      padding: 0;
      cursor: pointer;
      z-index: 999;
    }

    .mmfans-button img {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      transition: transform 0.2s ease;
    }

    .mmfans-button img:hover {
      transform: scale(1.1);
    }

    .navbar.fixed-top {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1030;
    }

    main {
      display: block;
      padding-top: 0; /* default, JS will update this */
    }