#Presentation > article:nth-of-type(1) {
	height: 720px;
	background-color: #445A3C;
	position: relative;
	overflow: hidden;
}

#Presentation > article:nth-of-type(1) img,
#Presentation > article:nth-of-type(1) .text-container {
	position: absolute;
}

#Presentation > article:nth-of-type(1) img:nth-of-type(1) {
	bottom: -20px;
	left: -50px;
	width: 500px;
}

#Presentation > article:nth-of-type(1) img:nth-of-type(2) {
	top: 0;
	right: 0;
}

#Presentation > article:nth-of-type(1) img:nth-of-type(3) {
	bottom: 0;
	right: 0;
}

#Presentation > article:nth-of-type(1) .text-container {
	top: 0px;
	height:auto;
	left: 15%; /* Décalage de 15% vers la gauche */
	color: #fff; /* Couleur du texte (blanc dans cet exemple) */
	width: calc(73% - 800px); /* Largeur ajustée en fonction de l'image */
}

#Presentation > article:nth-of-type(1) .text-container h1 {
	font-size: 60px;
	margin-bottom: 5px; /* Marge inférieure pour l'espace entre h1 et p */
}

#Presentation > article:nth-of-type(1) .text-container p {
	font-size: 30px;  /* Marge inférieure pour l'espace entre h1 et p */
	margin-top: 0;
	word-wrap: break-word; /* Permet au texte de revenir à la ligne */
}

#currentImg, #nextImg {
	position: absolute;
	top: 55%; /* Place l'image au centre de l'article parent */
	right: 10%; /* Décalage de 15% vers la droite */
	transform: translateY(-50%); /* Centre l'image verticalement */
	width: 800px;
	height:530px;
	border-radius: 15px;
    transition: opacity 1s ease-in-out;
}


/*=========================================================== Article n°2 =====================================================================*/
#Presentation > article:nth-of-type(2) {
    height: 800px;
    display: flex;
	align-items:start;
}

#Presentation > article:nth-of-type(2) .text-container {
    width: 50%;
	padding-left:2%;
	padding-right:5%;
	padding-top:100px;
}

#Presentation > article:nth-of-type(2) .img-container {
    display: flex;
    justify-content: flex-end;
    width: 50%;
	padding-top:60px;
	padding-left:10%;
}

#Presentation > article:nth-of-type(2) img {
    width: 700px;
    border-radius: 15px;
}

#Presentation > article:nth-of-type(2) .text-container h1 {
	font-size: 60px;
	margin-top:0px;
	margin-bottom: 5px;
	color: #445A3C;
}

#Presentation > article:nth-of-type(2) .text-container p {
	font-size: 30px; 
	margin-top: 0;
	word-wrap: break-word; 
}


/*=========================================================== Article n°3 =====================================================================*/
#Presentation > article:nth-of-type(3) {
	position: relative;
	background-color: #E9DEC7;
	height: auto;
}

#Presentation > article:nth-of-type(3) > img {
	position: absolute;
	top: -200px; /* Place l'image au centre de l'article parent */
	width: 100%;
	height: 200px;
	z-index: -1;
}

#Presentation > article:nth-of-type(3) > section {
	display: flex;
	justify-content: space-evenly;
	text-align: start;
	flex-wrap: wrap;
	padding-top: 50px;
}

#Presentation > article:nth-of-type(3) > section > article {
	width: 350px;
	display: flex;
	justify-content: center;
	margin-bottom: 50px;
}

#Presentation > article:nth-of-type(3) > section > article > article {
	width: 350px;
	height: auto;
	background-color: white;
	border-radius: 15px;
	box-shadow: 10px 10px 10px rgba(0, 0, 0, .15);
	display: flex;
	flex-direction: column; /* Aligne les éléments enfants en colonne */
	justify-content: space-between; /* Place les éléments enfants en bas */
	padding-bottom: 20px;
}

#Presentation > article:nth-of-type(3) > section > article > article > img {
	height: 250px;
	width: 100%;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
}

#Presentation > article:nth-of-type(3) > section > article > article > h1 {
	margin: 0;
	color: #445A3C;
	font-size: 35px;
	text-align: center;
	margin-bottom: 10px;
}

#Presentation > article:nth-of-type(3) > section > article > article > p {
	margin: 5px 0 0 0;
	color: black;
	font-size: 25px;
	padding-left:10px;
}

#Presentation > article:nth-of-type(3) > section > article > article > a{
	width: 140.5px;
	align-self: center;
	margin-top: auto;
}

#Presentation > article:nth-of-type(3) > section > article > article > a > button {
	background-color: #445A3C;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.3s ease; /* Transition pour l'effet hover */
}

#Presentation > article:nth-of-type(3) > section > article > article > a > button:hover {
    background-color: #5E7D58; /* Couleur de fond différente au survol */
}

/* Media queries pour les grands écrans (à partir de 1200 pixels de large) */
@media screen and (min-width: 1621px) and (max-width: 1760px) {
	#Presentation > article:nth-of-type(1) .text-container {
		left: 10%; /* Décalage de 15% vers la gauche */
		width: calc(80% - 800px); /* Largeur ajustée en fonction de l'image */
	}
}



/* Media queries pour les grands écrans (à partir de 1200 pixels de large) */
@media screen and (min-width: 1200px) and (max-width: 1620px) {
	
	#Presentation > article:nth-of-type(1) .text-container {
		left: 5%; /* Décalage de 15% vers la gauche */
		width: calc(90% - 800px); /* Largeur ajustée en fonction de l'image */
	}
	
	#currentImg, #nextImg {
		position: absolute;
		top: 55%; /* Place l'image au centre de l'article parent */
		right: 5%; /* Décalage de 15% vers la droite */
		transform: translateY(-50%); /* Centre l'image verticalement */
		width: 800px;
		border-radius: 15px;
	}
		
	#Presentation > article:nth-of-type(3) > section > article {
		width: 541px;
	}
	
	#Presentation > article:nth-of-type(3) > section > article > article {
		width: 520px;
	}
	
	#Presentation > article:nth-of-type(3) > section > article > article > img {
		height: 350px;
	}
}

/* Media queries pour les écrans de taille moyenne (entre 768 et 1199 pixels de large) */
@media screen and (min-width: 768px) and (max-width: 1199px) {
	
	#Presentation > article:nth-of-type(1){
		height:1000px;
	}
	
	#Presentation > article:nth-of-type(1) .text-container {
		width:80%;
		left:10%;
	}
	
	#currentImg, #nextImg {
		transform:none;
		width:80%;
		height:auto;
		top:320px;
	}
	
	#Presentation > article:nth-of-type(2) {
		flex-direction:column-reverse;
		width:80%;
		justify-content:start;
		padding-left:10%;
		height:auto;
		margin-bottom:250px;
	}
	
	#Presentation > article:nth-of-type(2) .text-container {
		width: 100%;
		padding-left:0;
		padding-right:0;
		padding-top:50px;
	}
	
	#Presentation > article:nth-of-type(2) .img-container {
		display: flex;
		justify-content: center;
		width: 100%;
		padding-top:0;
		padding-left:0;
	}
	
	#Presentation > article:nth-of-type(2) img {
		width:90%;
	}
	
	#Presentation > article:nth-of-type(3) > section > article {
		width: 400px;
	}
	
	#Presentation > article:nth-of-type(3) > section > article > article {
		width: 400px;
	}
}

@media screen and (min-width: 585px) and (max-width: 767px) {
	#currentImg, #nextImg {
		transform:none;
		width:80%;
		height:auto;
		top:300px;
	}
	
	#Presentation > article:nth-of-type(1){
		height:800px;
	}
}

@media screen and (max-width: 584px) {
	#currentImg, #nextImg {
		transform:none;
		width:80%;
		height:auto;
		top:400px;
	}
	
	#Presentation > article:nth-of-type(1){
		height:800px;
	}
}

/* Media queries pour les petits écrans (jusqu'à 767 pixels de large) */
@media screen and (max-width: 767px) {
	
	#Presentation > article:nth-of-type(1) .text-container {
		width:80%;
		left:10%;
	}
	
	#Presentation > article:nth-of-type(1) .text-container h1 {
		margin-top:10px;
	}
	
	#Presentation > article:nth-of-type(1) img:nth-of-type(3) {
		display:none;
	}	
	
	#Presentation > article:nth-of-type(2) {
		flex-direction:column-reverse;
		width:80%;
		justify-content:start;
		padding-left:10%;
		height:auto;
		margin-bottom:250px;
	}
	
	#Presentation > article:nth-of-type(2) .text-container {
		width: 100%;
		padding-left:0;
		padding-right:0;
		padding-top:50px;
	}
	
	#Presentation > article:nth-of-type(2) .img-container {
		display: flex;
		justify-content: center;
		width: 100%;
		padding-top:0;
		padding-left:0;
	}	
	
	#Presentation > article:nth-of-type(2) img {
		width:90%;
	}
	
	#Presentation > article:nth-of-type(3) > section > article {
		width: 100%;
	}
	
	#Presentation > article:nth-of-type(3) > section > article > article {
		width: 80%;
	}
}