/* 기본 스타일 초기화 */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}
body { 
    font-family: 'Malgun Gothic', sans-serif; 
    line-height: 1.6; 
}
a { 
    text-decoration: none; 
    color: #333; 
}
ul { 
    list-style: none; 
}

/* 상단 헤더 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}
.logo { 
    font-size: 24px; 
    font-weight: bold; 
    color: #2c3e50; 
}
.nav-menu ul { 
    display: flex; 
    gap: 30px; 
}
.nav-menu a { 
    font-weight: bold; 
    font-size: 18px; 
}
.nav-menu a:hover { 
    color: #3498db; 
}

/* 푸터 */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px;
    text-align: center;
}
.footer-info { 
    margin-bottom: 10px; 
}
.sns-links a { 
    color: #fff; 
    margin: 0 10px; 
}

/* 부모 요소 */
.main-banner {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* 배경 비디오 */
.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    
    z-index: 1;

    pointer-events: none;
}

/* 텍스트 콘텐츠 */
.banner-content {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    
    z-index: 2;
    text-align: center;
    color: #fff;
    font-size: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.category-card {
    display: block; 
    text-decoration: none;
    color: inherit;
    
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}

.card a {
    display: block;
    text-decoration: none;
    color: inherit;
}