* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
}

.timeline-container {
	position: relative;
	max-width: 100%;
	margin: 0 auto;
}

.timeline-wrapper {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE and Edge */
	padding: 60px 0;
}

.timeline-wrapper::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}

.timeline-content {
	position: relative;
	min-width: 100%;
	height: 850px;
}

.timeline-line {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 8px;
	background-color: #dad1c5;
	transform: translateY(-50%);
	z-index: 1;
}

.events-container {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
}

.event-node {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 300px;
}

.event-node-marker {
	position: relative;
	width: 48px;
	height: 48px;
	background-color: #fff8ef;
	border-radius: 50%;
	border: 2px solid #dad1c5;
	z-index: 2;
	margin: 0 auto;
}

.vertical-line {
	position: absolute;
	height: 90px;
	width: 8px;
	border-radius: 100px;
	border: solid 2px #dad1c5;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
}

.vertical-line.above {
	bottom: 60px;
}

.vertical-line.below {
	top: 60px;
}

.event-card {
	position: absolute;
	width: 280px;
	min-height: 300px;
	padding: 20px;
	background-color: #fff8ef;
	border: 2px solid #dad1c5;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	text-align: center;
	box-sizing: border-box;
}

.event-card.above {
	bottom: 170px;
}

.event-card.below {
	top: 170px;
}

.event-card-icon {
	font-size: 24px;
	margin-bottom: 12px;
	text-align: center;
	line-height: 1;
}

.event-card-icon img {
	width: auto;
	height: 32px;
	display: block;
	margin: 0 auto;
}

.event-card-title {
	font-family: 'Bitter', serif;
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 8px;
	color: #100f1c;
}

.event-card-description {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: #666;
	margin-bottom: 8px;
	line-height: 1.5;
}

.event-card-button {
	display: inline-block;
	margin-top: 12px;
	margin-bottom: 8px;
	padding: 8px 16px;
	background-color: rgba(255, 195, 173, 0.5);
	color: #000000;
	text-decoration: none;
	border-radius: 8px;
	border: 2px solid #ff635d;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 500;
	transition: background-color 0.2s;
}

.event-card-button:hover {
	background-color: rgba(255, 195, 173, 0.7);
}

.event-card-date {
	font-size: 12px;
	color: #999;
}

.event-comment {
	position: absolute;
	width: 280px;
	padding: 12px;
	font-size: 14px;
	color: #666;
	text-align: center;
	line-height: 1.4;
}

.event-comment.above {
	bottom: 50px;
}

.event-comment.below {
	top: 50px;
}

.event-comment img {
	width: auto;
	height: auto;
	max-width: 100%;
	display: block;
	margin: 0 auto;
}

.nav-button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 64px;
	height: 64px;
	background-color: rgba(255, 255, 255, 0.5);
	border: 2px solid #dad1c5 !important;
	border-radius: 50% !important;
	cursor: pointer;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: background-color 0.2s, border-color 0.2s;
}

.nav-button:hover:not(:disabled) {
	/* background-color: #dad1c5; */
	border-color: #ff635d;
}

.nav-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.nav-button-left {
	left: 10px;
}

.nav-button-right {
	right: 10px;
}
