/*** 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;
  font-size: 1em;  
  overflow-x: hidden;
}

#myVideo {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover; /* 화면 채우되 비율 유지 */
  z-index: -1; /* 필요 시 다른 요소 뒤로 */
}

.content {
  position: fixed;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  width: 100%;
  padding: 20px;
}

@media (max-width: 768px) {
  .content {
    font-size: 12px; /* 작아질 텍스트 크기를 지정합니다. */
  }
}

#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;
  background: rgba(0, 0, 0, 0.3);
  color: rgba(0, 0, 0, 0); /* 글자 색상을 변경합니다. */
  padding: 10px;
  font-size: 16px;
  display: flex; /* 로고와 텍스트를 가로로 나란히 배치하기 위해 flex를 사용합니다. */
  font-size: 16px;
  position: fixed; /* 고정 위치 요소로 설정합니다. */
  top: 0; /* 화면 상단에 배치합니다. */
  left: 0; /* 화면 좌측에 배치합니다. */
  right: 0;
  z-index: 3; /* 다른 요소 위에 표시합니다. */
  backdrop-filter: blur(6px); /* 블러 효과 */
  -webkit-backdrop-filter: blur(6px); /* 사파리 지원 */
}

#header img {
  margin-left: 20px;
  width: clamp(150px, 20vw, 250px); /* 최소 120px, 최대 250px */
  margin-right: 50px; /* 로고와 텍스트 사이의 간격을 설정합니다. */
  z-index: 3; /* 다른 요소 위에 표시합니다. */
}


.menu {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.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;
}

.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 1.0);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  z-index: 4; /* 다른 요소 위에 표시합니다. */
 }

.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: 3;
}

.sidebar a:hover {
  color: #f1f1f1;
  z-index: 3;
}

.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; /* 다른 요소 위에 표시합니다. */
}

/* Center website */
.main3 {
  max-width: 1280px;
  margin: auto;
  z-index: 4; 
}

h1 {
  font-size: 50px;
  word-break: break-all;
}

.row {
  margin: 10px -10px;
  margin-left: 150px;
  z-index: 4;
}

/* Add padding BETWEEN each column */
.row,
.row > .column {
  padding: 5px;
  z-index: 4;
}

/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 33.33%;
  display: none; /* Hide all elements by default */
}

/* Clear floats after rows */ 
.row:after {
  content: "";
  display: table;
  clear: both;
  z-index: 4;
}

/* Content */
.content3 {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px); /* 배경 흐리게 만들기 */
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1); /* 약간의 그림자 추가 */
  padding: 4px;
  display:block;
  border-radius: 16px; /* 이미지의 모서리를 10px로 라운드 처리 */
  text-align: center; /* 가로 중앙 정렬 설정 */
  color: rgb(255, 255, 255); /* 글자 색상을 흰색(white)으로 설정 */
  z-index: 4;  
}



.content3 img {
  
  border-radius: 14px; /* 이미지의 모서리를 10px로 라운드 처리 */
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
  z-index: 4;
  
}

/* Style the buttons */
.btn-container {
  position: fixed;
  top: 45%;
  left: 30px; /* 왼쪽 여백 설정 */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column; /* 버튼을 세로 정렬 */
  gap: 10px; /* 버튼 간격 */
  z-index: 2; /* 다른 요소 위에 배치 */
}

.btn {
  background: linear-gradient(135deg, #f7f8fa, #e7e9ec);
  border: 2px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: #333;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Pretendard', sans-serif;
  font-size: 12px;
  font-weight: 600;
  height: 38px;
  width: 120px; /* 버튼 크기 조정 */
  padding: 6px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease-out, background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.btn:hover {
  background: linear-gradient(135deg, #ffaf00, #ff6a00);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 6px 12px rgba(255, 165, 0, 0.3);
  transform: translateX(15px);
  width: 150px; /* 버튼 크기 조정 */
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* 네온 효과 */
.btn.active {
  background: linear-gradient(135deg, #000, #222);
  color: #ffe600;
  border-color: #ffbb00;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.8), 0 0 20px rgba(255, 165, 0, 0.6);
}

/* 비활성화 버튼 */
.btn:disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  box-shadow: none;
}

 

  /* 이 코드는 go_top 버튼을 숨깁니다. 페이지 맨 위로 스크롤할 때만 표시됩니다. */


.go_top_area {
  position: fixed;
  bottom: 100px; /* 버튼의 위치를 조절할 수 있습니다. */
  right: 10px; /* 버튼의 위치를 조절할 수 있습니다. */
  display: none;
  z-index: 20;
}

.go_top {
  display: block;
  width: 60px;
  height: 60px;
  line-height: 0px;
  text-align: center;
  background-color: #000000;
  color: #c9c9c9; 
  border-color: #c9c9c9;
  border-style: groove;
  text-decoration: none;
}

.go_top:hover { 
  border-radius: 30px 30px 0 0;
  color: #ffe600;
  border-color: #ff0000;
  opacity: 1; /* 마우스 오버 시 이미지를 표시 */
}

/* 하단 메뉴 스타일 */
.footer_menu {
  position: relative;
  bottom: 0;
  width: 100%;
  background: rgb(4, 52, 81);
  color: #ffffff;
  text-align: center;
  padding: 10px 0;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Foot 영역 위에 가로선 스타일 */
.footer_menu::before {
  content: "";
  display: block;
  height: 1px;
  background-color: #ffffff; /* 가로선 색상을 원하는 색상으로 설정하세요. */
  width: 100%;
  position: absolute;
  top: 0;
}


.footer_menu ul {
  list-style: square;
  margin: 0;
  padding: 0;
}

.footer_menu li {
  display: inline;
  margin: 0 20px;
}

.footer_menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  position: relative;
}

.footer_menu a:hover {
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease-in-out;
} 

/* 팝업 스타일 */
.popup {
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  text-align: center;
  z-index: 50;  
}

.popup img {
  margin-top: 0px;
  padding: 100px;  
  
}

/* 닫기 버튼 스타일 */
.close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}




/************** 720 Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 760px) {
  .footer_menu a {
    color: #ffaa00; /* 링크 텍스트 색상을 원하는 색으로 설정하세요. */
    text-decoration: none;
    font-weight: none;
    font-size: 12px; /* 글꼴 크기를 조절하세요. */
    position: relative;
  }

  .footer_menu {      
    background-color: rgba(0, 0, 0, 0.7);
  }

  .btn {
    background-image: linear-gradient(#f7f8fa ,#e7e9ec);
    border-color: #adb1b8 #a2a6ac #8d9096;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    box-shadow: rgba(255,255,255,.6) 0 1px 0 inset;
    box-sizing: border-box;
    color: #0f1111;
    cursor: pointer;
    display: inline-block;
    font-family: "Amazon Ember",Arial,sans-serif;
    font-size: 12px;
    height: px;
    font-size: 12px;
    outline: 0;
    overflow: hidden;
    padding: 8px 10px;
    text-align: center;
    text-decoration: none;
    text-overflow: ellipsis;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    position:relative; /* 버튼을 relative로 설정합니다. */
}

.slider-container {
  max-width: 400px; /* 원하는 최대 가로 너비를 줄임 */
  max-height: auto; /* 세로 높이는 자동 조정됨 */
}
.openbtn {
  font-size: 16px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0);
  color: white;
  padding: 10px 15px;
  border: none;
}
}





/*********** 1280 Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 1280px) {
  .slider-container {
    max-width: 500px; /* 원하는 최대 가로 너비 */
    max-height: auto; /* 원하는 최대 세로 높이 */
    top: -100px;
    position: relative;
    text-align: center; /* 내용을 가운데 정렬 */
    z-index: 1; /* 다른 요소 위에 표시합니다. */
    display: flex; /* Flexbox 사용 */
    flex-direction: column; /* 수직 중앙 정렬을 위해 컨테이너를 세로로 설정 */
    justify-content: center; /* 세로 중앙 정렬 */
    align-items: center; /* 가로 중앙 정렬 */
    height: 100vh; /* 화면 높이의 100%를 차지하여 세로 중앙 정렬 */  
  }    

  .sidebar a {
    padding: 30px 8px 8px 30px;
    text-decoration: none;
    font-size: 0.9em;
    color: #818181;
    display: block;
    transition: 0.3s;
    line-height: 1px;
  }

  .btn {
    background-image: linear-gradient(#f7f8fa ,#e7e9ec);    
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
    box-shadow: rgba(255,255,255,.6) 0 1px 0 inset;
    box-sizing: border-box;
    color: #0f1111;
    cursor: pointer;
    display: inline-block;
    font-family: "Amazon Ember",Arial,sans-serif;
    font-size: 12px;
    height: px;    
    outline: 0;
    overflow: hidden;
    padding: 8px 8px;
    text-align: center;
    text-decoration: none;
    text-overflow: ellipsis;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    position:relative; /* 버튼을 relative로 설정합니다. */
    align-content: flex-start;
    align-items: center;
    justify-content: space-around;
    gap: 6px;
}

.btn.active {
  border-color: #ffbb00;
  box-shadow: rgba(255, 115, 0, 0.5) 0 0 3px 2px;
  outline: 0;
  font-size: inherit;
  color: #ffe600;
  background-image: linear-gradient(#000000 ,#000000);
  border-width: 2px;
}

/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 25%;
  display: none; /* Hide all elements by default */
}

/* Clear floats after rows */ 
.row:after {
  content: "";
  display: table;
  clear: both;
  z-index: 4;
  
}

/* Content */
.content3 {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px); /* 배경 흐리게 만들기 */
  padding: 0px;
  display:block;
  border-radius: 8px; /* 이미지의 모서리를 10px로 라운드 처리 */
  text-align: center; /* 가로 중앙 정렬 설정 */
  color: rgb(175, 174, 174); /* 글자 색상을 흰색(white)으로 설정 */
  z-index: 4;  
}

.go_top_area {
  position: fixed;
  bottom: 100px; /* 버튼의 위치를 조절할 수 있습니다. */
  right: 10px; /* 버튼의 위치를 조절할 수 있습니다. */
  display: none;
  z-index: 20;
}

.go_top {
  display: block;
  width: 30px;
  height: 30px;
  line-height: -8px; /* 텍스트의 수직 위치 조절 */
  text-align: center;    
  background-color: #000000;
  color: #c9c9c9; 
  border-color: #c9c9c9;
  border-style: groove;
  text-decoration: none;
}

.go_top:hover { 
  border-radius: 15px 15px 0 0;
  color: #ffe600;
  border-color: #ff0000;
  opacity: 1; /* 마우스 오버 시 이미지를 표시 */
}

.main3 {
  max-width: 1080px;
  margin: auto;
  z-index: 4; 
}



.popup img {
  max-width: 60%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  scale: 50%;  
}

/* 닫기 버튼 스타일 */
.close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.label-image {
  display: none;
}

}




/* 브라우져 가로 1448픽셀 이상일경우 반응*/
@media screen and (min-width: 1440px) {
 
.popup img {
  max-width: 40%;
  max-height: 80%;
  margin: 100px auto;
  padding: 50px auto;
  scale: 70%;  
}
}

/**********************************로딩추가*************************************/
.wave-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 8px; /* 원 사이 간격 */
  z-index: 9999; /* 콘텐츠 위에 표시 */
  transition: opacity 0.5s ease-out; /* 서서히 사라지는 효과 */
}

.wave-loader span {
  display: block;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  animation: wave 1.5s infinite ease-in-out;
}


.wave-loader span:nth-child(1) { animation-delay: 0s; }
.wave-loader span:nth-child(2) { animation-delay: 0.1s; }
.wave-loader span:nth-child(3) { animation-delay: 0.2s; }
.wave-loader span:nth-child(4) { animation-delay: 0.3s; }
.wave-loader span:nth-child(5) { animation-delay: 0.4s; }
.wave-loader span:nth-child(6) { animation-delay: 0.5s; }
.wave-loader span:nth-child(7) { animation-delay: 0.6s; }

@keyframes wave {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-12px); opacity: 1; }
}

#myVideo {
  filter: brightness(100%); /* 밝기를 50%로 조정 */
}

.rounded-video {
  border-radius: 16px !important;
  overflow: hidden;
}

.rounded-iframe {
  border-radius: 16px;
  overflow: hidden;
}

/*****************************************************************************************/
.label-image {
  position: fixed;
  top: 50%;  /* 화면 상단에서 100px 아래 */
  right: 10px;   /* 화면 우측에서 0px 왼쪽 */
  width: 250px;  /* 이미지 크기 */
  height: auto;  /* 가로 비율 유지 */
  z-index: 1000; /* 다른 요소 위에 표시 */
  opacity: 0.15;  /* 기본 투명도 */  
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), 
              transform 1.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: right center;  /* 오른쪽 중앙을 기준으로 확대 */
  transform: translateY(-50%);  /* 수직 중앙 정렬 */
  z-index: 100;
}

/* 마우스를 올리면 밝아지고 오른쪽에서 왼쪽으로 수평 확대 */
.label-image:hover {
  opacity: 1;
  transform: scale(1.2) translateY(-40%); /* 1:1 비율로 확대 */
  background-color: rgba(255, 217, 0, 0.5);
  /* 글라스 효과 */
  backdrop-filter: blur(10px); /* 배경 흐림 효과 */
  border-radius: 10px; /* 테두리 둥글게 */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* 그림자 효과 */
  border: 1.5px solid rgba(255, 255, 255, 0.8); /* 1.5px white border */
}