body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.banner {
    margin-top: 0px;
    background: url('/images/backgroundIntro.png') no-repeat center center;
    background-size: cover;
    color: rgb(255, 255, 255);
    padding: 80px 30px;
    text-align: right; /* 텍스트를 우측 정렬 */
    position: relative;
}
.banner h1 {
    font-size: 48px; /* 글씨 크기 */
    margin: 0; /* 상하 여백 제거 */
    position: absolute; /* 절대 위치 지정 */
    bottom: 10px; /* 하단 여백 */
    right: 10px; /* 우측 여백 */
}

.header-bar {
    background-color: rgba(0, 0, 0, 0.119); /* 검은색 배경, 약간 투명 */
    color: rgb(49, 47, 47); /* 글씨 색상 흰색 */
    font-family: 'Arial', sans-serif; /* 기본 글씨체 */
    font-size: 16px; /* 글씨 크기 */
    padding: 10px 20px; /* 안쪽 여백 */
    display: flex; /* 가로 정렬 */
    align-items: center; /* 세로 정렬 */
    gap: 10px; /* 항목 간 간격 */
}

.header-item {
    white-space: nowrap; /* 텍스트 줄바꿈 방지 */
}

.divider {
    width: 1px; /* 선 두께 */
    align-self: stretch; /* 상하로 꽉 채움 */
    background-color: rgb(0, 0, 0); /* 선 색상 */
    margin: 0 5px; /* 선 좌우 여백 */
}

.timeline {
    width: 100%;              /* 🔹 전체 너비를 화면에 맞게 설정 */
    max-width: 1000px;        /* 🔹 타임라인 최대 너비 설정 (너무 커지지 않도록) */
    margin: 0 auto;           /* 🔹 가운데 정렬 */
    padding: 40px 0;          /* 상하 여백 유지 */
}

.title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
}

/* 타임라인 구조 */
.timeline-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 왼쪽/오른쪽 균등 분배 */
    gap: 60px; /* 카드 사이 여백 */
    position: relative;
}

.timeline-item {
    position: relative;
}

.left {
    grid-column: 1 / 2;
}

.right {
    grid-column: 2 / 3;
    margin-top: 80px; /* 계단식으로 맞추기 위한 상단 여백 */
}

/* 카드 스타일 */
.history-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.history-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.history-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.history-card span {
    display: block;
    font-size: 20px;
    color: #8ec7ff;
    margin-bottom: 10px;
}

.history-card p {
    font-size: 14px;
    color: #555;
}

/* 타임라인 중간 구분선 */
.timeline-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: #ddd;
    transform: translateX(-50%);
}

/* 반응형 설정 */
/* @media (max-width: 768px) {
    .timeline-container {
        grid-template-columns: 1fr; 
    }

    .right, .left {
        margin-top: 0;
    }

    .timeline-container::before {
        display: none; 
    }
} */