/* 기본 스타일 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-left: 14rem;
    line-height: 1.6;
}

/* 좌측 사이드바 고정 */
.sidebar {
    position: fixed;   /* 스크롤해도 고정 */
    top: 0;
    left: 0;
    width: 8rem;      /* 필요에 따라 조정 */
    height: 100%;
    background-color: rgba(18, 18, 18, 0.95); /* 약간 투명한 배경 */
    overflow-y: auto;  /* 세로 스크롤 허용 */
    padding: 1rem;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .sidebar li {
    margin-bottom: 1rem;
  }
  
  .sidebar a {
    display: block;
  }
  
  .sidebar img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: transform 0.2s ease;
  }
  
  .sidebar img:hover {
    transform: scale(1.05);
  }  

  .sidebar a.active img {
    outline: 2px solid #ffffff;
    opacity: 1;
  }

.page-header {
    /* 배경 이미지 경로 */
    background-size: cover;
    /* 이미지가 영역 전체를 덮도록 */
    background-position: center;
    /* 중앙 정렬 */
    height: 400px;
    /* 헤더 영역의 높이 (필요에 따라 조정) */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    /* 텍스트가 잘 보이도록 흰색 */
    text-align: center;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background-color: rgba(0, 0, 0, 0.6); /* 검은색 오버레이, 0.4는 투명도 (조절 가능) */
    z-index: 1;
  }
  
  .header-content {
    position: relative;
    z-index: 2; /* 오버레이 위에 텍스트가 보이도록 */
    text-align: center;
    padding-top: 2rem;
  }

.video-container {
    text-align: center;
    margin: 0 0;
    background: #000;
}
.video-bg {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100rem; /* 비디오 최대 너비 설정 */
    height: 100%;
    max-height: 50rem;
    margin: 0 auto;
    padding-bottom: 43.75%;/*43.75%; = 4:3, 56.25%; = 16:9 비율 유지 */
}
.video-bg iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

/* 홀수 섹션: 기본 (이미지 왼쪽, 텍스트 오른쪽) */
.section:nth-child(odd) {
    flex-direction: row;
    background-color: #ffffff;
}

/* 짝수 섹션: 순서 반전 (텍스트 왼쪽, 이미지 오른쪽) */
.section:nth-child(even) {
    flex-direction: row-reverse;
    background-color: #f5f5f5;
}

.section .image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0px 0px 30px rgb(0, 0, 0); /* 그림자 추가 */
}

.section .text {
    flex: 1;
    padding: 0rem 5rem;
    font-size: 1.1rem;
    color: #333;
}

@media (max-width: 768px) {
    .section {
        flex-direction: column;
        text-align: center;
    }

    .section:nth-child(even) {
        flex-direction: column;
    }
}

@keyframes neon-flicker {
    0% {
        text-shadow: 
        0 0 10px #ffffff,
        0 0 20px #ffffff, 
        0 0 30px #ffffff;
    }
    100% {
        text-shadow: 
        0 0 20px #ffffff, 
        0 0 30px #ffffff, 
        0 0 40px #ffffff;
    }
}
.neon { 
    font-size: 60px; 
    font-weight: 700; 
    color: #fff;
    animation: neon-flicker 0.75s infinite alternate;
}
/*.neon_sub {
    animation: neon-flicker 0.75s infinite alternate;
}*/
.highlight {
    background: linear-gradient(#ffea0073 0 100%);
    background-position: 0 calc(100% - 2px);
    background-size: 100% 14px;
    background-repeat: no-repeat;
}
