body {
	background-color: white;
	margin: 0;
	padding-top: 180px;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	text-align: center;
}

body::before {
	content: "";
	background-image: url("https://www.fzcj.pl/img/logoFZCJczarne.png");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: contain;
	opacity: 1;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 150px;
	z-index: -1;
}
/* Ekran ładowania */
#loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* background-color: #b30000;*/
	z-index: 9999;
	animation: zoomFade 1s ease-out forwards;
}

/* Animacja dla loadera */
@keyframes zoomFade {
	0% {
		transform: scale(0.3);
		filter: blur(20px);
		opacity: 0.99;
	}
	100% {
		transform: scale(0.8);
		filter: blur(0px);
		opacity: 0.3;
	}
}

/* Animacja pojawiania się treści */
.fade-in {
	animation: fadeInContent 1.8s ease-in-out forwards;
}

@keyframes fadeInContent {
	0% {
		opacity: 0;
		transform: scale(0.2);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

header {
	text-align: center;
	padding-bottom: 20px;
}

header h1 {
	color: #b30000;
	margin-bottom: 10px;
}

.timeline {
	max-width: 800px;
	margin: auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

article {
	background: white;
	border-left: 5px solid #b30000;
	padding: 15px 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

article h2 {
	margin: 0;
	font-size: 1.2em;
	color: white;
	background-color: #b30000;
	border: 2px solid #b30000;
	padding: 12px 16px;
	border-radius: 4px;
	width: 100%;
	box-sizing: border-box;

	animation: slideInZoom 3.6s ease-out;
	transform-origin: center;
}

article h2 a {
	color: white;
	text-decoration: none;
}

article h2 a:hover {
	text-decoration: underline;
}

article a {
	text-decoration: none;
	color: #b30000;
}

article a:hover {
	text-decoration: underline;
}

article p {
	margin: 10px 0;
	font-size: 0.95em;
}

article time {
	font-size: 0.85em;
	color: #888;
}

footer {
	text-align: center;
	margin-top: 40px;
	font-size: 0.9em;
	color: #aaa;
}

@keyframes slideInZoom {
	0% {
		transform: scale(0.5);
		opacity: 0;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.btn-return {
	display: inline-flex;
	align-items: center;
	gap: 0px;
	padding: 10px 100px;
	background-color: #f2a9a9;
	color: white;
	text-decoration: none;
	border: none;
	border-radius: 6px;
	font-weight: bold;
	font-size: 1em;
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.1s ease;
	margin-top: 0px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	cursor: pointer;
}

.btn-return:hover {
	background-color: darkred;
	color: rgb(245, 222, 165);
}

.btn-return:active {
	transform: scale(0.97);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.btn-return .icon-left,
.btn-return .icon-right {
	width: 1.1em;
	height: 1.1em;
	fill: currentColor;
	flex-shrink: 0;
	vertical-align: middle;
}
