/* =========================
   GLOBAL
========================= */

article {
	padding: 60px 0;
}

section p {
	text-align: justify;
	max-width: inherit;
	font-size: 18px;
	line-height: 1.7em;
	margin: 1.5rem auto 1.5em;
}

section p.extrait {
	text-align: center;
	color: black;
	font-family: 'DIN Next LT W04 Medium Cond';
	text-transform: uppercase;
	letter-spacing: 4px;
	max-width: 330px;
	font-size: 24px;
	margin: 0 auto;
}

section hr {
	margin: 1.5em auto;
}

.front {
	position: inherit;
	height: inherit;
	z-index: inherit;
}

nav {
	top:104px;
}

/* =========================
   HERO
========================= */

.hero {
	background: #F3ECE3 url(/img/bg-header-art-de-se-distinguer.jpg);
	background-size: cover;
	border-left: 30px solid white;
	border-right: 30px solid white;
	padding: 10% 0;
}

.hero h1 {
	color: #E3D4C0;
	letter-spacing: 16px;
	text-align: center;
}

/* =========================
   BOX
========================= */

.box {
	margin-top: -150px;
	padding: 60px 40px;
	min-width: 660px;
	background: white;
}

.box svg {
	fill: #333;
	width: 160px;
	display: block;
	margin: auto;
}

/* =========================
   TITRES
========================= */
h2 {
	font-size: 35px;
}

h4 {
	font-size: 20px;
	text-align: center;
	margin: 0 auto 1em;
	background: rgb(0, 0, 0);
	color: white;
	display: inline-block;
	padding: 8px 8px 8px 11px;
}

/* =========================
   NAV TIMELINE (STICKY)
========================= */

.timeline-nav {
	position: relative;
	/* important */
	width: 100%;
	z-index: 100;
	top: 55px;
	background: white;
}

/* état sticky (comme #myNav) */
.timeline-nav.fixed {
	position: fixed;
	top: 90px;
	/* hauteur de ta navbar principale */
	left: 0;
	right: 0;
	z-index: 9999;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.timeline__inner {
	width: 500px;
	margin: 0 auto;
	padding: .5rem 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	border-bottom: 1px solid #e5e5e5;
	position: relative;
}

.timeline__inner a {
	text-decoration: none;
	color: #111;
	font-weight: 700;
	letter-spacing: .06em;
	font-size: 1rem;
	text-transform: uppercase;
}

.timeline__inner a[aria-current="true"] {
	color: #000;
}

.timeline__underline {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 3px;
	width: 56px;
	background: #111;
	transform: translateX(0);
	transition: transform .4s ease;
}

/* =========================
   TIMELINE CONTENT
========================= */

.timeline {
	width: 90%;
	margin: 80px auto;
	position: relative;
	z-index: 1;
}

.timeline::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	width: 2px;
	height: 100%;
	background: #ccc;
	transform: translateX(-50%);
}

.timeline-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 100px 0;
	position: relative;
}


.timeline-item .content {
	padding: 0.5rem 7rem;
}

/* alternance */
.timeline-item.left .content {
	order: 1;
	text-align: center;
}

.timeline-item.left .visual {
	order: 2;
}

.timeline-item.right .content {
	order: 2;
}

.timeline-item.right .visual {
	order: 1;
}

.content,
.visual {
	width: 45%;
}

.visual img {
	width: 100%;
}

/* point central */
.timeline-item::after {
	content: "";
	z-index: 1;
	position: absolute;
	left: 50%;
	width: 12px;
	height: 12px;
	background: #000;
	border-radius: 50%;
	transform: translateX(-50%);
}

/* =========================
   BLOCS IMAGES
========================= */

.packs {
	text-align: center;
	padding: 30px 0;
}

.packs img {
	display: inline-block;
	margin: 8px;
}

#coffrets {
	max-width: 100%;
	height: auto;
}

#event16 {
	margin: 30px 0;
	height: 400px;
	background: url(/img/event5.jpg);
	background-size: cover;
	background-position: 50%;
}

/* =========================
   RESPONSIVE
========================= */
@media screen and (max-width: 1600px) {
	.timeline-item .content {
		padding: 0.5rem 3rem;
	}
}


@media screen and (max-width: 768px) {

	.hero {
		border-left-width: 20px;
		border-right-width: 20px;
	}

	.box {
		padding: 40px 20px;
		min-width: unset;
		width: 100%;
	}

	.timeline::before {
		left: 20px;
	}

	.timeline-item {
		flex-direction: column;
		align-items: flex-start;
		margin-left: 40px;
	}

	.timeline-item .content {
		padding: 0.5rem 0rem;
	}

	.timeline-item.right {
		flex-direction: column-reverse;
	}

	.content,
	.visual {
		width: 100%;
		text-align: left !important;
	}

	.timeline-item::after {
		left: 20px;
		display: none;
	}

	.timeline__inner {
		width: 100%;
		overflow-x: auto;
		justify-content: flex-start;
		padding-left: 20px;
	}

}