@import url('/css/variables.css');
@import url('/css/overlay-hamburger.css');

  .nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 1rem;
    background-color: var(--NavyInk, #2c3e50);
  }
   
  .nav-left {
    display: flex;
    align-items: center;
  }

.nav-bar .logo {
    width: 50%;
    height: auto;
    display: block;
  }

.tagline {
  margin-top: 15px;
  font-size: 0.8rem;
  color: var(--secoundary-text-color);
  font-family: var(--primary-font-family, Arial, sans-serif);
}

.nav-right {
  display: flex;
  align-items: center;
}

.log-reg-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 1rem;
}

.profile-icon {
  width: 40px;
  height: 40px;
  background-color: var(--secoundary-text-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}

.profileimage {
  width: 40px;
  height: 40px;
}

.log-btn,
.reg-btn {
  text-decoration: none;
  color: var(--secoundary-text-color);
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.nav-2{
  background-color: #1E88E5;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
  height: 80px;
}

.nav-2 a {
  align-self: start;
  display: inline-block;
  width: auto;
}

.nav-2-logo{
  display: block;
  position: relative;
  width: 140px;
  height: 80px;
}

.BAH {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  margin-right: 20px;
}

.BAH a {
  display: block;
  color: var(--secoundary-text-color);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.BAH a:hover {
  color: var(--primary-text-color);
  transform: translateY(-2px);
}

.logout-btn {
  background: var(--primary-blue-color);
  color: var(--secoundary-text-color);
  border: none;
  font-family: var(--primary-font-family);
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.logout-btn:hover {
  background: var(--Green);
}

.hamburger img {
  width: 100%;
  height: auto;
  display: block;
}

  @media (max-width: 920px) {
    .tagline {
      display: none;
  }
  }

  @media (max-width: 854px) {
    .hamburger {
      display: block;
    }
  }

  @media (max-width: 810px) {
    .tagline {
      display: none;
  }
}

  @media (max-width: 700px) {
  .nav-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  .nav-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .nav-bar .logo {
    width: 40%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .nav-2, 
  .nav-2-logo, 
  .log-reg-container {
    display: none;
  }

  .log-reg-container {
    display: none;
  }


  .hamburger {
    display: block;
  }

  .profile-icon-mb {
    width: 50%;
    left: 0;
  }

  .log-reg-container,
  .log-reg-container * {
    display: none !important;
  }
  
  .show-when-logged-in[hidden],
  .show-when-logged-out[hidden] {
    display: none !important;
  }
}

  @media (max-width: 440px) {
  .nav-bar .logo{
    display: none;
  }
}