/* Nav Opacity CSS Document */

.bg-image {
  width: 100vw;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  -webkit-filter: brightness(0.6);
          filter: brightness(0.6);
}

.navbar {
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  background-color: rgba(255, 255, 255, 0); /* Fully transparent */
}

.navbar-scrolled {
  background-color: rgba(32, 59, 77, 0.8); /* #a5a5a5 with 80% opacity */
  -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
          box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* Nav bar logo */

.navbar-brand img {
    width: 150px !important; /* or any fixed width you prefer */
    height: auto !important; /* keeps the aspect ratio of the image */
}

/* Nav bar mobile properties */

@media (max-width: 768px) {
  /* When navbar is scrolled, make it opaque */
  .navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.7); /* Adjust the opacity and color as needed */
  }

  .navbar-toggler {
    position: absolute;
    right: 10px;
    top: 0%; /* Align vertically with the logo */
    -webkit-transform: translateY(47%);
            transform: translateY(47%); /* Center the button vertically */
    z-index: 1050; /* Ensure it's above the navbar-brand */
  }

  .navbar-brand {
    position: absolute;
    top: 0%; /* Adjust to center the logo vertically */
    left: 10px; /* Space from the left */
    -webkit-transform: translateY(13%);
            transform: translateY(13%); /* Center the logo vertically */
    z-index: 1040; /* Below the toggler to allow it to be clickable */
    width: 150px !important; /* or any fixed width you prefer */
    height: auto !important; /* keeps the aspect ratio of the image */
  }

  .navbar-collapse.collapsing,
  .navbar-collapse.show {
    margin-top: 10px; /* Adjust so it doesn't overlap with the logo/toggler */
	padding: 50px 15px !important;
  }
}

/* Admin Nav items */

.nav_admin {
  color: #2ac8c8; /* White text */
  border: none; /* Optional: removes the border */
  text-decoration: none !important;
}

.nav-dash {
  color: #2ac8c8 !important; /* White text */
  border: none; /* Optional: removes the border */
  text-decoration: none !important;
}