/*** font ***/
@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Noto+Sans+KR&family=Orbitron:wght@700&display=swap');



* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Noto Sans CJK KR', sans-serif;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  
}





.content222 {
  position: fixed;
  /* 화면에 고정 */
  bottom: 0;
  /* 하단에 위치 */
  left: 0;
  width: 100%;
  /* 가로 전체 차지 */
  background: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  padding: 1.0vw;
  /* 패딩도 비율로 */
  font-size: clamp(8px, 0.6vw, 14px);
  z-index: 10;
}



#myBtn {
  width: 200px;
  font-size: 18px;
  padding: 10px;
  border: none;
  background: #000;
  color: #fff;
  cursor: pointer;
}

#myBtn:hover {
  background: #ddd;
  color: black;
}

#header {
  text-align: center;
  color: #000000;
  /* 글자 보이게 */
  padding: 10px;
  display: flex;
  font-size: 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;

  /* ✨ 글라스 효과 스타일 */
  background: rgba(0, 0, 0, 0.2);
  /* 밝은 반투명 배경 */
  backdrop-filter: blur(10px);
  /* 흐림 효과 */
  -webkit-backdrop-filter: blur(10px);
  /* 사파리 대응 */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  /* 경계선 */
}

#header img {
  margin-left: 20px;
  width: clamp(150px, 20vw, 250px);
  /* 최소 120px, 최대 250px */
  /* 로고 이미지의 너비 조정 */
  margin-right: 15px;
  /* 로고와 텍스트 사이의 간격을 설정합니다. */
  z-index: 3;
  /* 다른 요소 위에 표시합니다. */
}


.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu img {
  width: 10px;
  /* 로고 이미지의 너비 조정 */
  margin-right: 0px;
  /* 로고와 텍스트 사이의 간격을 설정합니다. */
}

.navbar {
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0);
}

.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  z-index: 1000;
  /* 다른 요소 위에 표시합니다. */
}

.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  z-index: 1000;
  /* 다른 요소 위에 표시합니다. */
}

.sidebar a {
  padding: 30px 8px 8px 30px;
  text-decoration: none;
  font-size: 1.2em;
  color: #818181;
  display: block;
  transition: 0.3s;
  line-height: 130%;
  z-index: 1000;
}

.sidebar a:hover {
  color: #f1f1f1;
  z-index: 1000;
}

.sidebar .closebtn {
  position: absolute;
  top: 45px;
  right: 20px;
  font-size: 40px;
  margin-left: 40px;
}

.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0);
  color: white;
  padding: 10px 15px;
  border: none;
}

.openbtn:hover {
  background-color: #000000;
  color: rgb(255, 217, 0);
}

#main {
  transition: margin-left .5s;
  padding: 16px;
  z-index: 3;
  /* 다른 요소 위에 표시합니다. */
}

/*************************************************************************************************/

h3 {
  color: #ffcc00; /* 밝은 오렌지 (기본값), 더 밝게 하려면 #FFB347 등도 가능 */
  margin: 0 auto;
  padding: 0 24px; /* 좌우 여백: 화면이 작아져도 유지됨 */
  max-width: 1600px; /* 글이 너무 길어지지 않도록 폭 제한 */
  box-sizing: border-box;
  text-align: center; /* 가운데 정렬 원할 경우 */
  font-weight: 900;
}

/* 화면 가로가 1200px 이상일 때 */
@media (min-width: 1200px) {
  h3 {
    font-size: 2.2rem; /* 더 크게 */
  }
}



/* 화면 전체 중앙 정렬 */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;       /* 수평 중앙 정렬 유지 */
  justify-content: flex-start; /* 수직 방향 정렬을 '위쪽'으로 */
  min-height: 100vh;
  padding-top: 120px;         /* 원하는 만큼 상단 여백을 줍니다 */
  box-sizing: border-box;
}

.container2 {
  display: flex;
  flex-direction: column;
  align-items: center;       /* 수평 중앙 정렬 유지 */
  justify-content: flex-start; /* 수직 방향 정렬을 '위쪽'으로 */
   
  padding-top: 20px;         /* 원하는 만큼 상단 여백을 줍니다 */
  box-sizing: border-box;
}

.container3 {
  display: flex;
  flex-direction: column;
  align-items: center;       /* 수평 중앙 정렬 유지 */
  justify-content: flex-start; /* 수직 방향 정렬을 '위쪽'으로 */
  
  padding-top: 20px;         /* 원하는 만큼 상단 여백을 줍니다 */
  box-sizing: border-box;
}


.container p, .container2 p, .container3 p {
  color: #60e5f9;
  margin-left: 40px;
  margin-right: 40px;
}

/* 이미지 */
.top-image {
  max-width: 500px;
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
  opacity: 0;
  transform: scale(0.2);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 1.0s ease;
}

.top-image.visible {
  opacity: 1;
  transform: scale(1);
}

.top-image img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.down-image {
  max-width: 500px;
  width: 100%;
  text-align: center;
  margin-bottom: 40px; 
}

.down-image img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* 메뉴 그룹 */
.menu-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  /* 자동 줄바꿈 유도 */
  gap: 10px;
  width: 100%;
  max-width: 70vw;
  /* 화면 너비의 90% */
  margin: 0 auto;
  /* 가운데 정렬 */
  box-sizing: border-box;
  align-items: stretch;
  /* 또는 center */
}

.menu-btn {
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid #ffffff;
  font-size: clamp(12px, 1.0vw, 14px);
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
  transition: 0.3s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  /* 밑줄 제거 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-btn:hover {
  color: #14afaf;
  box-shadow: 0 0 12px rgba(0, 255, 255, 1);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}





/*************************************************************************************************/


/* 반응형 조정 */
@media (max-width: 1024px) {

  .top-image {
    min-width: 200px;
    width: 100%;
    text-align: center;
  }

  .top-image img {
    max-width: 50%;
    height: auto;
    display: inline-block;
  }

}

@media (max-width: 1200px) {

  .container h1 {
    font-weight: 900;
    color: #ffffff;
  }

}

@media (max-width: 600px) {
  .menu-group {
    grid-template-columns: repeat(2, 1fr);
    /* 더 작으면 2개씩 */
  }
}

@media (min-width: 1920px) {

  .title1 {
    font-size: 280px;
  }

  .title2 {
    font-size: 50px;
    line-height: 1.0;
    /* 또는 px 단위로 조절 가능 */
  }

  .copy {
    font-size: 24px;
  }

  .icon {
    width: 400px;
    /* 원하는 크기로 조절하세요 */
    height: auto;
    opacity: 50%;
  }

}

@media (min-width: 1024px) {

  .container p {
    margin-left: 25vw;
    margin-right: 25vw;
  }
}

@media screen and (min-width: 1200px) {
  .container h1 {
    font-family: 'Inter', sans-serif;
    font-size: 80px;
    font-weight: 900;
    color: #00fde0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
}


/***************************************************************************************************/

/**********************************************************************************/

/***************************************************************************/
/***************************************************************************/


/* 비디오 백그라운드 */
.video-background {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  z-index: -1;
  /* 콘텐츠 뒤로 보내기 */
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100vw;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  filter: brightness(0.65);
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  /* 처음엔 투명 */
  transition: background 0.3s ease;
  z-index: 1;
}

/***************************************************************************/
/***************************************************************************/

.line-wrapper {
  position: relative;
  width: 2px;
  height: 70px;
  margin: 20px auto;
  /* 중앙 정렬용 */
}

.base-line {
  position: absolute;
  width: 2px;
  height: 100%;
  background-color: white;
}

.highlight-line {
  position: absolute;
  width: 6px;
  height: 4px;
  background-color: white;
  left: 4px;
  /* 가운데 정렬되도록 3px 가운데 맞추기 */
  animation: slideDown 1.5s linear infinite;
}

.highlight-line2 {
  position: absolute;
  width: 6px;
  height: 4px;
  background-color: white;
  left: -8px;
  /* 가운데 정렬되도록 3px 가운데 맞추기 */
  animation: slideDown 1.5s linear infinite;
}

@keyframes slideDown {
  0% {
    top: 0;
    opacity: 1;
  }

  90% {
    top: 100%;
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/**********************************************************************/
.retrofit-title {
  display: flex;
  gap: 2px;
  /* 글자 사이 약간의 간격 */
}


.retrofit-title span {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInSpring 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  display: inline-block;
}

/* 각각 시간차 적용 */
/* 각각 시간차 적용 */
.retrofit-title span:nth-child(1) { animation-delay: 0s; }
.retrofit-title span:nth-child(2) { animation-delay: 0.05s; }
.retrofit-title span:nth-child(3) { animation-delay: 0.1s; }
.retrofit-title span:nth-child(4) { animation-delay: 0.15s; }
.retrofit-title span:nth-child(5) { animation-delay: 0.2s; }
.retrofit-title span:nth-child(6) { animation-delay: 0.25s; }
.retrofit-title span:nth-child(7) { animation-delay: 0.3s; }
.retrofit-title span:nth-child(8) { animation-delay: 0.35s; }



@keyframes slideInSpring {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }

  60% {
    opacity: 0.5;
    transform: translateX(-15px);
  }

  80% {
    opacity: 0.8;
    transform: translateX(8px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

#myVideo {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  /* 화면 채우되 비율 유지 */
  z-index: -1;
  /* 필요 시 다른 요소 뒤로 */
}

.amazingslider-wrapper p,
.amazingslider-wrapper2 p,
.amazingslider-wrapper3 p,
.amazingslider-wrapper4 p,
.amazingslider-wrapper5 p,
.amazingslider-wrapper6 p {
  color: #fff;
  margin-left: 20px;
  margin-right: 20px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
}

.kr {
  color: white;
}

.text-block p {
  width: 100%;
  max-width: 1000px;
  padding: 0 20px 0 20px;
  margin: 0 auto 40px auto;
  margin: 0 auto;
}

.image-wrapper {
  position: relative;
  display: inline-block;
  width: 300px; /* 원하는 크기 */
  height: 300px;
}

.section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-sizing: border-box;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  animation: rotateOrbit 4s linear infinite;
  pointer-events: none; /* 클릭 방지 */
}

/* 바깥 원 궤도 (더 크게) */
.orbit.outer {
  width: 340px;  /* 300px + 20px 여유 * 2 */
  height: 340px;
  animation-duration: 3s; /* 느리게 회전 */
}

.orbit.outer2 {
  width: 360px;  /* 300px + 20px 여유 * 2 */
  height: 360px;
  animation-duration: 2s; /* 느리게 회전 */
}

/* 안쪽 원 궤도 (기존 이미지 크기) */
.orbit.inner {
  width: 300px;
  height: 300px;
}

.dot1 {
  position: absolute;
  top: 0;
  left: 50%;
  width: 16px;
  height: 16px;
  background-color: rgb(255, 204, 2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(3px);
}


@keyframes rotateOrbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(720deg);
  }
}

.dot2 {
  position: absolute;
  top: 0;
  left: 50%;
  width: 12px;
  height: 12px;
  background-color: rgb(255, 166, 0);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(3px);
  animation: trailRotate 3s linear infinite;
}

.dot3 {
  position: absolute;
  top: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  background-color: rgb(255, 251, 0);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(3px);
  animation: trailRotate 3s linear infinite;
}




.section-image2 {
  display: flex;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0; /* 이미지 자체에 margin 제거 */
  object-fit: cover;
  box-sizing: border-box;
 
}



.in {
    margin-left: 20px;
    margin-right: 20px;
    align-items: left;
    z-index: 50;
}

.video-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16 / 9; /* 16:9 비율 유지 */
}


.video-footer {
  width: 100%;
  height: 100%;
  position: relative;
}

.footer-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 80px 0 0 80px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  margin: 0 20px 0 40px;
}

@media (max-width: 1200px) {
  .footer-video {
  
  border-radius: 40px 0 0 40px;
  
  margin: 0 20px 0 20px;
}
}

@media (min-width: 1920px) {
  .footer-video {
  
  border-radius: 200px 0 0 200px;
  
  margin: 0 100px 0 100px;
}
}





.video-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #00fde0;
  text-align: center;
  z-index: 2;
  pointer-events: none;
  
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.main-title {
  font-size: clamp(1.4rem, 6vw, 5rem);
  font-weight: 900;
}

.sub-title {
  font-size: clamp(0.8rem, 2vw, 1.8rem);
  font-weight: 600;
  color: #ffcc00;
}
.sub-title2 {
  font-size: clamp(0.6rem, 1.6vw, 1.4rem);
  font-weight: 400;
  color: #ffffff;
}


.scroll-box {
  width: calc(100% - 40px);
  max-width: 1000px;
  height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px;
  background-color: #000000;
  border: 2px solid #838383;
  border-radius: 20px 0 0 20px;
  font-family: 'Noto Sans CJK KR', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 0 auto;      /* 좌우 자동 마진으로 가로 중앙 배치 */
  box-sizing: border-box;
  color: #ffcc00;

  /* 스크롤바 스타일 */
  scrollbar-width: thin;
  scrollbar-color: rgb(255, 1, 128) transparent;

  transition: background-color 0.05s ease;
}

/* 깜빡임 애니메이션 정의 */
@keyframes flash-bg {
  0%, 100% { background-color: black; }
  25%, 75% { background-color: white; }
  50% { background-color: black; }
}

/* 마우스 오버 시 애니메이션 실행 */
.scroll-box:hover {
  animation: flash-bg 0.8s ease forwards; /* 2번 깜빡임 (화이트 깜빡임 2번) */
  
}

.scroll-box .fa-cog {
  color: #838383;
  font-size: 24px;
  transition: all 0.3s ease;
}

.scroll-box:hover .fa-cog {
  color: orange;
  font-size: 36px;
}

.scroll-box h2{
   color: #fff;
   text-align: center;
   
}

.scroll-box h4{
   color: #01eeff;
}

.scroll-box p{
   line-height: 30px;
   padding-left: 30px;
}


@media (max-width: 1000px) {
  .scroll-box p{
   font-size: 60%;
   line-height: 20px;
}
}

/* Chrome, Edge, Safari 전용 */
.scroll-box::-webkit-scrollbar {
  width: 4px;                         /* 스크롤바의 너비 */
}

.scroll-box::-webkit-scrollbar-track {
  background: transparent;            /* 트랙 배경 투명 */
}

.scroll-box::-webkit-scrollbar-thumb {
  background-color: hotpink;          /* 스크롤 손잡이 색상 */
  border-radius: 10px;                /* 둥근 모서리 */
}


@media (max-width: 768px) {
  .scroll-box {
    height: 300px;
    padding: 16px;
    font-size: 0.95rem;
  }
}





