body {
    cursor: none;
}

.text-hover {
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}
  
/* 호버 시 스타일 */
.text-hover:hover {
    color: #000 !important;
    font-weight: 800;
    transform: translateX(-5px);
}

/* 기본 상태에서 점 스타일 */
.text-hover::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: url('/img/ico/trans-man.png') no-repeat center center;
  background-size: contain;
  top: -5px;
  right: -15px;
  opacity: 0; /* 기본적으로 투명 */
  transform: scale(0); /* 기본적으로 크기 0 */
  transition: opacity 0.3s ease, transform 0.3s ease; /* 부드러운 전환 */
}
  
/* 호버 시 동그란 점 애니메이션 */
.text-hover:hover::after {
    opacity: 1; /* 불투명 */
    transform: scale(1); /* 원래 크기로 */
}

.button-hover span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button-hover span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button-hover:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.button-hover:hover span {
  padding-right: 25px;
}

.button-hover:hover span:after {
  opacity: 1;
  right: 0;
}


.mouse-cursor {
    position: absolute;
    left: -500px;
    top: -500px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgb(126 126 126 / 30%);
    user-select: none;
    pointer-events: none;
    z-index: 1000000;
	  z-index: 999999;
}

.mouse-cursor.scrolling {
  transition: left 0.1s ease-out, top 0.1s ease-out; /* 스크롤 시 부드럽게 */
}

#header {
    z-index: 9;
    position: fixed;
    display: flex;
    width: calc(100% - 80px);
    justify-content: space-between;
    padding: 20px 40px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

#header.open {
  border-bottom: none;
}

#header.open {
  background: none;
}

#side-menu-wrap {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100vh;
    width: calc(70% - 5px);
    border: 1px solid #FFF;
    background: rgba(255, 255, 255, 55%);
    box-shadow: -8px 4px 25px 0 rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(12.5px);
    transition: right 0.3s ease-in-out;
    z-index: 8;
    display: flex;
    border-radius: 10px 0 0 10px;
}

#side-menu-wrap .close-line {
  width: 13px;
  height: 100%;
  border-radius: 10px 0 0 10px;
  background: rgba(48, 48, 48, 0.60);
  box-shadow: -8px 4px 25px 0 rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(12.5px);
  align-items: center;
  justify-content: center;
}

#side-menu-wrap.open {
    right: 0;
}

#side-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  height: 100%;
}

#side-menu .tm {
  width: 80px;
}

#side-menu a {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

#side-menu a.active {
  font-weight: 800;
}

#side-menu img {
  width: 20px;
}

#side-menu .privacy {
  font-size: 13px;
  color: rgb(102, 102, 102);
}

#side-menu .copyright {
  font-size: 10px;
  color: rgb(102, 102, 102);
  display: inline-block;
}

#side-menu .copyright:hover {
  text-decoration: underline;
}

.text-logo {
    font-family: 'GmarketSansBold';
    font-size: 24px;
    color: #000;
}

.menu-wrap{
    position: relative;
    width: 28px;
    height: 16px;
    cursor: pointer;
}

.menu-wrap .line{
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #222;
  left: 0;
}
.menu-wrap .line:first-child{
  top: 0;
  transform-origin: 25% 50%;
  transition: .3s;
}
.menu-wrap .line:nth-child(2){
  top: calc(50% - 1px);
}

.menu-wrap .line:last-child{
  bottom: 0;
  transform-origin: 25% 50%;
  transition: .3s;
}
  
.menu-wrap.open .line:first-child{
  transform: rotate(45deg) translateX(10%);
}
.menu-wrap.open .line:nth-child(2){
  opacity: 0;
}
.menu-wrap.open .line:last-child{
  transform: rotate(-45deg) translateX(10%);
}

#sns-box {
    position: fixed;
    bottom: 20px;
    right: 15px;
    display: flex;
    gap: 15px;
    z-index: 9;
}

#sns-box img {
    width: 50px;
}


@media (max-width: 800px) {
    #header {
      justify-content: center;
    }

    .menu-wrap {
      position: absolute;
      right: 20px;
      top: 22px;
    }

    #side-menu-wrap {
      width: calc(100% - 5px);
      background: rgba(255, 255, 255, 70%);
    }
}