body {
  cursor: none;
}

.text-hover {
  transition: color 0.3s ease, transform 0.3s ease;
}

/* 호버 시 스타일 */
.text-hover:hover {
  color: #FDD001 !important;
  transform: translateX(-2px);
}

/* 기본 상태에서 점 스타일 */
.text-hover::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: #FDD001;
  border-radius: 50%;
  top: -5px;
  right: -11px;
  opacity: 0; /* 기본적으로 투명 */
  transform: scale(0); /* 기본적으로 크기 0 */    
  transition: opacity 0.3s ease, transform 0.3s ease; /* 부드러운 전환 */
}

/* 호버 시 동그란 점 애니메이션 */
.text-hover:hover::after {
  opacity: 1; /* 불투명 */
  transform: scale(1); /* 원래 크기로 */
}

.mouse-cursor {
  position: absolute;
  left: -500px;
  top: -500px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FDD001;
  user-select: none;
  pointer-events: none;
  z-index: 99999;
  opacity: 0.8;
}

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

#container {
  width: calc(100% - 240px);
  padding-left: 240px;
}

#header {
  min-width: 240px;
  height: 100%;
  border-right: 1px solid #F9F9F9;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 9;
}

#header .logo-a {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

#header .logo {
  width: 110px;
}

#header .link-box {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 30px;
}

#header .link-box a {
  width: calc(100% - 70px);
  font-weight: 200;
  padding: 0 35px;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

#header a.active, #header a:hover {
  /* font-weight: 500; */
  color: #FDD001;
}

#footer {
  background: #F9F9F9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 240px;
  padding: 0 10px;
  border-top: 1px solid #eee;
}

#footer .f-pn {
  color: #333;
  font-size: 24px;
  font-weight: 700;
  margin-top: 14px;
}

#footer .line {
  width: 100%;
  height: 1px;
  background: #E8E8E8;
  margin: 24px 0;
}

#footer .info {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

#footer .info div {
  display: flex;
  align-items: center;
  gap: 20px;
}

#footer .row {
  display: flex;
  align-items: center;
  gap: 8px;
}

#footer .row .left {
  color: #A6A6A8;
  font-size: 14px;
  font-weight: 600;
}

#footer .row .right {
  font-size: 16px; 
  color: #333;
  font-weight: 500;
}

.menu-wrap{
  position: absolute;
  width: 28px;
  height: 16px;
  cursor: pointer;
  right: 20px;
  top: 22px;
  display: none;
}

.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%);
}

@media (max-width: 1280px) {
  #header {
    width: 100%;
    height: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 12px;
  }

  #header.scroll {
    background: #fdfdfd;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

  #container {
    width: 100%;
    padding: 0;
  }

  #header .logo-a {
    margin: 0;
    width: unset;
  }

  #header .link-box {
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 0;
    visibility: hidden;
    display: flex;
    height: 100vh;
    background: #ffffff;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 99;
  }

  #header .link-box.open {
    opacity: 1;
    visibility: visible;
  }

  #header .link-box a {
    font-size: 28px;
  }
  
  .menu-wrap {
    z-index: 100;
    display: block;
    top: 18px;
  }
}

@media (max-width: 550px) {
  #header .link-box a {
    font-size: 16px;
  }

  #header .logo {
    width: 90px;
    margin-top: 5px;
  }

  #footer .f-pn {
    font-size: 18px;
    margin-top: 0px;
  }

  #footer .row .left {
    font-size: 12px;
  }

  #footer .row .right {
    font-size: 14px;
  }
}