/*** 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 {
  overflow: hidden;
}

body {
  margin: 0;
  font-family:'Noto Sans CJK KR', sans-serif;
  font-size: 1em;
}

#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;
  background-image: url('./202309/com_sign.png'); /* 이미지 경로를 설정하세요 */
  background-repeat: no-repeat; /* 배경 이미지 반복 제거 */
  background-size: height="60%"; /* 이미지를 요소에 맞게 확대/축소하여 채웁니다 */
  background-position: left; /* 이미지를 가운데 정렬합니다 */
  padding: 35px; /* 내용 주위에 여백을 추가합니다 */
  color: #ffffff; /* 글씨 색상 설정 */
  text-decoration: none; /* 밑줄 제거 */
}

@media screen and (max-height: 1080px) {
  .content {
    display: none;
  }
  .bottom-images{
    display: none;
  }
}


  
  



#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);
  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; /* 다른 요소 위에 표시합니다. */
}

#header img {
  margin-left: 20px;
  width: clamp(150px, 20vw, 250px); /* 최소 120px, 최대 250px */
  margin-right: 15px; /* 로고와 텍스트 사이의 간격을 설정합니다. */
  z-index: 2; /* 다른 요소 위에 표시합니다. */
}


.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: 10; /* 다른 요소 위에 표시합니다. */
}

.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  z-index: 11; /* 다른 요소 위에 표시합니다. */
 }

.sidebar a {
  padding: 30px 8px 8px 30px;
  text-decoration: none;
  font-size: 1.2em;
  color: #818181;
  display: block;
  transition: 0.3s;
  line-height: 130%;
}

.sidebar a:hover {
  color: #f1f1f1;
}

.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, 251, 0);
}

#main {
  transition: margin-left .5s;
  padding: 16px;
}

/* 슬라이드 컨테이너 스타일 */
/* 기본 스타일 */
.slider-container {
  max-width: 800px; /* 원하는 최대 가로 너비 */
  max-height: 600px; /* 원하는 최대 세로 높이 */
  margin: 0 auto; /* 가로 가운데 정렬을 위해 수평 마진을 auto로 설정 */
  position: relative;
  text-align: center; /* 내용을 가운데 정렬 */
  z-index: 1; /* 다른 요소 위에 표시합니다. */
  display: flex; /* Flexbox 사용 */
  flex-direction: column; /* 수직 중앙 정렬을 위해 컨테이너를 세로로 설정 */
  justify-content: center; /* 세로 중앙 정렬 */
  align-items: center; /* 가로 중앙 정렬 */
  height: 100vh; /* 화면 높이의 100%를 차지하여 세로 중앙 정렬 */
}

/* 이미지 스타일 */
.image-slider {
  display: flex;
  justify-content: center; /* 가로 중앙 정렬 */
  align-items: center; /* 세로 중앙 정렬 */
  height: 100%; /* 부모 컨테이너의 높이를 100%로 채움 */
  overflow: hidden; /* 이미지 넘침 숨김 */
}

.image-slider img {
  max-width: 100%; /* 이미지 최대 너비 설정 */
  max-height: 100%; /* 이미지 최대 높이 설정 */
  width: auto;
  height: auto;
  border-radius: 8px; /* 이미지 모서리를 라운드 처리 */
  position: absolute; /* 이미지의 절대적 위치 설정 */
  opacity: 0; /* 초기 투명도를 0으로 설정하여 숨김 */
  transition: opacity 0.3s ease-in-out; /* 투명도에 대한 트랜지션 설정 */
}

/* 초기 이미지 표시 */
.image-slider img:first-child {
  opacity: 1; /* 첫 번째 이미지를 보이게 함 */
}

/* 좌우 버튼 스타일 */
.prev-button,
.next-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: none;
  border:#fff;
  outline:#fff;
  cursor: pointer;
  color:#fff
}

.prev-button {
  left: -10%;  
}

.next-button {
  right: -10%;
}

/* indicator 위치 표시 스타일 */
.position-indicators {
  display: flex;
  flex-wrap: wrap; /* 여러 줄로 나눔 */
  position: absolute;
  bottom: -120px;
  left: 50%; /* 가운데 정렬 */
  transform: translateX(-50%); /* 가운데 정렬 */
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center; 
  z-index: 1;
  overflow: hidden; /* 넘치는 부분 숨김 */
  padding: 4px;
}

.position-indicator {
  width: 10px; /* Indicator 크기 조정 */
  height: 10px; /* Indicator 크기 조정 */
  border-radius: 50%;
  background-color: rgb(255, 255, 255); /* Indicator 배경색 및 투명도 조정 */
  margin: 4px 4px 4px 4px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1;
  gap: 6px;
}

.position-indicator.active {
  background-color: rgb(255, 0, 102);
  width: 14px; /* Indicator 크기 조정 */
  height: 14px; /* Indicator 크기 조정 */
  animation: flicker 0.3s ease-in-out infinite alternate;
  box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.8); /* 흰색 후광 효과 */
  z-index: 1;
}

@keyframes flicker {
  0% {
    opacity: 0.5;   
  }
  100% {
    opacity: 1;
  }
}
/* indicator 위치 표시 여기까지*/

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidebar {padding-top: 15px;}
  .sidebar a {font-size: 18px;}
 
}

/* 미디어 쿼리 - 화면 너비가 768px 이하일 때 */
@media (max-width: 768px) {
  .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;
  }

  .prev-button,.next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    background: none;
    color:#fff;
    border:#fff;
    outline:#fff;
    cursor: pointer;
  }

  .prev-button {
    background-color: #000;
    width: 1.8rem;
   
    left: -3%;  
  }
  
  .next-button {
    background-color: #000;
    width: 1.8rem;
   
    right: -3%;
  }
  
}

/* 미디어 쿼리 - 화면 너비가 768px 이하일 때 */
@media (max-width: 1440px) {
  
  .prev-button {
    
    width: 2.8rem;
    background-color: #000;
        left: 1%;  
  }
  
  .next-button {
    
    width: 2.8rem;
    background-color: #000;
    right: 1%;
  }
  .position-indicators {   
    bottom: -80px;  
  }
  
}


@media (min-width: 1920px) {
  .slider-container {
    max-width: 1100px; /* 원하는 최대 가로 너비를 줄임 */
    max-height: auto; /* 세로 높이는 자동 조정됨 */
  }
}

/* 하단 이미지 컨테이너 스타일 */
.bottom-images {
  display: flex;
  justify-content: center; /* 가로 중앙 정렬 */
  align-items: top; /* 세로 중앙 정렬 */
  margin-top: -50px; /* 이미지와 슬라이더 사이의 간격을 조절하세요 */
}

/* 하단 이미지 스타일 */
.bottom-images img {
  max-width: 800px; /* 이미지 최대 너비 설정 */
  max-height: 100%; /* 이미지 최대 높이 설정 */
  width: auto;
  height: auto;
  margin: 0 10px; /* 이미지 사이의 간격을 조절하세요 */
  border-radius: 0px; /* 이미지 모서리를 라운드 처리 */
  border: 1px solid #ffffff; /* 2px 두께의 흰색 테두리 설정 */
  background-color: rgba(0, 0, 0, 1);
  z-index: 4; /* 다른 요소 위에 표시합니다. */
  /* 추가적인 스타일링을 원하면 여기에 추가하세요 */
}



@media (max-width: 1024px) {
  .bottom-images {
   display: none;
  }

 
}
@media (min-width: 1920px) {
  .bottom-images {
    display: flex;
    justify-content: center; /* 가로 중앙 정렬 */
    align-items: top; /* 세로 중앙 정렬 */
    margin-top: 20px; /* 이미지와 슬라이더 사이의 간격을 조절하세요 */    
  }
  .content {
    position:absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #949494;
    width: 100%;    
    background-image: url('./202309/com_sign2.svg'); /* 이미지 경로를 설정하세요 */
    background-repeat: no-repeat; /* 배경 이미지 반복 제거 */
    background-size: height="40%"; /* 이미지를 요소에 맞게 확대/축소하여 채웁니다 */
    background-position: right; /* 이미지를 가운데 정렬합니다 */
    padding: 20px; /* 내용 주위에 여백을 추가합니다 */
    color: #757575; /* 글씨 색상 설정 */
    text-decoration: none; /* 밑줄 제거 */
    
    
  }
}

@media (min-width: 1920px) {
  .bottom-images img {
    max-width: 1000px; /* 이미지 최대 너비 설정 */
    max-height: 100%; /* 이미지 최대 높이 설정 */
    width: auto;
    height: auto;
    margin: 0 10px; /* 이미지 사이의 간격을 조절하세요 */
    border-radius: 0px; /* 이미지 모서리를 라운드 처리 */
    border: 1px solid #ffffff; /* 2px 두께의 흰색 테두리 설정 */
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 4; /* 다른 요소 위에 표시합니다. */
  /* 추가적인 스타일링을 원하면 여기에 추가하세요 */
  }
  .prev-button {
    left: -20px;  
  }
  
  .next-button {
    right: -20px;
  }

  .prev-button,.next-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  background: none;
  color:#fff;
  border:#fff;
  outline:#fff;
  cursor: pointer;
}

}

/* 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;
  }
  /* 좌우 버튼 스타일 */
.prev-button,
.next-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: none;
  border:#fff;
  outline:#fff;
  cursor: pointer;
  color:#fff
}

.prev-button {
  left: -10%;  
}

.next-button {
  right: -10%;
}
.content {
  position: fixed;
  bottom: 0;
  height: 100px;
  background: rgba(0, 0, 0, 0.3);
  color: #f1f1f1;
  width: 100%;  
  background-image: url('./202309/com_sign.png'); /* 이미지 경로를 설정하세요 */
  background-repeat: no-repeat; /* 배경 이미지 반복 제거 */
  background-size: 8%; /* 이미지를 요소에 맞게 확대/축소하여 채웁니다 */
  background-position: left; /* 이미지를 가운데 정렬합니다 */
  padding: 20px; /* 내용 주위에 여백을 추가합니다 */
  color: #ffffff; /* 글씨 색상 설정 */
  text-decoration: none; /* 밑줄 제거 */
  font-size: 50%;
  font-weight: 100;
}
/* indicator 위치 표시 스타일 */
.position-indicators {
  display: flex;
  flex-wrap: wrap; /* 여러 줄로 나눔 */
  position: absolute;
  bottom: 70px;
  left: 50%; /* 가운데 정렬 */
  transform: translateX(-50%); /* 가운데 정렬 */
  width: 500px;
  display: flex;
  justify-content: center;
  align-items: center; 
  z-index: 1;
  overflow: hidden; /* 넘치는 부분 숨김 */
  padding: 4px;
}

.position-indicator {
  width: 6px; /* Indicator 크기 조정 */
  height: 6px; /* Indicator 크기 조정 */
  border-radius: 50%;
  background-color: rgb(255, 255, 255); /* Indicator 배경색 및 투명도 조정 */
  margin: 2px 2px 2px 2px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  z-index: 1;
  gap: 4px;
}

.position-indicator.active {
  background-color: rgb(255, 0, 102);
  width: 8px; /* Indicator 크기 조정 */
  height: 8px; /* Indicator 크기 조정 */
  animation: flicker 0.3s ease-in-out infinite alternate;
  box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.8); /* 흰색 후광 효과 */
  z-index: 1;
}
/* 하단 이미지 컨테이너 스타일 */
.bottom-images {
  display: none;
}
  
  
}

@media screen and (max-width: 768px) {
  .slider-container {
    max-width: 400px; /* 원하는 최대 가로 너비 */
    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%를 차지하여 세로 중앙 정렬 */  
  }    

   /* 좌우 버튼 스타일 */
.prev-button,
.next-button {
  position: absolute;
  top: 75%;
  transform: translateY(-50%);
  font-size: 20px;
  background-color: #000;
  border:#fff;
  outline:#fff;
  cursor: pointer;
  color:#fff
}

.prev-button {
  left: 30%;  
}

.next-button {
  right: 30%;
}

  .content {
    position: fixed;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
    width: 100%;
    padding: 20px;
    background-image: none; /* 이미지 경로를 설정하세요 */
    background-repeat: no-repeat; /* 배경 이미지 반복 제거 */
    background-size: height="40%"; /* 이미지를 요소에 맞게 확대/축소하여 채웁니다 */
    background-position: left; /* 이미지를 가운데 정렬합니다 */
    padding: 20px; /* 내용 주위에 여백을 추가합니다 */
    color: #838383; /* 글씨 색상 설정 */
    text-decoration: none; /* 밑줄 제거 */
    font-size: 50%;
  }

  /* indicator 위치 표시 스타일 */
.position-indicators {
  display: flex;
  flex-wrap: wrap; /* 여러 줄로 나눔 */
  position: absolute;
  bottom: 50px;
  left: 50%; /* 가운데 정렬 */
  transform: translateX(-50%); /* 가운데 정렬 */
  width: 400px;
  display: flex;
  justify-content: center;
  align-items: center; 
  z-index: 1;
  overflow: hidden; /* 넘치는 부분 숨김 */
  padding: 4px;
}

.position-indicator {
  width: 6px; /* Indicator 크기 조정 */
  height: 6px; /* Indicator 크기 조정 */
  border-radius: 50%;
  background-color: rgb(255, 255, 255); /* Indicator 배경색 및 투명도 조정 */
  margin: 2px 2px 2px 2px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  z-index: 1;
  gap: 4px;
}

}


/* 전체 컨테이너 */
/* 스위치 스타일 */
.switch-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 200;
}

.switch {
  width: 24px; /* 가로 크기 */
  height: 70px; /* 세로 크기 */
  background-color: #ffbb01;
  border-radius: 12px; /* 박스의 둥근 모서리 비율 */
  position: relative;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.switch-ball {
  width: 20px; /* 원의 가로 크기 */
  height: 20px; /* 원의 세로 크기 */
  background-color: #fff;
  border-radius: 50%; /* 완전한 원형 */
  position: absolute;
  left: 2px; /* 원이 박스의 왼쪽에 맞게 배치 */
  top: 2px; /* 위쪽 여백 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: top 0.3s ease, background-color 0.3s ease;
}

/* 활성화 상태 */
.switch.active {
  background-color: #4caf50; /* 활성화 시 배경색 */
}

.switch.active .switch-ball {
  top: 48px; /* 활성화 시 원이 아래로 이동 */
}

@media screen and (max-width: 1400px) {
  .switch-container {
    position: fixed;
    top: 50vh;
    right: 20px;
    z-index: 200;
  }
  
}

 