.main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: #fff;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #323232;
  height: 4rem;
}

.top-bar div {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 14px;
}

.top-bar button {
  background: none;
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
  padding: 0 36px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-bar .auth > a {
  padding:0 1rem;
}

.top-bar .active-tab {
  background: white;
  color: black;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.auth a {
  color: white;
  text-decoration: none;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth a img {margin-right:1rem;}
.header-container {
  width: calc(100% - 80px);
  max-width: 1400px;
  margin: 0 auto;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* border-bottom: 1px solid #e8e8e8; */
}

.header-container2 {
  width: calc(100% - 80px);
  max-width: 1400px;
  margin: 0 auto;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-bottom: 1px solid #e8e8e8;
  padding: 20px 0;
}

.nav-menu {
  display: flex;
  gap: 3rem;
}

.nav-menu li a {
  color: var(--black);
  font-size: 1.8rem;
  padding:1rem;
}

.logo {
  cursor: pointer;
}

/* ============ 햄버거 버튼 (기본은 숨김, 모바일에서 보이게) ============ */
.hamburger-btn {
  display: none; /* 데스크톱에서 숨김 */
  background: none;
  border: none;
  cursor: pointer;
  width: 3rem;
  position: relative;
}

.hamburger-btn .line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--black);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* (선택) active 상태에서 햄버거 -> X 아이콘 전환 예시 */
.hamburger-btn.active .line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active .line:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active .line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
