/*** 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;

}



.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: #fff;
  /* 글자 보이게 */
  padding: 10px;
  display: flex;
  font-size: 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;

  /* ✨ 글라스 효과 스타일 */
  background: rgba(7, 107, 141, 0.1);
  /* 밝은 반투명 배경 */
  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;
  /* 다른 요소 위에 표시합니다. */
}




.container-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
  /* 너무 꽉 차는 걸 방지 */

  z-index: 3; /* 영상 위 */
}



.container {
  width: 100%;
  max-width: 600px;
  min-width: 280px;
  text-align: center;
  z-index: 1;
}


.container img {
  width: 100%;
  height: auto;
  border-radius: 10px 10px 0 0;
  display: block;
  /* 이미지 아래 여백 제거 */
}

.content {
  background: rgba(20, 1, 147, 0.3);
  color: #ffffff;
  width: 100%;
  border-radius: 0 0 10px 10px;
  padding: 2%;
  line-height: 1.4em;
  font-size: clamp(14px, 2vw, 18px);
  /* 반응형 글씨 */

  /* 글라스 효과 */
  backdrop-filter: blur(10px);
  /* 블러 효과 */
  -webkit-backdrop-filter: blur(10px);
  /* 사파리 대응 */
  border: 1px solid rgba(255, 255, 255, 0.7);
  /* 은은한 테두리 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  /* 부드러운 그림자 */
}

 

.icons {
  display: flex;
  flex-wrap: wrap;
  /* ✅ 줄바꿈 허용 */
  justify-content: center;
  /* 가로 중앙 정렬 */
  gap: 15px;
  /* 아이콘 간 간격 */
  margin-top: 20px;
  max-width: 100%;
  /* 필요 시 제한 */
}

.icons img {
  width: 50px;
  /* 아이콘 크기 설정 */
  flex: 1 1 calc(25% - 15px);
  /* ✅ 한 줄에 4개 (gap 고려) */
  max-width: 50px;
  /* 아이콘 크기 제한 */
}



/***************************************************************************/
/*****************************************************************************/
.circle-button-wrapper {
  position: absolute;
  /* 또는 fixed, 필요에 따라 선택 */
  top: 50%;
  margin-left: 15px;
  transform: translateY(-50%);
  z-index: 20;
}

.circle-arrow-btn {
  width: 30px;
  height: 60px;
  border-radius: 10px;

  /* 글라스 효과 핵심 */
  background: rgba(255, 0, 0, 0.5); /* 투명한 배경 */
  backdrop-filter: blur(5px);         /* 배경 흐림 */
  -webkit-backdrop-filter: blur(5px); /* Safari 지원 */
  border: 1px solid rgba(255, 255, 255, 0.3); /* 은은한 테두리 */

  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.circle-arrow-btn:hover {
  background-color: hsl(195, 100%, 26%);
}

.circle-button-wrapper2 {
  position: absolute;
  /* 또는 fixed */
  top: 50%;
  right: 15px;
  /* 오른쪽 여백 */
  transform: translateY(-50%);
  z-index: 20;
}

.circle-arrow-btn2 {
  width: 30px;
  height: 60px;
  border-radius: 10px;

  /* 글라스 효과 핵심 */
  background: rgba(255, 0, 0, 0.5); /* 투명한 배경 */
  backdrop-filter: blur(5px);         /* 배경 흐림 */
  -webkit-backdrop-filter: blur(5px); /* Safari 지원 */
  border: 1px solid rgba(255, 255, 255, 0.3); /* 은은한 테두리 */

  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  
}

.circle-arrow-btn2:hover {
  background-color: hsl(195, 100%, 26%);
}

.circle-arrow-btn svg,
.circle-arrow-btn2 svg {
  width: 24px;
  height: 24px;
}

@media screen and (min-width: 1200px) {
  .circle-arrow-btn,
  .circle-arrow-btn2 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
  }
}

@media screen and (max-width: 1200px) {
  .content222 {
    display: none;
  }
}

/***************************************************************************/
/***************************************************************************/


/* 비디오 백그라운드 */
.video-background {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  z-index: 0;
  /* 콘텐츠 뒤로 보내기 */
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100vw;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/***************************************************************************/
/***************************************************************************/
.over {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
  box-sizing: border-box;

  /* 애니메이션 추가 */
  animation: floatY 1.5s ease-in-out infinite;
}

.over img {
  width: 100%;
  height: auto;
  display: block;
}

/* 위아래로 부드럽게 움직이는 애니메이션 */
@keyframes floatY {

  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, calc(-50% + 20px));
  }
}

/***************************************************************************/
/***************************************************************************/
.over2 {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
  box-sizing: border-box;

  /* 애니메이션 추가 */
  animation: floatY2 3s ease-in-out infinite;
}

.over2 img {
  width: 100%;
  height: auto;
  display: block;
}

/* 위아래로 부드럽게 움직이는 애니메이션 */
@keyframes floatY2 {

  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  70% {
    transform: translate(-50%, calc(-50% - 30px));
  }
}

/***********************************************************************/

.content h2 {
  animation: springUp 1s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

@keyframes springUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  50% {
    opacity: 1;
    transform: translateY(-15px); /* 위로 튀는 피크 */
  }
  70% {
    opacity: 0.8;
    transform: translateY(8px);   /* 다시 아래로 */
  }
  85% {
    opacity: 0.4;
    transform: translateY(-4px);  /* 살짝 위 */
  }
  100% {
    opacity: 1;
    transform: translateY(0);     /* 제자리 */
  }
}



