@import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Lora:ital,wght@0,400..700;1,400..700&display=swap");

:root {
	--color-dark-green: #173c2e;
	--color-light: #efe7e2;
	--color-sienna: #b5692b;
	--color-olive: #69773c;
	--color-beige: #dec2a4;

	--global-body-font-family: Barlow, sans-serif;
	--global-heading-font-family: Lora, serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	font-family: var(--global-body-font-family);
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
	line-height: 1.6em;
	background-color: var(--color-beige);
	margin: 0;
	color: var(--color-dark-green);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h {
	font-family: var(--global-heading-font-family);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	width: min(90vw, 72rem);
	margin: 0 auto;
	padding: 2rem;
	min-height: 60vh;
}

.navbar-brand img,
.logo {
	height: 40px;
	width: auto;
}

.logo {
	margin-top: 11px;
}

.main-cards .card-footer {
	height: 50px;
	display: flex;
}

.main-cards .card-footer a {
	color: var(--color-sienna);
}
.main-cards .card-footer a:hover {
	color: var(--color-olive);
}

.contributors ul,
.contributors .list-group-item {
	background-color: rgba(255, 255, 255, 0.5);
}

.store-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: flex-end;
}

.store-links a {
	display: inline-flex;
	align-items: center;
}

.store-links img {
	height: 48px;
	width: auto;
	background-color: #000;
	border-radius: 8px;
}

.store-links a img:hover {
	background-color: var(--color-dark-green);
}

.event-badge {
	font-size: 1rem;
	padding: 0.75rem 1.25rem;
	letter-spacing: 0.02em;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	text-decoration: none;
	max-width: 18rem;
	width: min(80vw, 18rem);
	height: min(80vw, 18rem);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #000;
	transform: rotate(10deg);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
	margin-left: auto;
	margin-right: 0;
}

.event-badge:hover {
	text-decoration: none;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
	transform: rotate(6deg) scale(1.02);
}

.event-badge a {
	color: var(--color-light);
	display: block;
	text-wrap: auto;
	padding: 10px;
}

.navbar {
	background-color: var(--color-dark-green) !important;
	color: var(--color-light);
}

.navbar a,
.navbar-nav .nav-link.active {
	color: var(--color-light);
}

.navbar a:hover {
	color: var(--color-sienna);
}

.olive {
	background-color: var(--color-olive);
	color: var(--color-light);
	position: relative;
}

.sienna {
	background-color: var(--color-sienna);
	color: var(--color-light);
	position: relative;
	border-bottom: 2px solid var(--color-olive);
}

.sienna a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 1px;
}

.sienna a:hover {
	color: var(--color-light);
	text-decoration: underline;
}

.black {
	background-color: #000 !important;
	color: var(--color-beige);
}

.black a {
	color: var(--color-beige);
	text-decoration: none;
}

.black a:hover {
	color: var(--color-light);
}

.bg-dark {
	background-color: var(--color-dark-green) !important;
}

.bg-light {
	background-color: var(--color-light) !important;
}

.img-banner {
	display: flex;
	background-color: #000;
	align-items: flex-end;
	border-bottom: 2px solid var(--color-sienna);
	min-height: 18rem;
	height: clamp(18rem, 32vh, 26rem);
	overflow: hidden;
}

.img-banner img {
	object-fit: cover;
	width: 100%;
}

.events-image-banner {
	align-items: center;
}

.characteristics {
	padding: 0;
	margin: 0;
	list-style: none;
}

.figure-caption {
	display: none;
	font-size: 0.8em;
	color: var(--color-dark-green);
	line-height: 1.2em;
}

figcaption {
	display: none;
	margin-top: 0.75rem;
}

.svetlana {
	background: transparent url(../img/svetlana.jpeg) no-repeat center center;
	text-transform: uppercase;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}
.icids {
	background: transparent url(../img/malta.jpg) no-repeat center center;
	background-size: cover;
	text-transform: uppercase;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.partners img {
	width: 150px;
}

a.btn:hover {
	background-color: var(--color-sienna) !important;
	color: var(--color-light);
}

.apps-list .card-footer a {
	color: var(--color-sienna);
	text-decoration: none;
}
.apps-list .card-footer a:hover {
	color: var(--color-olive);
}

.active {
	box-shadow: 0 0 30px var(--color-sienna);
}

.tc_footer {
	font-size: 0.7em;
	margin-top: 2em;
}

.timeline-section {
	position: relative;
}

.timeline {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	padding-left: clamp(1.5rem, 2vw, 2.75rem);
}

.timeline::before {
	content: "";
	position: absolute;
	left: clamp(0.6rem, 1.2vw, 1.1rem);
	top: 0;
	bottom: 0;
	width: 2px;
	background: rgba(23, 60, 46, 0.25);
}

.timeline-group {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.timeline-heading {
	margin-bottom: 0.5rem;
}

.timeline-item {
	position: relative;
	display: flex;
	gap: 1.5rem;
	align-items: stretch;
}

.timeline-marker {
	position: relative;
	margin-top: 0.5rem;
	width: 1.5rem;
	min-width: 1.5rem;
	display: flex;
	justify-content: center;
}

.timeline-marker::before {
	content: "";
	width: 0.9rem;
	height: 0.9rem;
	border-radius: 50%;
	border: 3px solid #fff;
	background: var(--color-olive);
	box-shadow: 0 0 0 3px rgba(23, 60, 46, 0.2);
}

.timeline-item.future .timeline-marker::before {
	background: var(--color-sienna);
}

.timeline-card {
	background: #fff;
	border-radius: 1rem;
	padding: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
	box-shadow: 0 18px 32px rgba(0, 0, 0, 0.08);
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	width: 100%;
}

.timeline-image {
	flex: 0 0 clamp(160px, 25vw, 220px);
	border-radius: 0.75rem;
	overflow: hidden;
}

.timeline-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.timeline-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.timeline-header time {
	display: block;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgba(23, 60, 46, 0.8);
}

.timeline-header h4 {
	margin: 0.25rem 0;
}

.timeline-location {
	margin: 0;
	font-weight: 600;
	color: rgba(23, 60, 46, 0.75);
}

.timeline-link {
	font-weight: 600;
	color: var(--color-sienna);
	text-decoration: none;
	align-self: flex-start;
}

.timeline-link:hover,
.timeline-link:focus {
	text-decoration: underline;
}

.partnerlogo {
	background-color: #fff;
	padding: 10px;
	height: 100px;
	display: flex;
	align-items: center;
	margin-right: 5px;
	border-radius: 10px;
}

.eu {
	font-size: 1em;
	line-height: normal;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	opacity: 0.6;
}

.eu img {
	height: 98px;
	width: auto;
}

.leader {
	line-height: 2em;
}

@media (max-width: 991.98px) {
	body,
	.lead {
		font-size: 2em;
	}
	h1 {
		font-size: 4em;
	}
	h2 {
		font-size: 2.5em;
	}
	h3 {
		font-size: 2.5em;
	}
	h4 {
		font-size: 2em;
	}
	h5 {
		font-size: 2em;
	}
	h6 {
		font-size: 2em;
	}

	.container,
	.container-md,
	.container-sm {
		width: 95vw !important;
		max-width: 95vw !important;
	}

	.leader {
		margin-bottom: 2rem;
		margin-left: auto;
		margin-right: auto;
	}

	.event-badge {
		margin: 0 auto 2rem;
		transform: scale(1.6) rotate(-10deg);
	}

	.badge-outer {
		padding-top: 260px;
	}

	.store-links {
		justify-content: center;
	}

	.eu {
		flex-direction: column;
		align-items: center;
	}

	.img-banner {
		height: 30vh;
	}

	.timeline {
		padding-left: clamp(1.2rem, 2vw, 2rem);
	}

	.timeline::before {
		left: clamp(0.4rem, 1vw, 0.9rem);
	}

	.timeline-card {
		flex-direction: column;
	}

	.timeline-image {
		width: 100%;
		max-width: none;
	}
	.main-cards .card-footer {
		height: 100%;
	}
}

@media (max-width: 767.98px) {
	body {
		font-size: 2em;
	}
	.container,
	.container-md,
	.container-sm {
		width: 95vw !important;
		max-width: 95vw !important;
	}
	.wrapper {
		padding: 1.5rem;
	}

	.navbar-brand img {
		height: 32px;
	}

	.event-badge {
		max-width: 15rem;
		padding: 1rem;
	}

	.timeline {
		padding-left: 1.75rem;
	}

	.timeline::before {
		left: 0.5rem;
	}

	.timeline-item {
		gap: 1rem;
	}

	.timeline-marker {
		margin-top: 0.25rem;
	}
	.main-cards .card-footer {
		height: 100%;
	}
}

@media (max-width: 575.98px) {
	.container,
	.container-md,
	.container-sm {
		width: 95vw !important;
		max-width: 95vw !important;
	}
	.event-badge {
		max-width: 14rem;
		width: min(85vw, 14rem);
		height: min(85vw, 14rem);
	}

	.store-links img {
		height: 40px;
	}

	.img-banner {
		height: 24vh;
	}

	.eu img {
		height: 64px;
	}

	.timeline {
		padding-left: 1.5rem;
	}

	.timeline::before {
		left: 0.35rem;
	}

	.timeline-marker::before {
		width: 0.75rem;
		height: 0.75rem;
	}

	.main-cards .card-footer {
		height: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.event-badge {
		transform: rotate(-10deg);
	}
}
