/* Reset CSS */
a {
    text-decoration: none; /* 모든 링크의 밑줄 제거 */
    color: black;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', Arial,sans-serif;
    background-size: cover; /* 배경 이미지를 화면에 맞게 확장합니다. */
    background-repeat: no-repeat; /* 배경 이미지 반복을 막습니다. */
    padding-top: 53px; /* Header height */
    line-height: 2.0;  /* 줄 간격 조정으로 가독성 향상*/
}

.container {
    width: 100%;
    max-width: none; /* 기존의 최대 너비 설정을 제거합니다. */
    margin: 0; /* 왼쪽과 오른쪽 여백을 제거합니다. */
}
/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 53px; /* 헤더의 높이를 53픽셀로 설정합니다. */
    background-color: #B3246D;
    color: #ffffff;
    z-index: 1000;
}


.header-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* 헤더 요소들을 양쪽으로 정렬합니다. */
    align-items: center;
}

.header-links {
    order: 3; /* 링크를 뒤쪽으로 이동합니다. */
    margin-left: auto; /* 링크를 오른쪽으로 정렬합니다. */
    display: flex;
    align-items: center; /* 수직 중앙 정렬 */
}

.social-links {
    order: 2; /* 소셜 링크를 맨 앞쪽으로 이동합니다. */
}

.header-links a,
.social-links a {
    margin: 0 10px; /* 간격 조정 */
    color: #ffffff; /* 링크의 글자색을 흰색으로 설정 */
    text-decoration: none; /* 링크 밑줄 제거 */
    display: inline-block; /* 수직 중앙 정렬을 위해 인라인 블록 요소로 변경 */
    vertical-align: middle; /* 수직 중앙 정렬 */
}

.header-links span {
    margin-right: 5px;
}

.social-links img {
    height: 53px; /* 로고의 높이를 페이스북, 인스타그램 로고의 높이와 일치하도록 설정합니다. */
    width: auto;
}


/* Navbar Styles */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff; /* 네비게이션 바 배경색을 흰색으로 설정 */
    z-index: 999;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0; /* 네비게이션 바 위아래 패딩 설정 */
    margin-top: 53px; /* 헤더와 겹치지 않도록 위 마진 추가 */
}

.logo {
    margin-top: 10px; /* 로고 위 마진 설정 */
    margin-bottom: 10px; /* 로고 아래 마진 설정 */
}

.logo-link,
.logo-link:hover {
    cursor: pointer;
}
nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center; /* 메뉴를 수평으로 가운데 정렬합니다. */
    align-items: center;
    margin: 0; /* 기존의 margin을 제거합니다. */
    padding: 0; /* 기존의 padding을 제거합니다. */
    width: 100%; /* 부모 요소의 너비를 100%로 설정합니다. */
}
nav ul li {
    margin: 0 20px; /* 메뉴 아이템 간격 조정 */
    
}

nav ul li:first-child {
    margin-left: auto; /* 첫 번째 메뉴 아이템의 왼쪽 마진을 자동으로 설정합니다. */
}

nav ul li:last-child {
    margin-right: auto; /* 마지막 메뉴 아이템의 오른쪽 마진을 자동으로 설정합니다. */
}
 /* 추가한 CSS */

.nav-link {
    color: black;
    text-decoration: none;
    transition: color 0.3s; /* 색상 변경 효과를 위한 transition 추가 */
   
}

.nav-link:hover {
    color: #B3246D; /* 호버 시 색상 변경 */
}




/* Box 1 */
.box1 {
    position: relative;
    width: 100%;
    height: auto; /* 세로 높이를 자동으로 설정하여 이미지 비율을 유지합니다. */
    overflow: hidden;
    margin-top: 53px; /* Header height */
}

  /* 이미지 슬라이더 스타일 */

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slider img {
    width: 100%;
    height: auto;
}



.box2 {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px;
}

.box2 .title {
    margin-bottom: 30px;
}

.box2 .subtitle {
    margin-bottom: 30px;
}

.box3 {
    text-align: center;
    margin-bottom: 50px;
}

.box3 .title {
    margin-bottom: 30px; /* box3의 h1 요소의 하단 여백을 20px로 설정합니다. */
}

.box3 .subtitle {
    margin-bottom: 30px; /* box3의 h3 요소의 하단 여백을 20px로 설정합니다. */
}

/* Card Styles */
.card-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.card {
    margin: 0 10px;
}

.card img {
    width: 225px;
    height: 300px;
}

/* Card Styles-----about us 의 행사 이미지  및 설명 */

.subcontainer {
    margin: 0 5px ;
    
}
.subcontainer img {
    width: 150px;
    height: 200px;
   
}

/* Footer Styles */

.footer-box1 {
    background-color: #dad8d8; /* footer-box1의 배경색을 회색으로 설정 */
    padding: 20px 0;
    height:40px;
    display: flex; /* Flex 컨테이너로 설정 */
    justify-content: center; /* 요소들을 가운데로 정렬합니다. */
    align-items: center; /* 수직 가운데 정렬을 위해 추가 */
}

.footer-box1-links {
    display: flex; /* 가운데 정렬을 위해 Flex 컨테이너로 설정 */
    align-items: center; /* 요소들을 수직 가운데로 정렬합니다. */
}

.footer-box1 a {
    color: black; /* 링크의 글자색을 검정색으로 설정 */
    text-decoration: none;
    margin: 0 10px; /* 간격 조정 */
    white-space: nowrap; /* 텍스트가 한 줄로 유지되도록 설정 */
}

.footer-box1 span {
    margin: 0 10px; /* "|" 간격 조정 */
}

.footer-box2 {
    margin-top: 20px; /* footer-box2의 위 여백 조정 */
    margin-bottom: 40px; /* footer-box2의 위 여백 조정 */
    text-align: center;
}
.footer-box2-text{
    font-size:14px; 
    color:#666; 
    line-height:24px; }
    
.footer-box2 p {
    margin-bottom: 5px;
}

.footer-box2 p:last-child {
    margin-bottom: 0;
}
