* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}




/* ======================
   HEADER
====================== */
.header {
  display: block;
}

.m-header {
  display: none;
}


.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 1000;
   background-color: rgba(0,0,0,0);
  transition: background-color 0.3s ease;
}

/* 스크롤 시 */
.header.scrolled {
  background-color: rgba(0,0,0,0.8);
  border-bottom:1px solid #68696a;
}


/* 헤더 내부 정렬 */
.header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;

  display: flex;
  align-items: center;
  position: relative;
}


/* 좌측 로고 */
.header-left  {
  padding: 2%;
  text-align: center;
}


/* 좌측 로고 */
.header-left img {
  height: 60px;
}

/* 중앙 메뉴 */
.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  line-height: 1;
  white-space: nowrap;      /* 줄바꿈 금지 */
  overflow: hidden;         /* 넘친 부분 숨김 */
  text-overflow: ellipsis;  /* ... 표시 */
 color:#fff;
}

.header-center a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}

@media (max-width: 1000px) {
.header-center a {
  color: #FFF;
  font-size: 14px;
  text-decoration: none;
}

.header-center .mu1{display:none;}
  
}


/* 우측 로그인 영역 */
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.header-right a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  line-height:1;
}


.header-right .login{
 padding:3px 10px;
  border:none;
  border-radius:12px;
  background:#f69700;
}

.header-right .join{
      border:none;
      padding:3px 5px;
      background:none
}

.header-right .logout{
  padding:3px 6px;
  background:none;
  font-weight:500;
  color:#fd5192;
}

.header-right span {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
}

.member-name{
  color:#e78b1f;
  font-size:14px;
  font-weight:600;
  line-height:1;
}

.member-nim{
  color:#fff;     /* 기본 텍스트색 */
  font-size:14px;
  line-height:1;
  margin-right:6px;  /* 로그아웃과 간격 */
}

.m-menu{ display: none;}





/* ======================
   MAIN VISUAL
====================== */
.main-visual {
  position: relative;
  width: 100%;
  height: 100vh;
  padding-top: 120px; /* 🔥 헤더 높이만큼 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
   overflow: hidden; 
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.15);
  transition: opacity 1.2s ease, transform 8s ease;
}


.bg-slide:first-child {
  opacity: 1; /* 🔥 첫 이미지는 바로 보이게 */
}


.bg-slide.active {
  opacity: 1;
  transform: scale(1);
  filter: brightness(1.05);
}

/* 오버레이 */
.main-visual .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}




/* ======================
   본문
 ⭐ 본문이 헤더에 가리지 않게  
====================== */
.content {
  flex: 1;
  padding-top: 120px;
  background: #111;
  color:#FFF;
}



/* ======================
푸터 하단 맨아래 배치
====================== */
.footer {
  height: auto;
  background: #222;
}



@media (max-width: 800px) {
  .header {
    display: none;
  }

  .m-header {
    display: block;
  }

.m-menu{ display: block;}

  /* 모바일 헤더 전체 */
  .m-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    color: #fff;
  background-color: rgba(0,0,0,0);
  transition: background-color 0.3s ease; 
  }

/* 스크롤 시 */
  .m-header.scrolled {
  background-color: rgba(0,0,0,0.8);
}



  /* 1단 상단바 */
  .m-header-top {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    background: rgba(0,0,0,0.4);
  }

.m-header-top a img{width:150px; height:auto;}

.m-menu-btn {
  background: none;
  border: 0;
  color: #fff;
}

  .m-auth a {
    font-size: 12px;
    color: #fff;
    margin-left: 8px;
    text-decoration: none;
  }

  /* 2단 메뉴 (이미지 위) */
  .m-header-menu {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 10px 6px;
    background: rgba(0,0,0,0.35);
    font-size: 13px;
    white-space: nowrap;
    overflow-x: auto;
  }

  .m-header-menu a {
    color: #fff;
    text-decoration: none;
  }


  .content {
    padding:100px 1% 10px 1%;
  }

}






