@charset "UTF-8";
body {
  background-color: #101055;
  overflow-x: hidden;
  font-family: "DM Sans", sans-serif;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: auto;
  padding: 0 1rem;
  background-color: #333333;
}
header img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

.scroll-message {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  font-size: 40px;
  color: white;
  text-align: center;
  margin: 0 auto;
  font-weight: 600;
  line-height: 52.08px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  padding: 0 20px;
}

.bg-deep-blue {
  background-color: #101055;
}

.bg-blue {
  background-color: #3333FF;
}

.bg-white {
  background-color: #FFFFFF;
}

.text-white {
  color: #FFFFFF;
}

.text-orange {
  color: #FF9988;
}

.text-deep-blue {
  color: #101055;
}

.text-blue {
  color: #3333FF;
}

.text-dark {
  color: #000;
}

.text-purple {
  color: #77F;
}

.text-light-purple {
  color: #DDF;
}

/* scroll interactive */
.container {
  max-width: 1920px;
  margin: 0 auto;
}

.scroll-section {
  position: relative;
}

.canvas-caption {
  max-width: 1000px;
  margin: -24rem auto 0;
  padding: 0 1rem;
  font-size: 1.2rem;
  color: #888;
}

.main-message {
  font-size: 40px;
  color: white;
  opacity: 0;
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: center;
  margin: 0 auto;
  font-weight: 600;
  line-height: 52.08px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  padding: 0 20px;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
}

.text-lg {
  font-size: 60px;
  line-height: 150%;
}

.text-md {
  font-size: 50px;
  line-height: 150%;
}

.text-base {
  font-size: 40px;
  line-height: 150%;
}

.text-sm {
  font-size: 32px;
  line-height: 150%;
}

.text-xs {
  font-size: 28px;
  line-height: 150%;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.sticky-elem.main-message {
  margin-bottom: 0;
}

.sticky-elem {
  display: none;
  position: fixed;
  left: 0;
  width: 100%;
}

#show-scene-0 #scroll-section-0 .sticky-elem,
#show-scene-1 #scroll-section-1 .sticky-elem,
#show-scene-2 #scroll-section-2 .sticky-elem,
#show-scene-3 #scroll-section-3 .sticky-elem,
#show-scene-8 #scroll-section-8 .sticky-elem {
  display: block;
  will-change: transform, opacity;
}

.scroll-effect-end .sticky-elem {
  display: none !important;
}

.sticky-elem-canvas {
  top: 0;
  height: 100%;
}
.sticky-elem-canvas canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
}

.lottie-icon {
  margin: 0 auto;
}
.lottie-icon.eyes {
  width: 300px;
  height: 150px;
}
.lottie-icon.box {
  max-width: 1920px;
  width: 100%;
  font-size: 0;
  max-height: 675px;
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  background: white;
  opacity: 0;
  transition: 0.5s;
  height: 0;
}

.before-load .loading {
  opacity: 1;
  height: auto;
}

@keyframes loading-spin {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes loading-circle-ani {
  0% {
    stroke-dashoffset: 157;
  }
  75% {
    stroke-dashoffset: -147;
  }
  100% {
    stroke-dashoffset: -157;
  }
}
.loading-circle {
  width: 54px;
  height: 54px;
  animation: loading-spin 3s infinite;
}
.loading-circle circle {
  stroke: black;
  stroke-width: 4;
  stroke-dasharray: 157, 157;
  stroke-dashoffset: 0;
  fill: transparent;
  animation: loading-circle-ani 1s infinite;
}

/* candle */
#scroll-section-0 #dreams-question {
  margin-top: 10vh;
}
#scroll-section-0 #fifteen-years {
  top: 0;
  margin-top: 20vh;
}

/* card */
#scroll-section-2 .main-message {
  margin-top: 10vh;
}

/* section-4 한글즈 */
#scroll-section-5,
#scroll-section-6,
#scroll-section-7 {
  position: relative;
}

.container {
  position: relative;
  height: 100%;
}
.container-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.content-wrapper {
  position: relative;
  padding: 200px 0;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.section-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hangeul-text {
  position: relative;
  margin: 0 auto;
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: pre-line;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  text-align: center;
}
.hangeul-text.visible {
  opacity: 1;
}

.hangeul-character {
  transform-origin: center center;
  z-index: 1;
  height: auto;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.hangeul-character.visible {
  opacity: 1;
}

/* Animations */
@keyframes float1 {
  0% {
    transform: translateX(100%) translateY(100px);
  }
  50% {
    transform: translateX(100%) translateY(50px);
  }
  100% {
    transform: translateX(100%) translateY(100px);
  }
}
@keyframes float2 {
  0% {
    transform: translateX(-60%) translateY(-100px);
  }
  50% {
    transform: translateX(-60%) translateY(-50px);
  }
  100% {
    transform: translateX(-60%) translateY(-100px);
  }
}
@keyframes float3 {
  0% {
    transform: translateX(40%) translateY(-80px) rotate(0deg);
  }
  33% {
    transform: translateX(40%) translateY(-110px) rotate(3deg);
  }
  66% {
    transform: translateX(40%) translateY(-55px) rotate(-3deg);
  }
  100% {
    transform: translateX(40%) translateY(-80px) rotate(0deg);
  }
}
@keyframes float4 {
  0% {
    transform: translateX(-40%) translateY(-100px) rotate(0deg);
  }
  25% {
    transform: translateX(-40%) translateY(-145px) rotate(2deg);
  }
  75% {
    transform: translateX(-40%) translateY(-65px) rotate(-2deg);
  }
  100% {
    transform: translateX(-40%) translateY(-100px) rotate(0deg);
  }
}
/* Mobile animations */
@keyframes floatMobile1 {
  0% {
    transform: scale(0.5) translateY(0px);
  }
  50% {
    transform: scale(0.5) translateY(-40px);
  }
  100% {
    transform: scale(0.5) translateY(0px);
  }
}
@keyframes floatMobile2 {
  0% {
    transform: scale(0.5) translateY(0px);
  }
  50% {
    transform: scale(0.5) translateY(35px);
  }
  100% {
    transform: scale(0.5) translateY(0px);
  }
}
@keyframes floatMobile3 {
  0% {
    transform: scale(0.5) rotate(0deg);
  }
  33% {
    transform: scale(0.5) translateY(-30px) rotate(3deg);
  }
  66% {
    transform: scale(0.5) translateY(25px) rotate(-3deg);
  }
  100% {
    transform: scale(0.5) rotate(0deg);
  }
}
@keyframes floatMobile4 {
  0% {
    transform: scale(0.5) translateY(0px) rotate(0deg);
  }
  25% {
    transform: scale(0.5) translateY(-45px) rotate(2deg);
  }
  75% {
    transform: scale(0.5) translateY(35px) rotate(-2deg);
  }
  100% {
    transform: scale(0.5) translateY(0px) rotate(0deg);
  }
}
/* 춤추는 애니메이션 */
@keyframes dance5_1 {
  0%, 100% {
    transform: translateY(90px) translateX(40px) rotate(-2deg);
  }
  50% {
    transform: translateY(90px) translateX(70px) rotate(2deg);
  }
}
@keyframes dance5_2 {
  0%, 100% {
    transform: translateY(-110px) translateX(230px) rotate(2deg);
  }
  50% {
    transform: translateY(-90px) translateX(230px) rotate(-2deg);
  }
}
@keyframes dance5_3 {
  0%, 100% {
    transform: translateY(80px) translateX(130px) rotate(-2deg);
  }
  50% {
    transform: translateY(80px) translateX(100px) rotate(2deg);
  }
}
@keyframes dance5_4 {
  0%, 100% {
    transform: translateY(90px) translateX(35px) rotate(2deg);
  }
  50% {
    transform: translateY(90px) translateX(35px) rotate(-4deg);
  }
}
@keyframes dance5Mobile_1 {
  0%, 100% {
    transform: translateY(45px) translateX(20px) rotate(-2deg);
  }
  50% {
    transform: translateY(45px) translateX(35px) rotate(2deg);
  }
}
@keyframes dance5Mobile_2 {
  0%, 100% {
    transform: translateY(15px) translateX(-10px) rotate(2deg);
  }
  50% {
    transform: translateY(35px) translateX(-10px) rotate(-2deg);
  }
}
@keyframes dance5Mobile_3 {
  0%, 100% {
    transform: translateY(60px) translateX(35px) rotate(-2deg);
  }
  50% {
    transform: translateY(80px) translateX(30px) rotate(2deg);
  }
}
@keyframes dance5Mobile_4 {
  0%, 100% {
    transform: translateY(45px) translateX(-10px) rotate(2deg);
  }
  50% {
    transform: translateY(45px) translateX(-10px) rotate(-4deg);
  }
}
#scroll-section-2 .main-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
#scroll-section-2 .asterisk-icon {
  width: 42px;
  margin: 0;
}
#scroll-section-2 #AND-25 {
  top: 0;
}
#scroll-section-2 #future-teaser {
  margin-top: 0;
}

#show-scene-4,
#show-scene-5,
#show-scene-6,
#show-scene-7,
#show-scene-8 {
  background-color: #fff;
}

#scroll-section-4 {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
#scroll-section-4 .container {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
#scroll-section-4 .content-wrapper {
  flex: 1;
  display: flex;
  padding: 0;
}
#scroll-section-4 .section-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
#scroll-section-4 .hangeul-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 1;
}
#scroll-section-4 .hangeul-text .title {
  font-size: 60px;
}
#scroll-section-4 .hangeul-text p {
  text-align: center;
  margin: 0;
}
#scroll-section-4 .hangeul-characters {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  transform: scale(0.25);
  transform-origin: bottom right; /* 이 줄을 추가합니다 */
  position: fixed;
}

#scroll-section-5 .content-wrapper {
  gap: 50vh;
}
#scroll-section-5 .hangeul-text {
  max-width: 550px;
  gap: 5px;
  max-width: 570px;
}
#scroll-section-5 .section-item:nth-child(1) .hangeul-character {
  animation: float1 4s ease-in-out infinite;
}
#scroll-section-5 .section-item:nth-child(2) .hangeul-character {
  animation: float2 3s ease-in-out infinite;
}
#scroll-section-5 .section-item:nth-child(3) .hangeul-character {
  animation: float3 4s ease-in-out infinite;
}
#scroll-section-5 .section-item:nth-child(4) .hangeul-character {
  animation: float4 3s ease-in-out infinite;
}

#scroll-section-6 {
  background-image: url(../image/bg_character.png);
  background-size: 1920px auto;
  background-repeat: no-repeat;
  background-position: bottom;
}
#scroll-section-6 .hangeul-text {
  margin-top: 100px;
  max-width: 650px;
}
#scroll-section-6 .hangeul-characters {
  display: flex;
  justify-content: center;
  margin-top: 150px;
}
#scroll-section-6 .hangeul-character {
  transform-origin: center center;
  height: auto;
  width: auto;
}
#scroll-section-6 .hangeul-character:nth-child(1) {
  animation: dance5_1 3s ease-in-out infinite;
}
#scroll-section-6 .hangeul-character:nth-child(2) {
  animation: dance5_2 3.5s ease-in-out infinite;
}
#scroll-section-6 .hangeul-character:nth-child(3) {
  animation: dance5_3 4s ease-in-out infinite;
}
#scroll-section-6 .hangeul-character:nth-child(4) {
  animation: dance5_4 3.8s ease-in-out infinite;
}

#scroll-section-7 {
  height: 100vh;
}
#scroll-section-7 .section-item {
  gap: 100px;
}

#scroll-section-9 .content-wrapper {
  padding: 200px 0 0 0;
}
#scroll-section-9 .benefits-list {
  margin-top: 120px;
  gap: 50px;
  display: flex;
  flex-direction: column;
}

#scroll-section-10 {
  margin: 0 auto;
}
#scroll-section-10 .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  justify-content: center;
}
#scroll-section-10 .finder-text {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 0 20px;
}
#scroll-section-10 .balloon {
  width: auto;
  height: 250px;
  margin-bottom: 40px;
}
#scroll-section-10 .asterisk-icon {
  width: 60px;
}
#scroll-section-10 .number-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 80px 40px;
  width: 100%;
  padding: 40px; /* padding 40px로 수정 */
  margin: 120px 0; /* 상하 margin 160px 추가 */
}
#scroll-section-10 .service-image {
  width: 100%; /* 이미지 크기 50%로 조절 (2배 크기 조정) */
  height: auto;
  margin: 20px 0; /* 이미지 상하 여백 추가 */
}
#scroll-section-10 .number-box {
  background-color: #DDF;
  border-radius: 10px;
  display: flex;
  align-items: flex-start; /* center에서 flex-start로 변경 */
  justify-content: flex-start; /* center에서 flex-start로 변경 */
  color: #101055;
  font-weight: 600;
  box-sizing: border-box;
}
#scroll-section-10 .number-box a {
  padding: 40px;
  display: block;
  width: 100%;
  height: 100%;
}
#scroll-section-10 .service-title {
  font-size: 28px;
  font-weight: 800;
  line-height: normal;
  color: #101055;
}
#scroll-section-10 .service-description {
  font-size: 24px;
  font-weight: 500;
  color: #101055;
}
#scroll-section-10 .footer-note {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

#scroll-section-11 .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  justify-content: center;
  padding: 150px 0;
}
#scroll-section-11 .video-player-wrapper {
  margin-top: 50px;
}
#scroll-section-11 .video-container {
  position: relative;
  height: 0;
  width: 100%;
  padding-bottom: 56.25%;
}
#scroll-section-11 .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#scroll-section-12 .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  justify-content: center;
}
#scroll-section-12 .logo-wrapper {
  margin-bottom: 200px;
}
#scroll-section-12 .logo-icon {
  width: 150px;
}
#scroll-section-12 .comment-icon {
  width: 85px;
}
#scroll-section-12 .anniversary-message {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#scroll-section-12 .video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
#scroll-section-12 .comment-section {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
#scroll-section-12 .comment-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  max-width: 1200px;
}

/* 반응형 조정 */
@media (max-width: 768px) {
  .sticky-elem-canvas {
    overflow: hidden;
  }
  .content-wrapper {
    padding: 100px 0;
  }
  .section-item {
    gap: 20px;
    padding: 0 20px;
  }
  .content-wrapper {
    gap: 0;
  }
  .main-message {
    font-size: calc(16px + 2vw);
    padding: 0 20px;
  }
  .main-message .scroll-message {
    font-size: calc(16px + 2vw);
    padding: 0 20px;
  }
  .text-lg {
    font-size: 45px;
    line-height: 60px;
  }
  .text-md {
    font-size: 35px;
    line-height: 50px; /* 35px * 1.3 */
  }
  .text-lg {
    font-size: 32px;
    line-height: 150%;
  }
  .text-md {
    font-size: 28px;
    line-height: 150%;
  }
  .text-base {
    font-size: 24px;
    line-height: 150%;
  }
  .text-sm {
    font-size: 20px;
    line-height: 150%;
  }
  .text-xs {
    font-size: 18px;
    line-height: 150%;
  }
  #scroll-section-2 .main-message {
    gap: 20px;
  }
  #scroll-section-2 .asterisk-icon {
    margin: 0;
    margin-top: 10px;
  }
  #scroll-section-5 {
    /* 모바일에서 각각 다른 애니메이션 적용 */
  }
  #scroll-section-5 .content-wrapper {
    gap: 100px;
  }
  #scroll-section-5 .section-item:nth-child(1) .hangeul-character {
    animation: floatMobile1 4s ease-in-out infinite;
  }
  #scroll-section-5 .section-item:nth-child(2) .hangeul-character {
    animation: floatMobile2 3s ease-in-out infinite;
  }
  #scroll-section-5 .section-item:nth-child(3) .hangeul-character {
    animation: floatMobile3 4s ease-in-out infinite;
  }
  #scroll-section-5 .section-item:nth-child(4) .hangeul-character {
    animation: floatMobile4 3s ease-in-out infinite;
  }
  #scroll-section-6 .hangeul-characters {
    flex-wrap: wrap;
    gap: 15px;
    margin: 0 auto;
    max-width: 500px;
    padding: 0 20px;
  }
  #scroll-section-6 .hangeul-character {
    width: calc(50% - 20px);
  }
  #scroll-section-6 .hangeul-character:nth-child(1) {
    animation: dance5Mobile_1 3s ease-in-out infinite;
  }
  #scroll-section-6 .hangeul-character:nth-child(2) {
    animation: dance5Mobile_2 3.5s ease-in-out infinite;
  }
  #scroll-section-6 .hangeul-character:nth-child(3) {
    animation: dance5Mobile_3 4s ease-in-out infinite;
  }
  #scroll-section-6 .hangeul-character:nth-child(4) {
    animation: dance5Mobile_4 3.8s ease-in-out infinite;
  }
  #scroll-section-10 .number-grid {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    margin: 80px 0; /* 모바일에서는 margin 줄임 */
    padding: 20px; /* 모바일에서는 padding 줄임 */
  }
  #scroll-section-10 .number-box a {
    padding: 20px;
  }
}

/*# sourceMappingURL=main.css.map */
