
@font-face {

	font-family: 'ma_police';
	src: url("../police/Aller_Rg.ttf");
}
@font-face {
	font-family: 'font_titre';
	src: url("../police/BankGothic.ttf"),
		 url("../police/BankGothic.otf");
}
body{
	background-position-y: -50px;
	font-family: ma_police;
	margin: 0px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: justify;
	background: rgba(0,0,0,0.1);
}

.timeline{
	position: relative;
	max-width: 1200px;
	margin: 100px auto;
}
.container{
	padding: 10px 50px;
	position: relative;
	width: 50%;
	
	
}
.text-boxL{
	padding:20px 30px;
	background: #fff;
	position: relative;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	font-size: 15px;
	opacity: 0;
    transform: translateX(-100px); /* Départ hors de l'écran à gauche */
    transition: opacity 0.6s ease-out, transform 1s ease-out; /* Animation au scroll */
    margin-bottom: 20px;
}
.text-boxR{
	padding:20px 30px;
	background: #fff;	
	position: relative;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	font-size: 15px;
	opacity: 0;
	transform: translateX(100px); /* Départ hors de l'écran à gauche */
    transition: opacity 0.6s ease-out, transform 1s ease-out; /* Animation au scroll */
    margin-bottom: 20px;
}
.left-container{
	left: -100px;
}
.right-container{
	left: 50%;
}
	
.container img{
	position: absolute;
	width: 40%;
	border-radius: 50%;
	right: -140px;
	top: -25px;
	z-index: 10;
}
.right-container img{
	left: -140px;
}
.timeline::after{
	content: "";
	position: absolute;
	width: 6px;
	height: 100%;
	background: orange;
	top: 0;
	left: 50%;
	margin-left: -3px;
	z-index: -1;

}
.text-boxL h2{
	display: inline-block;
	margin-bottom: 15px;
}
.text-boxR h2{
	display: inline-block;
	margin-bottom: 15px;
}
.text-boxL img{
	position: static;
	
	width: 100%;
	border-radius: 0;
}
.text-boxR img{
	position: static;
	
	width: 100%;
	border-radius: 0;
}
.left-container-arrow{
	height: 0;
	width: 0;
	position: absolute;
	top: 28px;
	z-index: 1;
	border-top: 15px solid  transparent;
	border-bottom: 15px solid transparent;
	border-left: 15px solid orange;
	right: -15px;
}
.right-container-arrow{
	height: 0;
	width: 0;
	position: absolute;
	top: 28px;
	z-index: 1;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	border-right: 15px solid orange;
	left: -15px;
}
.show{
	opacity: 1;
	transform: translateX(0);
}
.hideL {
    opacity: 0;
    transform: translateX(-100px); /* Sort de l'écran à gauche pour .text-boxL */
    transition: opacity 0.6s ease-out, transform 1s ease-out; /* Animation de sortie */
}
.hideR {
    opacity: 0;
    transform: translateX(100px); /* Sort de l'écran à gauche pour .text-boxL */
    transition: opacity 0.6s ease-out, transform 1s ease-out; /* Animation de sortie */
}

@media  screen and (max-width: 768px) {
	.timeline{
		margin: 50px auto;
	}
	.timeline::after{
		left: 31px;
		margin-top: 5%;
	}
	.container{
		width: auto;
		padding-left: 80px;
		padding-right: 25px;
		margin-top: 5vh;
		left:0	;
	}
	.text-boxL{
		font-size: 13px;
	}
	.text-boxL small{
		margin-bottom: 10px;
	}
	.right-container{
		left: 0;
	}
	.left-container img , .right-container img{
		left :-52px;
		margin-top: 3vh;
	}
	.left-container-arrow , .right-container-arrow{
		border-right: 15px solid orange;
		border-left: 0;
		left: -15px;
	}
	#mobile-nav ul {
        list-style: none;
        padding: 0;
        text-align: left;
    }
	.hideL {
		opacity: 0;
		transform: translateX(-0); /* Sort de l'écran à gauche pour .text-boxL */
		transition: opacity 0.6s ease-out, transform 1s ease-out; /* Animation de sortie */
	}
	.hideR {
		opacity: 0;
		transform: translateX(0); /* Sort de l'écran à gauche pour .text-boxL */
		transition: opacity 0.6s ease-out, transform 1s ease-out; /* Animation de sortie */
	}
}