/*** 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: 100vh;
  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(19, 178, 251, 0.0);
  /* 밝은 반투명 배경 */
  backdrop-filter: blur(20px);
  /* 흐림 효과 */
  -webkit-backdrop-filter: blur(20px);
  /* 사파리 대응 */
  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;
  /* 다른 요소 위에 표시합니다. */
}

/*************************************************************************************************/


/* 화면 전체 중앙 정렬 */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;

}

.container 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: 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%);
  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-wrapper42 p,
.amazingslider-wrapper43 p {
  color: #ffffff;
  margin-left: 20px;
  margin-right: 20px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
}


.amazingslider-wrapper44 p{
  color: #fff200;
  margin-left: 20px;
  margin-right: 20px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
}

.heart-container {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20vh; /* 높이도 뷰포트 기반으로 */
  background-color: transparent;
}

.heart-3d {
  font-size: clamp(30px, 8vw, 100px); /* 반응형 크기 조정 */
  animation: spinY 4s linear infinite;
  transform-style: preserve-3d;
}

.heart-container2 {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20vh; /* 높이도 뷰포트 기반으로 */
  background-color: transparent;
}

.heart-3d2 {
  font-size: clamp(30px, 8vw, 100px); /* 반응형 크기 조정 */
  animation: spinY 4s linear infinite;
  transform-style: preserve-3d;
}

@keyframes spinY {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

/*********************************************************************************/

.amazingslider-wrapper46 p,
.amazingslider-wrapper47 p,
.amazingslider-wrapper48 p {
  color: #fff;
  margin-left: 20px;
  margin-right: 20px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
}


