:where([class^="ri-"])::before { content: "\f3c2"; }
body {
font-family: 'Noto Sans KR', sans-serif;
color: #333;
}


.timeline-container {
position: relative;
min-height: 100vh;
padding: 80px 0;
 background-color: rgb(249, 250, 251);  
/* background-image: url('/image/company_history_bg.jpg'); */
/*   background-size: cover;
  background-position: center;
  z-index: 1;
  overflow: hidden;
 */

}


.timeline-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* ¾îµÎ¿î ¿À¹ö·¹ÀÌ */
  z-index: -1;
}




.timeline-line {
position: absolute;
left: 50%;
top: 0;
bottom: 0;
width: 2px;
background-color: rgb(55,92,225);
transform: translateX(-50%);


}

.timeline-item {
position: relative;
margin-bottom: 48px;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.visible {
opacity: 1;
transform: translateY(0);
}

.timeline-dot {
position: absolute;
left: 50%;
top: 0;
width: 20px;
height: 20px;
background-color: rgb(55,92,225);
border-radius: 50%;
transform: translateX(-50%);
transition: transform 0.3s ease;
z-index: 2;
}

/*  .timeline-dot.active {
transform: translateX(-50%) scale(1.2);
}  */

.timeline-content {
width: calc(50% - 36px);
padding: 24px;
background-color: white;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease;
}

.timeline-content:hover {
transform: translateY(-5px);
}

.timeline-year {
font-size: 20px;
font-weight: 700;
color: rgb(55,92,225);
margin-bottom: 12px;
}

.timeline-item:nth-child(even) .timeline-content {
margin-left: auto;
}
@media (max-width: 768px) {
.timeline-line {
left: 24px;
}
.timeline-dot {
left: 9px;
/* transform: trnaslateX(-50%); */
}
.timeline-content {
width: calc(100% - 60px);
margin-left: 48px !important;
}
}