body{
	--timeline-height: 14500px;
}

#timeline {
	padding-top: 25px;
}

.timeline {
	position: relative;
}

.timeline::after {
	content: '';
	position: absolute;
	width: 3px;
	background-color: yellow;
	top: 35px;
	right: 50%;
	height: 100%;
	z-index: -1;
}

.date-marker {
	text-wrap-mode: nowrap;
	font-size: 26pt;
	color: yellow;
	position: absolute;
	top: 35px;
	left: 50%;
	transform: translate(-19px, -50%);

	.date {
		display: block;
		font-size: 16pt;
		text-align: center;
		position: absolute;
		width: 100px;
		bottom: 100%;
		left: 0;
		transform: translateX(19px) translateX(-50%);
		border-radius: 5px;
		background-color: #000A;
		z-index: 3;
	}
}

.date-marker.template {
	visibility: hidden;
}

.event {
	position: absolute;
	padding: 15px;
	border: 1px solid yellow;
	border-radius: 15px;
	font-size: 14pt;
	right: 50%;
	width: 40%;

	p {
		font-size: 12pt;
	}

	.fancy-button {
		font-size: 14pt;
	}
}

@media only screen and (max-width: 750px) {
	.event {
		font-size: 12pt;
	}
}

.event-contents {
	position: sticky;
	top: 25px;
	bottom: 15px;
}

.connect-left {
	right: 50%;
	transform: translateX(-50px);
}

.connect-right {
	left: 50%;
	transform: translateX(50px);

	.fancy-button {
		border-radius: 200px 999px 999px 200px;
	}
}

.connect-left.connect-top {
	border-top-right-radius: 0;
}

.connect-left.connect-bottom {
	border-bottom-right-radius: 0;
}

.connect-left.connect-top::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 100%;
	width: 50px;
	height: 1px;
	background-color: yellow;
}

.connect-left.connect-bottom::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 100%;
	width: 50px;
	height: 1px;
	background-color: yellow;
}

.connect-right.connect-top {
	border-top-left-radius: 0;
}

.connect-right.connect-bottom {
	border-bottom-left-radius: 0;
}

.connect-right.connect-top::before {
	content: '';
	position: absolute;
	top: -1px;
	right: 100%;
	width: 50px;
	height: 1px;
	background-color: yellow;
}

.connect-right.connect-bottom::after {
	content: '';
	position: absolute;
	bottom: -1px;
	right: 100%;
	width: 50px;
	height: 1px;
	background-color: yellow;
}

.bottom-bar {
	position: absolute;
	width: 50px;
	height: 1px;
	background-color: yellow;
}

.bottom-bar.left {
	left: 100%;
}

.bottom-bar.right {
	right: 100%;
}