@charset "utf-8";

@import url("https://cdn.jsdelivr.net/gh/ProjectNoonnu/noonfonts_2104@1.1/fonts/pretendard.css");

* {
  box-sizing: border-box;
}

/* ===== Hover scale for illust gallery images (strengthened) ===== */
/* Do not change width/height/border; ensure images accept pointer events and hover transform applies */
aside .illust-track img,
aside.overlay-mode .illust-track img {
  transition: transform 260ms cubic-bezier(0.22, 0.9, 0.26, 1);
  transform-origin: center center;
  pointer-events: auto;
  /* ensure image itself accepts hover/click */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Use !important so hover transform takes effect even if inline transform is set on the element */
aside .illust-track img:hover,
aside.overlay-mode .illust-track img:hover {
  transform: scale(1.1) !important;
}

/* Caption for current/hovered image */
.illust-caption {
  position: absolute;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  transform: translateX(-50%) translateY(0);
  pointer-events: none;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
  white-space: nowrap;
}

.illust-caption.visible {
  opacity: 1;
}

.illust-caption .title {
  font-size: 22px;
  line-height: 1;
  font-weight: 600;
  display: block;
}

.illust-caption .year {
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  display: block;
  margin-top: 2px;
}

/* while user is actively dragging, disable hover scaling to avoid visual conflict */
.illust-track.dragging img:hover,
.illust-track.dragging img {
  transform: none !important;
}

/* End hover rules */

/* Defensive: ensure no lingering visual 'selected' state remains when gallery is closed */
aside ul>li:not(.illustpop) .illust-track img,
aside ul>li:not(.illustpop) .illust-track img:hover,
aside:not(.overlay-mode) .illust-track img,
aside:not(.overlay-mode) .illust-track img:hover {
  transform: none !important;
  outline: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  filter: none !important;
  pointer-events: auto !important;
}

/* Remove any large z-index or absolute positioned clone that could visually overlap content */
aside .illust-gallery-wrap,
aside .illust-track[data-loop],
aside ul>li.illustpop.on {
  z-index: 0 !important;
}

/* When aside is not overlay-mode, ensure illustpop is visually hidden and inert */
aside ul>li.illustpop {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

aside.overlay-mode ul>li.illustpop {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Gallery track: show one image per snap, hide native scrollbar */
.illust-gallery .illust-track {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  will-change: transform;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  /* default transition kept none; JS adds transitions when animating */
  transition: none;
}

.illust-gallery .illust-track img {
  scroll-snap-align: center;
  display: inline-block;
  margin-right: 80px;
  will-change: transform;
}

/* hide scrollbar visuals */
.illust-gallery .illust-track::-webkit-scrollbar {
  height: 0;
}

.illust-gallery .illust-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html,
body {
  width: 100vw;
  height: 100vh;
  min-width: 0;
  max-width: 9600px;
  overflow-x: hidden !important;
  overflow-y: auto;
  /* overflow-x: hidden; */
  /* 세로 기준 사이트라 가로 바는 숨겨두기 */
  font-family:
    "Pretendard",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--pink, #ffd0e1);

  /*   position: fixed;
  top: 0;
  left: 0; */
}

header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
}

.click {
  position: relative;
}

.click::after {
  position: absolute;
  content: "Click";
  white-space: pre;
  display: block;
  width: 100px;
  height: 100px;
  /* background: rgba(255, 255, 255, 0.3); */
  background: url(../assets/pointer.svg) no-repeat center 80%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  backdrop-filter: blur(4px);
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 50%;
  animation: afterAni 1s linear infinite;
  z-index: 10;
}

/* allow clicks to pass through the decorative pseudo-element */
.click::after {
  pointer-events: none;
}

.bottom_ui {
  position: fixed;
  width: 100%;
  height: 140px;
  bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.bottom_ui .sns {
  position: absolute;
  left: 40px;
  display: flex;
  gap: 10px;
}

.insta {
  width: 80px;
  height: 80px;
  cursor: pointer;
  background: #fff;
  border-radius: 50%;
  border: 4px solid #000;
  background-image: url(../assets/insta.png);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
}

.behance {
  width: 80px;
  height: 80px;
  cursor: pointer;
  background: #fff;
  border-radius: 50%;
  border: 4px solid #000;
  background-image: url(../assets/behance.png);
  background-repeat: no-repeat;
  background-size: 60%;
  background-position: center;
}

.notefolio {
  width: 80px;
  height: 80px;
  cursor: pointer;
  background: #fff;
  border-radius: 50%;
  border: 4px solid #000;
  background-image: url(../assets/notefolio.png);
  background-repeat: no-repeat;
  background-size: 70%;
  background-position: center;
}

.ft_copy {
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
}

.home_main::after {
  content: "Home";
  position: relative;
  left: 196px;
  top: 258px;
  z-index: 4;
}

@keyframes afterAni {
  0% {
    transform: translateX(-50%) translateY(-10px);
  }

  50% {
    transform: translateX(-50%) translateY(0px);
  }

  100% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.scroll_ui {
  margin-right: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 20px;
  bottom: 34px;
}

.scroll_ui .scroll_guide {
  display: flex;
  align-items: center;
  font-size: 14px;
  gap: 4px;
  font-weight: 400;
  color: #fff;
}

.scroll_ui .scroll_guide .arrow {
  animation: arrowAni 2s ease-in-out infinite;
}

@keyframes arrowAni {
  0% {
    transform: rotate(90deg) translateY(0px);
  }

  50% {
    transform: rotate(90deg) translateY(-6px);
  }

  100% {
    transform: rotate(90deg) translateY(0px);
  }
}

.scroll_ui .scroll_guide .mouse {
  transform: rotate(90deg);
}

.fixed-logo {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 180px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fixed-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.horizontal-wrapper {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
  position: fixed;
  top: 0;
  left: 0;
  background: #ffd0e1;
  max-width: 9600px;
  overflow-x: hidden;
}

.horizontal-scroll {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  height: 100vh;
  will-change: transform;
  max-width: 9600px;
  overflow-x: hidden;
}

.panel {
  position: relative;
  min-width: 100vw;
  width: 1920px;
  height: 100vh;
  flex-shrink: 0;
  overflow: hidden;
}

.main_page,
.uxui_page,
.promo_page,
.visual_design_page,
.footer_page {
  position: relative;
  width: 1920px;
}

.main_page .top {
  width: 100%;
  height: 294px;
  position: absolute;
  left: 0;
  bottom: 580px;
  background-image: url(../assets/png/main_top_bg.png);
  background-repeat: no-repeat;
}

.sky {
  position: relative;
  width: 100%;
  height: 100%;
}

.uxui_page .top {
  width: 100%;
  height: 294px;
  position: absolute;
  left: 0;
  bottom: 557px;
  background-image: url(../assets/png/uxui_top_bg.png);
  background-repeat: no-repeat;
}

.promo_page .top {
  width: 100%;
  height: 294px;
  position: absolute;
  left: 0;
  bottom: 556px;
  background-image: url(../assets/png/promo_top_bg.png);
  background-repeat: no-repeat;
}

.visual_design_page .top {
  width: 100%;
  height: 294px;
  position: absolute;
  left: 0;
  bottom: 529px;
  background-image: url(../assets/png/bni_top_bg.png);
  background-repeat: no-repeat;
}

.footer_page .top {
  width: 100%;
  height: 294px;
  position: absolute;
  left: 0;
  bottom: 519px;
  background-image: url(../assets/png/footer_top_bg.png);
  background-repeat: no-repeat;
}

.bottom {
  width: 100%;
  height: 640px;
  position: absolute;
  left: 0;
  bottom: 0;
  border-top: 4px solid #000;
  background: #13a381;
  background-position: bottom center;
  background-repeat: no-repeat;
}

/* .main_under_obj {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  
} */

.audio-player-fixed {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 2000;
  display: flex;
  align-items: center;
}

.audio-toggle {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main_under_obj {
  width: 100%;
  height: auto;
}

.audio-toggle svg {
  display: block;
}

.sky {
  width: 100%;
  height: 312px;
  display: flex;
  position: relative;
  top: -30px;
  left: 0;
  /* z-index: 0; */
}

.main_page .bottom {
  background-image: url(../assets/png/main_under_obj.png);
  overflow: visible;
}

.uxui_page .bottom {
  background-image: url(../assets/png/uxui_under_obj.png);
  overflow: visible;
}

.promo_page .bottom {
  background-image: url(../assets/png/promo_under_obj.png);
  overflow: visible;
}

.visual_design_page .bottom {
  background-image: url(../assets/png/bni_under_obj.png);
  overflow: visible;
}

.footer_page .bottom {
  background-image: url(../assets/png/footer_under_obj.png);
  overflow: visible;
}

/* main_page */
.main_page>.sky .m_cloud1 {
  position: absolute;
  top: 50px;
  left: 140px;
  width: 160px;
  /* z-index: 0; */
}

.main_page>.sky .m_cloud2 {
  position: absolute;
  top: 50px;
  left: 1478px;
  width: 92px;
  /* z-index: 0; */
}

.main_page>.sky .m_cloud3 {
  position: absolute;
  top: 50px;
  left: 1654px;
  width: 144px;
}

.main_page .sky .sky_bird {
  position: absolute;
  top: 50px;
  left: 1210px;
  width: 146px;
}

.main_page .long_tree {
  position: absolute;
  top: 110px;
  left: 80px;
  z-index: 30;
}

.main_page .s_leaf {
  position: absolute;
  top: 420px;
  left: 1166px;
  z-index: 4;
}

.main_page .wood {
  position: absolute;
  top: 480px;
  left: 320px;
  z-index: 30;
}

.main_page .rabbit {
  /* rabbit visual positioning */
  position: absolute;
  top: 280px;
  left: 520px;
  z-index: 30;
  animation: rabbitJump 4s ease-in-out infinite;
  transform-origin: left bottom;
}

/* Larger hit area for aside close button; keep visual svg smaller */
aside.overlay-mode .close-btn,
.close-btn {
  width: 80px;
  height: 80px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
}

.close-btn img {
  width: 48px;
  height: 48px;
  display: block;
  pointer-events: none;
}

.main_page .watering_can {
  position: absolute;
  top: 620px;
  right: 720px;
  z-index: 4;
}

.main_page .dotory_tree_a {
  position: absolute;
  top: 280px;
  right: 258px;
  z-index: 30;
}

.main_page .snall_leaf {
  position: absolute;
  top: 360px;
  right: 580px;
}

.main_page .tree_y {
  position: absolute;
  bottom: -60px;
  left: 170px;
}

.main_page .big_leaf {
  position: absolute;
  bottom: 0;
  right: 120px;
}

.main_page .f_tulip_p_a {
  position: absolute;
  top: 560px;
  left: 100px;
}

.main_page .F_tulip_p_b {
  position: absolute;
  top: 620px;
  right: 572px;
}

.main_page .f_gen_p {
  position: absolute;
  top: 240px;
  left: 360px;
}

.main_page .f_gen_y_b {
  position: absolute;
  top: 260px;
  right: 200px;
}

/* uxui_page */
.uxui_page .sky .m_cloud1 {
  position: absolute;
  top: 140px;
  left: 228px;
}

.uxui_page .sky .m_cloud2 {
  position: absolute;
  top: 50px;
  left: 1584px;
}

.uxui_page>.uxuiobj .r_long_tree {
  position: absolute;
  top: 60px;
  left: 120px;
}

.uxui_page>.uxuiobj .regular_tree {
  position: absolute;
  top: 170px;
  left: 540px;
}

.uxui_page>.uxuiobj .round_tree {
  position: absolute;
  bottom: -6px;
  left: 220px;
}

.uxui_page>.uxuiobj .wing_tree {
  position: absolute;
  bottom: 82px;
  right: 200px;
}

.uxui_page>.uxuiobj .two_flower {
  position: absolute;
  bottom: 124px;
  right: 500px;
  animation: svgJelly 2.4s ease-in-out infinite;
  transform-origin: center bottom;
  /* 바닥 기준으로 쫀득 */
}

@keyframes svgJelly {
  0% {
    transform: scale(1, 1);
  }

  25% {
    transform: scale(1.04, 0.96);
    /* 옆으로 통통, 위아래 살짝 눌림 */
  }

  50% {
    transform: scale(0.97, 1.05);
    /* 위로 쭉, 옆은 살짝 줄어듦 */
  }

  75% {
    transform: scale(1.02, 0.98);
  }

  100% {
    transform: scale(1, 1);
  }
}

.uxui_page>.uxuiobj .apple_a {
  position: absolute;
  top: 340px;
  left: 850px;
}

.uxui_page>.uxuiobj .apple_b {
  position: absolute;
  top: 450px;
  left: 124px;
}

.uxui_page>.uxuiobj .apple_c {
  position: absolute;
  bottom: 240px;
  right: 630px;
}

.uxui_page>.uxuiobj .f_tulip_p_a {
  position: absolute;
  bottom: 240px;
  left: 80px;
}

.uxui_page>.uxuiobj .f_gen_y {
  position: absolute;
  top: 380px;
  left: 640px;
}

/* .std_drg_web */

.uxui_page>.uxuiobj .std_drg_web {
  position: absolute;
  top: 180px;
  left: 260px;
  cursor: pointer;
  width: 200px;
  height: 400px;
}

.uxui_page>.uxuiobj .std_drg_web .sd_video {
  position: relative;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 0;
}

.uxui_page>.uxuiobj .std_drg_web .sd_head {
  position: absolute;
  top: 20px;
  right: 0px;
  z-index: 0;
}

.uxui_page>.uxuiobj .std_drg_web .sd_tail {
  position: absolute;
  top: 52px;
  left: 40px;
  z-index: 0;
}

.uxui_page>.uxuiobj .std_drg_web .sd_wing {
  position: absolute;
  top: 64px;
  left: 24px;
  z-index: 0;
}

.uxui_page>.uxuiobj .std_drg_web .sd_head,
.uxui_page>.uxuiobj .std_drg_web .sd_tail,
.uxui_page>.uxuiobj .std_drg_web .sd_wing {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  z-index: 0;
}

.uxui_page>.uxuiobj .std_drg_web:hover .sd_video {
  transform: scale(0.985);
  z-index: 10;
}

.uxui_page>.uxuiobj .std_drg_web:hover .sd_head {
  animation: sd-head-Ani 2s ease-in-out forwards;
  opacity: 0;
  pointer-events: auto;
  position: absolute;
  left: 10px;
  /* video 바깥으로 밀려나게 조정 */
  top: 0px;
  z-index: 1;
}

@keyframes sd-head-Ani {
  0% {
    transform: translate(0, 0) scale(0.6) rotate(0deg);
    opacity: 0;
  }

  100% {
    transform: translate(120px, -20px) scale(1) rotate(-20deg);
    opacity: 1;
  }
}

.uxui_page>.uxuiobj .std_drg_web:hover .sd_tail {
  animation: sd-tail-Ani 2s ease-in-out forwards;
  opacity: 0;
  pointer-events: auto;
  position: absolute;
  left: 10px;
  /* video 바깥으로 밀려나게 조정 */
  top: 0px;
  z-index: 1;
}

@keyframes sd-tail-Ani {
  0% {
    transform: translate(0, 0) scale(0.6) rotate(0deg);
    opacity: 0;
  }

  100% {
    transform: translate(-30px, 110px) scale(1) rotate(-20deg);
    opacity: 1;
  }
}

.uxui_page>.uxuiobj .std_drg_web:hover .sd_wing {
  animation: sd-wing-Ani 2s ease-in-out forwards;
  opacity: 0;
  pointer-events: auto;
  position: absolute;
  left: 10px;
  /* video 바깥으로 밀려나게 조정 */
  top: 0px;
  z-index: 1;
}

@keyframes sd-wing-Ani {
  0% {
    transform: translate(0, 0) scale(0.6) rotate(0deg);
    opacity: 0;
  }

  100% {
    transform: translate(-40px, -40px) scale(1) rotate(20deg);
    opacity: 1;
  }
}

/* .braedlee_app */
.uxui_page>.uxuiobj .braedlee_app {
  position: absolute;
  bottom: 160px;
  left: 730px;
  cursor: pointer;
}

.bl_market::after {
  left: 200px;
}

.uxui_page>.uxuiobj .braedlee_app .bl_market {
  position: relative;
  transition: transform 300ms cubic-bezier(0.4, 0.7, 0.4, 1.2);
}

.uxui_page>.uxuiobj .braedlee_app .bl_cha {
  position: absolute;
  bottom: -40px;
  left: -100px;
}

/* Hover animations for .braedlee_app */
.uxui_page>.uxuiobj .braedlee_app:hover .bl_market {
  transform: scale(1.04);
}

.uxui_page>.uxuiobj .braedlee_app:hover .bl_cha {
  animation: bl_chaWiggle 0.6s cubic-bezier(0.4, 0.7, 0.4, 1.2) infinite;
}

@keyframes bl_chaWiggle {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(0deg);
  }

  75% {
    transform: rotate(-10deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* gwm_web */
.uxui_page>.uxuiobj .gwm_web {
  position: absolute;
  top: 180px;
  right: 400px;
  cursor: pointer;
  transition: transform 300ms cubic-bezier(0.4, 0.7, 0.4, 1.2);
}

.uxui_page>.uxuiobj .gwm_web .gwm_head {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.uxui_page>.uxuiobj .gwm_web .gwm_stone {
  position: absolute;
  bottom: 0px;
  left: -70px;
  z-index: 3;
  transition: transform 320ms cubic-bezier(0.4, 0.7, 0.4, 1.2);
}

.uxui_page>.uxuiobj .gwm_web .gwm_pramid {
  position: absolute;
  bottom: 0px;
  right: -180px;
  z-index: 3;
  transition: transform 320ms cubic-bezier(0.4, 0.7, 0.4, 1.2);
}

/* Hover animations for .gwm_web */
.uxui_page>.uxuiobj .gwm_web:hover {
  transform: scale(0.96);
}

.uxui_page>.uxuiobj .gwm_web:hover .gwm_stone {
  transform: translate(-10px, -10px);
}

.uxui_page>.uxuiobj .gwm_web:hover .gwm_pramid {
  transform: translate(10px, -10px);
}

/* promo_page */
.promo_page .sky .m_cloud1 {
  position: absolute;
  top: 100px;
  left: 130px;
}

.promo_page .sky .m_cloud2 {
  position: absolute;
  top: 64px;
  left: 1458px;
}

.promo_page>.promoobj .triamgle_tree {
  position: absolute;
  top: 220px;
  left: 240px;
}

.promo_page>.promoobj .round_tree {
  position: absolute;
  bottom: 300px;
  left: 600px;
}

.promo_page>.promoobj .wing_tree {
  position: absolute;
  bottom: 300px;
  right: 400px;
}

.promo_page>.promoobj .regular_tree {
  position: absolute;
  top: 180px;
  right: 240px;
}

.promo_page>.promoobj .two_flower {
  position: absolute;
  bottom: 400px;
  left: 1000px;
}

.promo_page>.promoobj .apple_a {
  position: absolute;
  bottom: 600px;
  right: 140px;
}

.promo_page>.promoobj .apple_b {
  position: absolute;
  bottom: 300px;
  right: 200px;
}

.promo_page>.promoobj .apple_c {
  position: absolute;
  bottom: 500px;
  right: 260px;
}

.promo_page>.promoobj .triangle_tree {
  position: absolute;
  top: 100px;
  right: 540px;
}

.promo_page>.promoobj .tree_y-b {
  position: absolute;
  bottom: -50px;
  right: 200px;
}

.promo_page>.promoobj .duncul_r {
  position: absolute;
  bottom: -4px;
  left: 160px;
}

.promo_page>.promoobj .duncul_s {
  position: absolute;
  bottom: -4px;
  left: 390px;
}

.promo_page>.promoobj .duncul_xs {
  position: absolute;
  bottom: 210px;
  right: 40px;
}

.promo_page>.promoobj .apple_3-a {
  position: absolute;
  bottom: 80px;
  right: 670px;
}

.promo_page>.promoobj .apple_3-b {
  position: absolute;
  top: 510px;
  right: 140px;
}

.promo_page>.promoobj .apple_3-c {
  position: absolute;
  bottom: 48px;
  left: 400px;
}

.promo_page>.promoobj .bertterfly_b {
  position: absolute;
  top: 380px;
  right: 780px;
  animation: butterflyFly 6s ease-in-out infinite;
  transform-origin: center center;
}

.promo_page>.promoobj .f_gen_big_p {
  position: absolute;
  bottom: 140px;
  left: 150px;
  animation: svgJelly 2.4s ease-in-out infinite;
  transform-origin: center bottom;
  /* 바닥 기준으로 쫀득 */
}

.promo_page>.promoobj .F_tulip_y {
  position: absolute;
  top: 470px;
  right: 580px;
}

.promo_page>.promoobj .F_gen_y {
  position: absolute;
  top: 260px;
  left: 540px;
}

/* samsung_promo */
.promo_page>.promoobj .samsung_promo {
  /* border: 1px solid #ffffff; */
  position: absolute;
  top: 320px;
  left: 270px;
  transform-origin: center center;
}

.promo_page>.promoobj .samsung_promo:hover {
  animation: samsungPromoShrinkGrow 0.5s ease-in-out;
  cursor: pointer;
}

/* samsung_promo hover shrink-grow animation */
@keyframes samsungPromoShrinkGrow {
  0% {
    transform: scale(1);
  }

  30% {
    transform: scale(0.8);
  }

  100% {
    transform: scale(1);
  }
}

/* vfun_login */
.promo_page .promoobj .vfun_login .funny_body {
  position: relative;
  z-index: 2;
  left: 54px;
}

.promo_page .promoobj .vfun_login:hover .funny_arm,
.promo_page .promoobj .vfun_login:hover .game_controller {
  animation: funnyRotate 0.7s cubic-bezier(0.4, 0.7, 0.4, 1.2) infinite alternate;
}

.promo_page>.promoobj .vfun_login {
  position: absolute;
  top: 50%;
  left: 820px;
  transition: transform 0.3s cubic-bezier(0.4, 0.7, 0.4, 1.2);
}

.promo_page>.promoobj .vfun_login:hover {
  transform: scale(1.04);
  cursor: pointer;
}

.promo_page>.promoobj .vfun_login .funny_arm {
  position: relative;
  z-index: 1;
  /* funny_body 뒤, game_controller보다 뒤 */
  transform-origin: right top;
  top: 146px;
  left: 82px;
}

.promo_page>.promoobj .vfun_login .game_controller {
  position: relative;
  z-index: 3;
  transform-origin: right top;
  top: 190px;
  left: -240px;
}

/* lg_plal */
.promo_page>.promoobj .lg_plal {
  position: absolute;
  top: 200px;
  right: 154px;
  width: 300px;
  height: 400px;
}

.promo_page>.promoobj .lg_plal .lg_plal_body {
  position: absolute;
  top: 80px;
  right: 80px;
}

.promo_page>.promoobj .lg_plal:hover .lg_plal_body {
  animation: lgPlalBodyRotate 2.2s infinite;
  cursor: pointer;
}

/* lg_plal hover animation */
@keyframes lgPlalBodyRotate {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(-10deg);
  }

  75% {
    transform: rotate(10deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.promo_page>.promoobj .lg_plal .twinkle_m {
  position: absolute;
  top: 30px;
  right: 30px;
}

.promo_page>.promoobj .lg_plal:hover .twinkle_m {
  animation: twinkleBlink 0.9s linear infinite;
}

.promo_page>.promoobj .lg_plal .twinkle_s {
  position: absolute;
  top: 270px;
  right: 240px;
}

.promo_page>.promoobj .lg_plal:hover .twinkle_s {
  animation: twinkleBlink 0.9s linear infinite;
  animation-delay: 0.45s;
}

/* visual_design_page */
.visual_design_page .sky .m_cloud1 {
  position: absolute;
  top: 194px;
  left: 106px;
  width: 154px;
}

.visual_design_page .sky .m_cloud2 {
  position: absolute;
  top: 108px;
  left: 372px;
  width: 96px;
}

.visual_design_page .sky .m_cloud3 {
  position: absolute;
  top: 76px;
  left: 1644px;
  width: 166px;
}

.visual_design_page .bniobj .two_cir_tree {
  position: absolute;
  bottom: -4px;
  left: 80px;
}

.visual_design_page .bniobj .two_flower_y-b {
  position: absolute;
  bottom: 234px;
  right: 780px;
  animation: svgJelly 2.4s ease-in-out infinite;
  transform-origin: center bottom;
}

.visual_design_page .bniobj .duncul_4 {
  position: absolute;
  bottom: -4px;
  right: 400px;
}

.visual_design_page .bniobj .apple_4-a {
  position: absolute;
  top: 454px;
  left: 80px;
}

.visual_design_page .bniobj .apple_4-b {
  position: absolute;
  top: 360px;
  right: 632px;
}

.visual_design_page .bniobj .apple_4-c {
  position: absolute;
  bottom: 58px;
  right: 420px;
}

.visual_design_page .bniobj .f_tulip_p_a {
  position: absolute;
  top: 280px;
  left: 210px;
}

.visual_design_page .bniobj .f_gen_p {
  position: absolute;
  bottom: 80px;
  left: 650px;
}

.visual_design_page .bniobj .f_tulip_y {
  position: absolute;
  top: 420px;
  right: 78px;
}

.visual_design_page .bniobj .f_gen_p_leaf {
  position: absolute;
  top: 260px;
  right: 350px;
}

/* bn */
.visual_design_page .bniobj .bn {
  position: absolute;
  width: 410px;
  height: 410px;
  bottom: 300px;
  left: 360px;
}

.visual_design_page .bniobj .bn .bn_phone {
  position: absolute;
  bottom: 0px;
  left: 120px;
}

.visual_design_page .bniobj .bn .bn_cube_a {
  position: absolute;
  bottom: 120px;
  left: 18px;
}

.visual_design_page .bniobj .bn .bn_cube_b {
  position: absolute;
  bottom: 40px;
  left: 270px;
}

.visual_design_page .bniobj .bn .bn_heart {
  position: absolute;
  top: 40px;
  left: 60px;
}

/* illust */
.visual_design_page .bniobj .illust {
  position: absolute;
  top: 400px;
  right: 244px;
  width: 460px;
  height: 280px;
}

.visual_design_page .bniobj .illust .illust_sketchbook {
  position: absolute;
  top: 0px;
  left: 30px;
}

.visual_design_page .bniobj .illust .illust_crayon-r {
  position: absolute;
  top: 120px;
  left: 394px;
}

.visual_design_page .bniobj .illust .illust_crayon-y {
  position: absolute;
  top: 160px;
  top: 160px;
  left: 352px;
}

/* illust_crayon-y 그리기 애니메이션 */
@keyframes illustCrayonYDraw {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  15% {
    transform: translate(60px, -300pxx) rotate(-8deg);
  }

  30% {
    transform: translate(18px, 16px) rotate(10deg);
  }

  45% {
    transform: translate(-24px, 24px) rotate(-12deg);
  }

  60% {
    transform: translate(28px, 32px) rotate(12deg);
  }

  75% {
    transform: translate(-10px, 12px) rotate(-6deg);
  }

  90% {
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.visual_design_page .bniobj .illust:hover .illust_crayon-y {
  animation: illustCrayonYDraw 2.1s cubic-bezier(0.4, 0.7, 0.4, 1.2) infinite;
}

/* footer_page */

.footer_page .sky .m_cloud1 {
  position: absolute;
  top: 108px;
  left: 84px;
  width: 84px;
}

.footer_page .sky .m_cloud2 {
  position: absolute;
  top: 114px;
  left: 344px;
  width: 132px;
}

.footer_page .sky .m_cloud3 {
  position: absolute;
  top: 74px;
  left: 1634px;
  width: 204px;
}

.footer_page .footerobj .round_tree_z {
  position: absolute;
  bottom: -4px;
  right: -50px;
}

.footer_page .footerobj .pongpong_tree {
  position: absolute;
  top: 140px;
  left: 90px;
}

.footer_page .footerobj .bertterfly_y {
  position: absolute;
  top: 300px;
  left: 600px;
  animation: butterflyFlyY 7s ease-in-out infinite;
  transform-origin: center center;
}

.footer_page .footerobj .three_apples {
  position: absolute;
  bottom: 350px;
  right: 170px;
  width: 144px;
}

.footer_page .footerobj .f_tulip_p_Footer {
  position: absolute;
  top: 374px;
  right: 640px;
}

.footer_page .footerobj .f_gen_p_Footer {
  position: absolute;
  top: 240px;
  left: 400px;
}

.footer_page .footerobj .dotory_a-2 {
  position: absolute;
  top: 532px;
  left: 80px;
}

.footer_page .footerobj .dotory_b-2 {
  position: absolute;
  bottom: 288px;
  right: 310px;
}

.footer_page .footerobj .dotory_c-2 {
  position: absolute;
  bottom: 80px;
  left: 730px;
}

@keyframes butterflyFlyY {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(1);
  }

  15% {
    transform: translateY(-22px) translateX(18px) rotate(-10deg) scale(1.05);
  }

  30% {
    transform: translateY(-38px) translateX(-20px) rotate(12deg) scale(0.97);
  }

  45% {
    transform: translateY(-18px) translateX(22px) rotate(-14deg) scale(1.03);
  }

  60% {
    transform: translateY(0) translateX(-14px) rotate(10deg) scale(1.01);
  }

  75% {
    transform: translateY(16px) translateX(14px) rotate(-8deg) scale(1.04);
  }

  90% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(1);
  }

  100% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(1);
  }
}

/* cha_footer */
.footer_page .footerobj .my-cha_footer {
  position: absolute;
  bottom: 250px;
  left: 200px;
}

/* home-house */
.footer_page .footerobj .home_main {
  position: absolute;
  bottom: 220px;
  right: 640px;
  width: 675px;
  height: 422px;
}

.footer_page .footerobj .home-house .home {
  position: absolute;
  bottom: 0;
  right: 0;
}

.footer_page .footerobj .home-house .home_door {
  position: absolute;
  bottom: 20px;
  right: 418px;
  transform-origin: 2% 49%;
  transition: 2s ease-in-out;
  cursor: pointer;
  z-index: 40;
}

.footer_page .footerobj .home-house:hover .home_door {
  transform-style: preserve-3d;
  /* 자식 요소를 3D로 유지 */
  transform: rotateY(180deg);
  cursor: pointer;
}

/* e-mail_post */

.e-mail_post {
  position: absolute;
  bottom: 239px;
  right: 520px;
  width: 120px;
  height: 300px;
}

.footer_page .footerobj .e-mail_post {
  cursor: pointer;
  perspective: 600px;
  z-index: 30;
}

.footer_page .footerobj .e-mail_post .post_box {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  cursor: pointer;
  z-index: 20;
}

.footer_page .footerobj .e-mail_post .post_door {
  position: absolute;
  bottom: 145px;
  right: 0px;
  background: none;
  z-index: 30;
  transform-origin: bottom center;
  transform: rotateX(0deg);
  transition: transform 0.7s;
}

.footer_page .footerobj .e-mail_post:hover .post_door {
  transform: rotateX(-116deg) matrix(1, 0, -0.3, 1, 0, 0);
}

.footer_page .footerobj .e-mail_post .post_area .post {
  position: absolute;
  bottom: 160px;
  right: 0;
  transform-origin: 50% 100%;
  transition:
    transform 0.7s cubic-bezier(0.4, 0.7, 0.4, 1.2),
    opacity 0.7s cubic-bezier(0.4, 0.3, 0.2, 1.2);
  opacity: 0;
  z-index: 50;
}

.footer_page .footerobj .e-mail_post:hover .post_area .post {
  transform: translateX(40px) scale(1.08);
  opacity: 1;
}

.e-mail_post::after {
  content: "Contect me";
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 40;
}

.footer_page .footerobj .dotory_tree_b {
  position: absolute;
  top: 140px;
  right: 430px;
  z-index: 30;
}

.home_g_btn {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 30;
}

.home_g_btn:first-child {
  position: absolute;
  right: 0px;
}

.home_g_btn:nth-child(3) {
  position: relative;
  left: 500px;
  top: -120px-;
}

.home_g_btn__pre {
  font-size: 14px;
  color: #ffffff;
  text-align: center;
  font-weight: 400;
}

.home_g_btn__img {
  width: 20px;
  height: 20px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes floatCloud1 {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes floatCloud2 {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(12px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes floatCloud3 {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes rotateBird {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(8deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.main_page .sky .m_cloud1,
.uxui_page .sky .m_cloud1,
.promo_page .sky .m_cloud1,
.visual_design_page .sky .m_cloud1,
.footer_page .sky .m_cloud1 {
  animation: floatCloud1 5.5s ease-in-out infinite;
}

.main_page .sky .m_cloud2,
.uxui_page .sky .m_cloud2,
.promo_page .sky .m_cloud2,
.visual_design_page .sky .m_cloud2,
.footer_page .sky .m_cloud2 {
  animation: floatCloud2 7s ease-in-out infinite;
}

.main_page .sky .m_cloud3,
.visual_design_page .sky .m_cloud3,
.footer_page .sky .m_cloud3 {
  animation: floatCloud3 6.2s ease-in-out infinite;
}

.main_page .sky .sky_bird {
  animation: rotateBird 2.8s ease-in-out infinite;
}

@keyframes shakeAndDrop {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  10% {
    transform: translateY(-8px) rotate(-10deg);
  }

  20% {
    transform: translateY(8px) rotate(10deg);
  }

  30% {
    transform: translateY(-6px) rotate(-8deg);
  }

  40% {
    transform: translateY(6px) rotate(8deg);
  }

  50% {
    transform: translateY(-4px) rotate(-6deg);
  }

  60% {
    transform: translateY(4px) rotate(6deg);
  }

  70% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(220px) rotate(40deg);
    opacity: 1;
  }
}

@keyframes firstendAndDrop {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  10% {
    transform: translateY(-8px) rotate(-10deg);
  }

  20% {
    transform: translateY(8px) rotate(10deg);
  }

  30% {
    transform: translateY(-6px) rotate(-8deg);
  }

  40% {
    transform: translateY(6px) rotate(8deg);
  }

  50% {
    transform: translateY(-4px) rotate(-6deg);
  }

  60% {
    transform: translateY(4px) rotate(6deg);
  }

  70% {
    transform: translateY(0) rotate(0deg);
  }

  80% {
    transform: translateY(140px) rotate(40deg);
    opacity: 1;
  }

  100% {
    transform: translateY(140px) rotate(40deg);
    opacity: 1;
  }
}

.dotory_tree_a .dotory_a {
  position: absolute;
  top: 130px;
  left: 44px;
  animation: firstendAndDrop 6s ease-in-out;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-duration: 16s;
}

.dotory_tree_a .dotory_b {
  position: absolute;
  top: 34px;
  left: 80px;
  animation: shakeAndDrop 1s ease-in-out;
  animation-delay: 0.3s;
  animation-iteration-count: infinite;
  animation-duration: 16s;
}

.dotory_tree_a .dotory_c {
  position: absolute;
  top: 90px;
  left: 128px;
  animation: firstendAndDrop 6s ease-in-out;
  animation-delay: 0.6s;
  animation-iteration-count: infinite;
  animation-duration: 16s;
}

.dotory_tree_a .squirrel {
  position: absolute;
  top: 170px;
  left: 200px;
  animation: squirrelRotate 5s ease-in-out infinite;
}

.dotory_tree_b .dotory_a {
  position: absolute;
  top: 130px;
  left: 44px;
  animation: firstendAndDrop 6s ease-in-out;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-duration: 16s;
}

.dotory_tree_b .dotory_b {
  position: absolute;
  top: 34px;
  left: 80px;
  animation: shakeAndDrop 1s ease-in-out;
  animation-delay: 0.3s;
  animation-iteration-count: infinite;
  animation-duration: 16s;
}

.dotory_tree_b .dotory_c {
  position: absolute;
  top: 90px;
  left: 128px;
  animation: firstendAndDrop 6s ease-in-out;
  animation-delay: 0.6s;
  animation-iteration-count: infinite;
  animation-duration: 16s;
}

.dotory_tree_b .squirrel {
  position: absolute;
  top: 170px;
  left: 200px;
  animation: squirrelRotate 5s ease-in-out infinite;
}

@keyframes squirrelRotate {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(8deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.enter_about-me::after {
  content: "About me";
}

.about-me .enter_about-me {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  cursor: pointer;
  z-index: 99;
  transform-origin: bottom center;
  transition: transform 0.2s;
}

@keyframes mychaWaveHand {
  0% {
    transform: rotate(0deg) translateY(0);
  }

  10% {
    transform: rotate(-6deg) translateY(-1px);
  }

  20% {
    transform: rotate(10deg) translateY(1px);
  }

  30% {
    transform: rotate(-8deg) translateY(-1px);
  }

  40% {
    transform: rotate(8deg) translateY(1px);
  }

  50% {
    transform: rotate(-6deg) translateY(-1px);
  }

  60% {
    transform: rotate(6deg) translateY(1px);
  }

  70% {
    transform: rotate(-4deg) translateY(-1px);
  }

  80% {
    transform: rotate(4deg) translateY(1px);
  }

  90% {
    transform: rotate(-2deg) translateY(0);
  }

  100% {
    transform: rotate(0deg) translateY(0);
  }
}

.about-me .enter_about-me .mycha {
  position: absolute;
  top: 200px;
  left: -220px;
  z-index: 6;
}

.my-cha_footer {
  position: absolute;
  top: 450px;
  left: 160px;
}

.my-cha_footer .mycha {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 40;
}

.about-me .enter_about-me .mycha_arm {
  animation: mychaWaveHand 3.5s cubic-bezier(0.4, 0.7, 0.4, 1.2) infinite;
  transform-origin: 20% 80%;
  /* 손 위치에 맞게 조정 */
  transition: clip-path 0.5s ease-in-out;
  clip-path: circle(100% at 50% 50%);
  position: absolute;
  top: 172px;
  right: 188px;
  z-index: 1;
}

.my-cha_footer .mychar_ani .mycha_arm_a-none {
  animation: mychaWaveHand 3.5s cubic-bezier(0.4, 0.7, 0.4, 1.2) infinite;
  transform-origin: 20% 80%;
  /* 손 위치에 맞게 조정 */
  transition: clip-path 0.5s ease-in-out;
  clip-path: circle(100% at 50% 50%);
  position: absolute;
  top: -28px;
  left: 128px;
  z-index: 1;
}

@keyframes rabbitMoveFlip {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg) scaleX(1);
  }

  20% {
    transform: translateX(74px) translateY(-4px) rotate(7deg) scaleX(1);
  }

  50% {
    transform: translateX(0) translateY(0) rotate(0deg) scaleX(1);
  }

  70% {
    transform: translateX(-74px) translateY(4px) rotate(-7deg) scaleX(-1);
  }

  100% {
    transform: translateX(0) translateY(0) rotate(0deg) scaleX(1);
  }
}

@keyframes rabbitJump {
  0% {
    transform: translateY(0) rotate(0);
  }

  20% {
    transform: translateY(-12px) rotate(-10deg);
  }

  50% {
    transform: translateY(0) rotate(0);
  }

  70% {
    transform: translateY(12px) rotate(-10deg);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

.about-me .enter_about-me {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* 위치 고정은 여기 */
  z-index: 99;
}

.about_me {
  transform-origin: bottom center;
  /* 회전 기준 */
}

.enter_about-me:hover .about_me,
.enter_about-me:focus .about_me {
  animation: aboutme-Ani 1.2s infinite;
}

@keyframes aboutme-Ani {
  0% {
    transform: rotate(0deg);
  }

  30% {
    transform: rotate(2deg);
  }

  60% {
    transform: rotate(-2deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes funnyRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(24deg);
  }
}

@keyframes twinkleBlink {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* bn hover animation */
.visual_design_page .bniobj .bn:hover .bn_phone {
  transform: scale(1.04);
  transition: transform 0.3s cubic-bezier(0.4, 0.7, 0.4, 1.2);
  cursor: pointer;
}

.visual_design_page .bniobj .bn:hover .bn_cube_a {
  transform: translateY(-10px);
  transition: transform 0.3s cubic-bezier(0.4, 0.7, 0.4, 1.2);
  cursor: pointer;
}

.visual_design_page .bniobj .bn:hover .bn_cube_b {
  transform: translateY(10px);
  transition: transform 0.3s cubic-bezier(0.4, 0.7, 0.4, 1.2);
  cursor: pointer;
}

.visual_design_page .bniobj .bn .bn_heart {
  transition:
    transform 0.3s cubic-bezier(0.4, 0.7, 0.4, 1.2),
    transform-origin 0s;
  cursor: pointer;
}

.visual_design_page .bniobj .bn:hover .bn_heart {
  transform-origin: bottom right;
  animation: bnHeartRotateLoop 0.7s cubic-bezier(0.4, 0.7, 0.4, 1.2) infinite alternate;
  cursor: pointer;
}

@keyframes bnHeartRotateLoop {
  0% {
    transform: rotate(-8deg);
  }

  100% {
    transform: rotate(8deg);
  }
}

.visual_design_page .bniobj .illust:hover .illust_sketchbook {
  transform: scale(1.04);
  transition: transform 0.3s cubic-bezier(0.4, 0.7, 0.4, 1.2);
  cursor: pointer;
}

/* transition 추가된 부분 */
.visual_design_page .bniobj .bn .bn_phone,
.visual_design_page .bniobj .bn .bn_cube_a,
.visual_design_page .bniobj .bn .bn_cube_b,
.visual_design_page .bniobj .bn .bn_heart {
  transition: transform 0.5s cubic-bezier(0.4, 0.7, 0.4, 1.2);
}

.visual_design_page .bniobj .illust .illust_sketchbook,
.visual_design_page .bniobj .illust .illust_crayon-y {
  transition: transform 0.5s cubic-bezier(0.4, 0.7, 0.4, 1.2);
}

@keyframes butterflyFly {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(1);
  }

  15% {
    transform: translateY(-18px) translateX(12px) rotate(-8deg) scale(1.04);
  }

  30% {
    transform: translateY(-32px) translateX(-16px) rotate(10deg) scale(0.98);
  }

  45% {
    transform: translateY(-18px) translateX(18px) rotate(-12deg) scale(1.02);
  }

  60% {
    transform: translateY(0) translateX(-10px) rotate(8deg) scale(1.01);
  }

  75% {
    transform: translateY(12px) translateX(10px) rotate(-6deg) scale(1.03);
  }

  90% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(1);
  }

  100% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(1);
  }
}

aside {
  width: 1224px;
  height: 660px;
  background: #fff;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  /* raise aside stacking so it sits above footer interactive elements (e-mail button) */
  z-index: 0;
  border-radius: 50px;
  overflow: hidden;
  display: none;
  border: 4px solid #000000;
  /*   opacity: 0;
  visibility: hidden;
  pointer-events: none; */
}

aside.open,
aside.overlay-mode {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 300;
}

/* Overlay mode for illustpop: full-screen darkened background and horizontal swipe gallery */
aside.overlay-mode {
  /* overlay should sit above most UI (above footer/side elements) */
  z-index: 2100;
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
  transform: none;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.15);
  /* semi-transparent black */
  display: block;
  align-items: center;
  justify-content: center;
}

/* backdrop blur layer: covers full viewport and blurs underlying page without blurring gallery itself */
aside.overlay-mode::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  /* -webkit-backdrop-filter: blur(8px); */
  z-index: 90;
  /* below gallery which will be higher */
}

/* ensure gallery (illustpop) sits above the blur layer */
aside.overlay-mode ul>li.illustpop {
  z-index: 95 !important;
}

/* make aside ul li fill overlay, but keep transitions */
/* In overlay mode hide all list items except the illustpop item to avoid overlap */
aside.overlay-mode ul>li {
  display: none !important;
  pointer-events: none !important;
}

aside.overlay-mode ul>li.illustpop {
  display: flex !important;
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
}

.illust-gallery-wrap {
  /* fullscreen carousel container when aside.overlay-mode is active */
  width: 100vw;
  height: 100vh;
  margin: 0;
  /* overflow: visible; */
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illust-gallery {
  width: 100vw;
  height: 100%;
  overflow: visible;
  outline: none;
  display: block;
  justify-content: center;
  align-content: center;
}

/* caption that appears on image hover */
.illust-gallery {
  position: relative;
  /* make captions positionable inside gallery */
}

/* .illust-caption {
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
  transform-origin: center bottom;
  transform: translateY(6px);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 60;
  white-space: nowrap;
} */

.illust-caption.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* When gallery is opened as overlay, allow scaled images to overflow their container
   so they don't get clipped. Also ensure images can layer above neighbors. */
aside.overlay-mode .illust-gallery {
  overflow: visible;
}

.illust-caption {
  position: relative;
  left: 0;
  top: 300;
  color: #fff;
  background: transparent;
  display: flex;
  flex-direction: column;
  /* remove black box */
  padding: 0;
  /* no box padding; text sits freely under image */
  border-radius: 0;
  font-size: 14px;
  line-height: 1.1;
  pointer-events: none;
  transform-origin: center top;
  transform: translateY(6px);
  opacity: 0;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  z-index: 60;
  white-space: normal;
  /* allow wrapping / multi-line */
  text-align: center;
}

.illust-caption.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Ensure captions appended inside the gallery are absolutely positioned
   and centered relative to the image (JS sets left to image center). */
.illust-gallery .illust-caption {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateX(-50%) translateY(6px);
  z-index: 2200;
  pointer-events: none;
  white-space: normal;
  text-align: center;
  opacity: 0;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.illust-gallery .illust-track {
  /* track itself should allow children to overflow (so hover scale isn't clipped) */
  overflow: visible;
  /* keep layout as a horizontal flex container; scroll behavior is provided by the wrapper */
  display: flex;
  align-items: center;
}

/* runtime wrapper created by JS: this is the actual scroll container */
.illust-scroll-wrapper {
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.illust-track img {
  /* flex: 0 0 100vw; */
  width: 340px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: flex;
  margin-right: 64px;
  border-radius: 40px;
  border: 4px solid #fff;
}

/* In overlay-mode we let JS handle horizontal pointer gestures. Disable browser touch-action to avoid interference. */
.illust-gallery {
  touch-action: none;
}

/* small close button for overlay */
aside.overlay-mode .close-btn {
  position: fixed;
  right: 24px;
  top: 24px;
  z-index: 99999;
  /* ensure on top of other UI */
  width: 72px;
  /* larger hit area */
  height: 72px;
  padding: 0;
}

aside ul li {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgb(255, 255, 255);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

aside ul li div {
  display: flex;
}

/* overlay-only gallery adjustments were removed per user request */

aside ul li.on {
  opacity: 1;
  pointer-events: auto;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 72px;
  /* match larger hit area for non-overlay fallback */
  height: 72px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 1s cubic-bezier(0.4, 0.7, 0.4, 1.2);
  background: transparent;
  border: none;
}

.close-btn:hover,
.close-btn:focus {
  transform: rotate(180deg);
}

/* ensure the svg image itself doesn't steal pointer events; the button receives clicks */
.close-btn img {
  width: 48px;
  /* visible svg size */
  height: 48px;
  display: block;
  pointer-events: none;
  /* ensure button receives clicks */
}

button {
  background: transparent;
  border: none;
}

aside ul li .project_img {
  width: 434px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  display: flex;
}

aside ul li .project_img .pj-img {
  background-image: url(../assets/pj_img/studio_dragon_img.jpg);
  background-position: 0;
  background-repeat: no-repeat;
  object-fit: cover;
  width: 100%;
}

aside ul li:nth-child(3) .project_img .pj-img {
  background-image: url(../assets/pj_img/breadlee_img.jpg);
  background-position: 0;
  background-repeat: no-repeat;
  object-fit: cover;
  width: 100%;
}

aside ul li:nth-child(4) .project_img .pj-img {
  background-image: url(../assets/pj_img/mow_img.jpg);
  background-position: 0;
  background-repeat: no-repeat;
  object-fit: cover;
  width: 100%;
}

aside ul li:nth-child(5) .project_img .pj-img {
  background-image: url(../assets/pj_img/samsung_promo_img.jpg);
  background-position: 0;
  background-repeat: no-repeat;
  object-fit: cover;
  width: 100%;
}

aside ul li:nth-child(6) .project_img .pj-img {
  background-image: url(../assets/pj_img/vfun_login_img.jpg);
  background-position: 0;
  background-repeat: no-repeat;
  object-fit: cover;
  width: 100%;
}

aside ul li:nth-child(7) .project_img .pj-img {
  background-image: url(../assets/pj_img/lgplal_thera_house_img.jpg);
  background-position: 0;
  background-repeat: no-repeat;
  object-fit: cover;
  width: 100%;
}

aside ul li:nth-child(8) .project_img .pj-img {
  background-image: url(../assets/pj_img/banners_img.jpg);
  background-position: 0;
  background-repeat: no-repeat;
  object-fit: cover;
  width: 100%;
}

.project_txt {
  position: absolute;
  left: 434px;
  top: 0;
  margin: 44px 60px;
}

.inner,
.inner * {
  box-sizing: border-box;
}

.inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  align-self: stretch;
  flex-shrink: 0;
  height: 556px;
  position: relative;
}

.top {
  display: flex;
  flex-direction: column;
  gap: 54px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  height: 282px;
  position: relative;
}

.tit {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}

.uxui-design-personal-project {
  color: #afafaf;
  text-align: left;
  font-family: "-", sans-serif;
  font-size: 20px;
  font-weight: 400;
  position: relative;
  align-self: stretch;
}

.uxui-design-personal-project-span {
  font-family: "Pretendard-Bold", sans-serif;
  font-weight: 700;
}

.uxui-design-personal-project-span2 {
  font-family: "Pretendard-Regular", sans-serif;
}

.app {
  text-align: left;
  font-family: "-", sans-serif;
  font-size: 40px;
  font-weight: 400;
  position: relative;
  align-self: stretch;
}

.app-span {
  color: #000000;
  font-family: "Pretendard-Medium", sans-serif;
  font-weight: 500;
}

/* default .app-span2 style */
.app-span2 {
  color: #574daa;
  font-family: "Pretendard-Black", sans-serif;
  font-weight: 900;
}

/* fallback for any additional items keeps original color (per-li overrides follow) */

/* User-specified mappings only
/* li1: 스튜디오 드래곤 -> app-span2 color */
/* aside ul>li:first-child .app-span2 {
  color: #574DAA;
} */

/* li1: 스튜디오 드래곤 -> app-span2 color */
aside ul>li:nth-child(2) .app-span2 {
  padding-top: 12px;
  color: #574daa;
}

/* li2: 브래드리 -> app-span2 color */
aside ul>li:nth-child(3) .app-span2 {
  color: #ff9191;
}

/* li3: 국립세계문자박물관 -> app-span2 color */
aside ul>li:nth-child(4) .app-span2 {
  color: #ad968d;
}

/* li4: 삼성전자 -> app-span bold black + color */
aside ul>li:nth-child(5) .app-span {
  font-family: "Pretendard-Black", sans-serif;
  font-weight: 900;
  color: #575697;
}

aside ul>li:nth-child(5) .app-span2 {
  color: #000000;
  font-family: "Pretendard-Medium", sans-serif;
  font-weight: 500;
}

/* li5: VFUN -> app-span bold blue */
aside ul>li:nth-child(6) .app-span {
  font-family: "Pretendard-Black", sans-serif;
  font-weight: 900;
  color: #5846ce;
}

aside ul>li:nth-child(6) .app-span2 {
  color: #000000;
  font-family: "Pretendard-Medium", sans-serif;
  font-weight: 500;
}

/* li6: LGPla.L -> app-span red bold */
aside ul>li:nth-child(7) .app-span {
  font-family: "Pretendard-Black", sans-serif;
  font-weight: 900;
  color: #a61b1b;
}

aside ul>li:nth-child(7) .app-span2 {
  font-family: "Pretendard-Medium", sans-serif;
  font-weight: 500;
  color: #000000;
}

/* li7: 컨텐츠 배너 -> app-span green bold, app-span2 normal */
aside ul>li:nth-child(8) .app-span {
  font-family: "Pretendard-Black", sans-serif;
  font-weight: 900;
  color: #4d6d53;
}

aside ul>li:nth-child(8) .app-span2 {
  color: #000000;
  font-family: "Pretendard-Medium", sans-serif;
  font-weight: 500;
}

.txt {
  align-self: stretch;
  flex-shrink: 0;
  height: 180px;
  position: relative;
}

/* Defensive: prevent pointer cursor on non-interactive aside text/image elements
   so they don't look clickable and to reduce accidental activations. */
aside ul>li .app-span,
aside ul>li .app-span2,
aside ul>li .pop_bottom,
aside ul>li .pop_bottom * {
  cursor: default !important;
}

/* Ensure non-interactive aside labels do not capture pointer events that may hit
   overlapping footer anchors underneath. This sets pointer-events:none for
   decorative text nodes while still allowing text selection via the parent .txt_t
   which explicitly keeps pointer-events:auto above. We avoid applying this to
   anchor elements or .dir_btn so intended links remain clickable. */
aside ul>li .app-span,
aside ul>li .app-span2 {
  pointer-events: none !important;
}

/* Allow pointer cursor for actionable links inside dir_btn */
aside ul>li .dir_btn a {
  cursor: pointer !important;
}

.txt_t {
  color: #464646;
  text-align: left;
  font-family: "Pretendard-Medium", sans-serif;
  font-size: 18px;
  line-height: 150%;
  font-weight: 500;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 620px;
}

/* Ensure aside text blocks don't show pointer or behave like links */
aside ul>li .txt_t {
  cursor: default !important;
  pointer-events: auto;
  /* allow text selection if desired */
}

aside ul>li:nth-child(2) .txt_t {
  margin-top: -20px;
}

.pop_bottom {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
}

aside ul>li:nth-child(2) .pop_bottom .s_tit {
  padding-bottom: 18px;
}

aside ul>li:nth-child(2) .dir_btn {
  margin-left: 0;
}

.s_tit {
  width: 100px;
  color: #000000;
  text-align: left;
  font-family: "Pretendard-Bold", sans-serif;
  font-size: 16px;
  font-weight: 700;
  position: relative;
}

.s_txt {
  width: 500px;
  color: #5b5b5b;
  text-align: left;
  font-family: "Pretendard-Medium", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.dir_btn {
  padding-top: 30px;
  display: flex;
}

/* When an aside is open, only disable the main interactive content (horizontal wrapper / main)
   to prevent accidental activations underneath the aside. Keep header and side_menu interactive
   so users can still use the menu while an aside is visible. */
body.aside-open .horizontal-wrapper,
body.aside-open main,
body.aside-open .horizontal-scroll,
body.aside-open .audio-player-fixed {
  pointer-events: none !important;
  user-select: none !important;
}

/* ensure aside remains interactive and its internal links/buttons work */
body.aside-open aside {
  pointer-events: auto !important;
}

/* Make header and hamburger/side_menu appear above aside for interaction fidelity */
body.aside-open .site-header,
body.aside-open .hamburger,
body.aside-open .side_menu {
  z-index: 2200 !important;
}

/* keep .dir_btn anchors clickable inside aside even when global block is active */
body.aside-open aside .dir_btn a {
  pointer-events: auto !important;
  user-select: text !important;
}

/* Extra high-specificity rule to ensure dir_btn anchors remain interactive across browsers
   and even if parent elements have pointer-events disabled via global selectors. */
body.aside-open aside ul>li .dir_btn a.direct_plan,
body.aside-open aside ul>li .dir_btn a.direct_output {
  pointer-events: auto !important;
  -webkit-pointer-events: auto !important;
  user-select: text !important;
  cursor: pointer !important;
}

/* allow the contact/mailto link in the side menu to remain clickable even while aside is open */
body.aside-open .side_menu a[href^="mailto:"] {
  pointer-events: auto !important;
}

.direct_plan {
  margin-right: 20px;
}

.direct_plan,
.direct_output {
  width: 320px;
  height: 60px;
  border-radius: 24px;
  padding: 10px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid #000;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 기본 상태 */
.direct_plan {
  background: #ffffff;
  color: #000000;
}

.direct_output {
  background: #000000;
  color: #ffffff;
}

/* hover / focus */
.direct_plan:hover,
.direct_plan:focus {
  background: #4fb087;
  /* 초록감성 */
  color: #ffffff;
  border-color: #000000;
}

.direct_output:hover,
.direct_output:focus {
  background: #ff99a5;
  /* 핑크감성 */
  color: #000000;
  border-color: #000000;
}

.direct_plan.is-hover {
  background: #4fb087;
  color: #ffffff;
  border-color: #000000;
}

.direct_output.is-hover {
  background: #ff99a5;
  color: #000000;
  border-color: #000000;
}

.program {
  display: flex;
  align-items: center;
  position: relative;
}

.p-icons {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  position: relative;
}

.figma {
  border-radius: 10px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  position: relative;
  overflow: hidden;
  object-fit: cover;
  aspect-ratio: 1;
}

.ps {
  border-radius: 10px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  position: relative;
  overflow: hidden;
  object-fit: cover;
  aspect-ratio: 1;
}

.ai {
  border-radius: 10px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  position: relative;
  overflow: hidden;
  object-fit: cover;
  aspect-ratio: 1;
}

.pr {
  border-radius: 10px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  position: relative;
  overflow: hidden;
  object-fit: cover;
  aspect-ratio: 1;
}

.vscode {
  border-radius: 10px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  position: relative;
  overflow: hidden;
  object-fit: cover;
  aspect-ratio: 1;
}

/* menu (moved to css/common.css) */
/*
.hamburger {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #000;
  position: fixed;
  right: 40px;
  top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 30;
}
*/

/* .side_menu styles moved to css/common.css for reuse across pages */
/* See: css/common.css */
.hamburger span.bar {
  height: 4px;
  background: #000;
  display: block;
  margin: 0 auto;
  transform-origin: left;
  transition:
    transform 1s,
    background 1s;
}

.hamburger:hover span.bar:nth-child(2) {
  transform: scaleX(60%);
  transform-origin: left;
  transition: transform 1s;
}

/* Caption for illust overlay (safely appended) */
.illust-caption {
  /* fallback/fallback: when caption is positioned fixed (older rules), keep it visually consistent */
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(6px);
  z-index: 2200;
  pointer-events: none;
  color: #fff;
  text-align: center;
  padding: 0;
  border-radius: 0;
  font-size: 14px;
  backdrop-filter: none;
  opacity: 0;
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.illust-caption.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.illust-caption .title {
  font-weight: 600;
  display: block;
  line-height: 1.1;
  margin-bottom: 6px;
  font-size: 18px;
  /* as requested */
}

.illust-caption .year {
  opacity: 0.95;
  font-weight: 400;
  /* as requested */
  font-size: 14px;
  /* as requested */
  display: block;
}