@charset "utf-8";

/* navi */

#gnb {
  width: 100%;
  top: 0;
  position: fixed;
  z-index: 99999;
  background: #fff;
  backdrop-filter: blur(5px);
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

#gnb.shadow {
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);
}

/* 바디 스크롤 잠금 */
.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* 모바일 메뉴 내부 스크롤 */
#global_nav.active {
  overflow-y: auto;
  max-height: 100vh;
}

#navi_logo {
  z-index: 99999;
}

#navi_logo img {
  width: 80%;
}

.navi_wrap {
  height: auto;
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  background: rgba(255, 255, 255, 0.9);
}

/* .navi_wrap.navi_w_bg{
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(5px);
  } */
.back_color {
  position: absolute;
  width: 0px;
  height: 0px;
  position: absolute;
  border-radius: 50%;
  top: 36px;
  right: 36px;
  background: #fff;
  z-index: 10;
  visibility: hidden;
  transition: .7s ease-in-out;
}

.back_color.navi_bg {
  visibility: visible;
  width: 3000px;
  height: 3000px;
  top: -1500px;
  right: -1500px;
}

.navi_logo.active {
  filter: brightness(20);
}

#top_menu {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

#top_menu a {
  display: block;
  box-sizing: border-box;
  padding: 5px 10px;
  color: #222;
  font-size: 16px;
  font-family: 'paperlogy-M', sans-serif;
  transform: scale(1);
  transition: .3s ease-in-out;
}

#top_menu .channel-talk a {
  color: #ff2c4d;
  font-family: 'paperlogy-SB';
}




/* footer */
footer {
  background: linear-gradient(to bottom, #ffffff 0%, #eeeeee 100%);
  margin-top: 10vh;
}

.foot_wrap {
  border-top: 1px solid #ddd;
  box-sizing: border-box;
  padding: 30px 20px;
}

.foot_wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: 'paperlogy-R';
}

.foot_wrap a {
  font-family: 'paperlogy-R';
}

.foot_1 {
  width: 65%;
  display: flex;
  align-items: center;
}

.foot_wrap .foot_logo {
  text-align: center;
  width: 260px;
  margin-right: 20px;
}

.foot_wrap .foot_logo img {
  filter: grayscale(1);
  opacity: .6;
}

.foot_wrap .foot_body {
  width: 596px;
  color: #888;
  display: flex;
  flex-direction: column;
}

.foot_wrap .foot_body .terms_info {
  display: flex;
}

.foot_wrap .foot_body .terms_info a {
  position: relative;
  display: block;
  padding: 15px 0px;
  margin-right: 40px;
  border-bottom: 0;
  color: #888;
}

.foot_wrap .foot_body .terms_info .info a {
  color: #222;
  font-family: 'paperlogy-M';
}

.foot_wrap .foot_body .terms_info .info a::before {
  position: absolute;
  content: '';
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background-color: #888;
}

.foot_wrap .foot_body .terms_info li a::after {
  position: absolute;
  content: '';
  bottom: 10px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--po-color);
  transition: .2s ease-in-out;
}

.foot_wrap .foot_body .terms_info li a:hover::after {
  position: absolute;
  content: '';
  bottom: 10px;
  left: 0;
  width: 100%;
  background: var(--po-color);
}

.foot_wrap .foot_body .terms_info li a:hover {
  color: var(--po-color);
}

.foot_body .comp_info {
  display: flex;
  flex-wrap: wrap;
}

.foot_body .comp_info li {
  margin-right: 20px;
  margin-top: 10px;
  display: flex;
  align-items: top;
  flex-wrap: wrap;
  gap: 3px;
}

.foot_body .comp_info li p {
  width: fit-content;
  min-width: fit-content;
}

.foot_body .comp_info li p:last-child {
  color: #444;
}

#gnb .login_menuBtn {
  display: none;
}

.pc_log_sign {
  display: flex;
  align-items: center;
  gap: 15px;
  transition: .1s ease-in-out;
}

.pc_log_sign .login {
  background: linear-gradient(135deg, #ff4548 0%, #F31D1D 50%, #F31D1D 70%, #ff975e 100%);
  border-radius: 100px;
  display: block;
  padding: 6px 15px;
  color: #fff;
  transform: scale(1);
  transition: .2s ease-in-out;
}



.menuBtn-userIcon {
  display: none;
}

.pc_log_sign .login.user span {
  display: none;
}

@media screen and (max-width:970px) {

  #top_menu {
    display: none;
  }

  html {
    font-size: 9px;
  }

  #gnb {
    height: auto;
    background: rgba(255, 255, 255, .9)
  }

  /* footer */
  .foot_wrap {
    align-items: center;
    flex-direction: column;
    gap: 25px;
  }

  .foot_1 {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .foot_wrap .foot_logo {
    width: auto;
    margin-right: 0;
  }

  .foot_wrap .foot_logo img {
    width: 90px;
  }

  .foot_wrap .foot_body {
    width: 100%;
    /* align-items: center; */
  }

  /* .foot_wrap .foot_body .terms_info a{
    margin-right: 0;
  }
  .foot_wrap .foot_body .terms_info .terms a{
    margin-right: 20px;
  } */

}


.logout a {
  font-family: 'paperlogy-R', sans-serif;
  color: #666;
}

.logout a:hover{
  color: #222;
}

/* PC 스타일 유지 */
#top_menu {
  display: flex;
  gap: 40px;
  align-items: center;
}

/* 모바일 스타일 */
@media screen and (min-width:971px) {
  #top_menu:hover li a:not(:hover) {
    color: #888;
    transform: scale(.9);
    background: none;
    font-family: 'paperlogy-M', sans-serif;
  }

  #top_menu li a:hover {
    color: #222;
    transform: scale(1.1);
  }

  .pc_log_sign .login:hover {
    transform: scale(1.05);
  }
}

@media screen and (max-width:970px) {
  #navi_logo img {
    width: 75%;
  }

  .menuBtn-userIcon {
    z-index: 10000;
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .menuBtn-userIcon .user-icon {
    height: 24px;
  }

  .mobile_menu_btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 26px;
    height: 20px;
    margin-left: auto;
    cursor: pointer;
  }

  .mobile_menu_btn span {
    width: 100%;
    height: 2px;
    background: #222;
    border-radius: 2px;
    transition: .35s;
  }

  /* 햄버거 → X */
  .mobile_menu_btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile_menu_btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile_menu_btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* mobile 네비 재배치 */
  #global_nav {
    position: fixed;
    top: -100%;
    right: 0%;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    padding-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    transition: .4s .1s ease-in-out;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
  }

  #global_nav.active {
    right: 0;
    height: 100vh;
    top: 0;
    opacity: 1;
    visibility: visible;
  }



  /* 메뉴 세로로 */
  #top_menu {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  #top_menu li {
    width: 100%;
    border-bottom: 1px solid #ddd;

    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* chevron */
  #top_menu li a {
    width: 100%;
    font-size: 18px;
    padding: 22px 5px;
    color: #222;
  }

  #top_menu li a::after {
    position: absolute;
    content: "›";
    font-size: 20px;
    color: #222;
    right: 10px;
  }


  #top_menu {
    order: 2;
  }

  .pc_log_sign {
    order: 1;
    gap: 10px !important;
    opacity: 1 !important;
    display: flex !important;
    flex-wrap: wrap;
    margin-bottom: 10px;
    justify-content: space-between;
  }

  .pc_log_sign li {
    width: 48%;
    padding: 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    border-radius: 10px;
  }

  .pc_log_sign .login,
  .pc_log_sign .signup {
    font-size: 15px;
    background: none;
    color: #222;
    padding: 5px 10px;
  }

  .pc_log_sign .logout {
    padding: 12px;
    background: none;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: .1s 0s ease-in-out;
  }

  #global_nav.active .logout {
    opacity: 1;
    bottom: 20px;
  }





  .pc_log_sign .login-wrap {
    background: linear-gradient(135deg, #ff4548 0%, #F31D1D 50%, #ff975e 100%);
  }

  .pc_log_sign .login-wrap .login {
    color: #fff;
  }

  .pc_log_sign .login-wrap.user {
    text-align: center;
    width: 100%;
  }

  .pc_log_sign .login.user {
    font-size: 16px;
  }

  .pc_log_sign .login.user span {
    display: inline;
  }


}