#Equipes > article:nth-of-type(1) {
	height: 500px;
	background-color: #445A3C;
	display:flex;
	justify-content:center;
	align-items: center;
	position: relative;
	overflow: hidden;
}

#Equipes > article:nth-of-type(1) img,
#Equipes > article:nth-of-type(1) h1 {
	position: absolute;
}

#Equipes > article:nth-of-type(1) img:nth-of-type(1) {
	bottom: -20px;
	left: -50px;
	width: 400px;
}

#Equipes > article:nth-of-type(1) img:nth-of-type(2) {
	top: 0px;
	right: 0px;
}

#Equipes > article:nth-of-type(1) img:nth-of-type(3) {
	bottom: -50px;
	right: 150px;
	width: 200px;
}

#Equipes > article:nth-of-type(1) h1 {
	font-size: 80px;
	color: white;
}

@media screen and (max-width: 767px) {
	
	#Equipes > article:nth-of-type(1) {
		height: 300px;
	}
	
	#Equipes > article:nth-of-type(1) h1 {
		font-size: 60px;
		color: white;
	}
	
	#Equipes > article:nth-of-type(1) img:nth-of-type(1) {
		width: 300px;
	}
	
	#Equipes > article:nth-of-type(1) img:nth-of-type(3) {
		display: none;
	}
}

/*============================================================ Equipe ============================================================*/

#Equipe {
	height:600px;
	background-color: #F7F7F7;
	position: relative;
}

#Equipe .text-container {
	position: absolute;
	top: 100px; /* Place le texte à 25% de la hauteur de l'article parent */
	width:500px;
	left: calc(10% + 680px);
}

#Equipe h1 {
	font-size: 60px;
	margin-top:0px;
	margin-bottom: 5px; /* Marge inférieure pour l'espace entre h1 et p */
	color: #445A3C;
}

#Equipe 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 */
}

#Equipe img:nth-of-type(1) {
	position: absolute;
	top: 80px; /* Place l'image au centre de l'article parent */
	left: 10%; /* Décalage de 15% vers la droite */
	width: 650px;
	border-radius: 15px;
}

#Equipe img:nth-of-type(2) {
	position: absolute;
	top: 120px; /* Place l'image au centre de l'article parent */
	right: 6%; /* Décalage de 15% vers la droite */
	width: 280px;
}

@media screen and (min-width: 1550px) and (max-width: 1750px) {
	
	#Equipe .text-container {
		width:500px;
		left: calc(2% + 680px);
	}
	
	#Equipe img:nth-of-type(1) {
		left: 2%; /* Décalage de 15% vers la droite */
		width: 650px;
	}
	
	#Equipe img:nth-of-type(2) {
		right: 2%; /* Décalage de 15% vers la droite */
		width: 300px;
	}
}

@media screen and (min-width: 1420px) and (max-width: 1549px) {
	
	#Equipe .text-container {
		width:500px;
		left: calc(2% + 680px);
	}
	
	#Equipe img:nth-of-type(1) {
		left: 2%; /* Décalage de 15% vers la droite */
		width: 650px;
	}
	
	#Equipe img:nth-of-type(2) {
		right: 2%; /* Décalage de 15% vers la droite */
		top:200px;
		width: 200px;
	}
}

@media screen and (min-width: 1350px) and (max-width: 1420px) {	
	#Equipe img:nth-of-type(2) {
		right: 0;
		left:900px;
		top: 200px;
		width: 300px;
		opacity:0.3;
	}
}

@media screen and (min-width: 1100px) and (max-width: 1349px) {
	#Equipe {
		height:800px;
	}
	
	#Equipe .text-container {
		top: 20px; /* Place le texte à 25% de la hauteur de l'article parent */
		text-align:center;
		width:80%;
		left: 10%;
	}
	
	#Equipe img:nth-of-type(1) {
		top: 330px; /* Place l'image au centre de l'article parent */
		left: 10%; /* Décalage de 15% vers la droite */
		width: 50%;
	}

	#Equipe img:nth-of-type(2) {
		top: 380px; /* Place l'image au centre de l'article parent */
		right: 6%; /* Décalage de 15% vers la droite */
		width: 28%;
	}
}

@media screen and (min-width: 950px) and (max-width: 1099px) {
	#Equipe {
		height:720px;
	}
	
	#Equipe .text-container {
		top: 20px; /* Place le texte à 25% de la hauteur de l'article parent */
		text-align:center;
		width:80%;
		left: 10%;
	}
	
	#Equipe img:nth-of-type(1) {
		top: 330px; /* Place l'image au centre de l'article parent */
		left: 10%; /* Décalage de 15% vers la droite */
		width: 50%;
	}

	#Equipe img:nth-of-type(2) {
		top: 380px; /* Place l'image au centre de l'article parent */
		right: 6%; /* Décalage de 15% vers la droite */
		width: 28%;
	}
}

@media screen and (min-width: 768px) and (max-width: 949px) {
	#Equipe {
		height:720px;
	}
	
	#Equipe .text-container {
		top: 20px; /* Place le texte à 25% de la hauteur de l'article parent */
		text-align:center;
		width:80%;
		left: 10%;
	}
	
	#Equipe img:nth-of-type(1) {
		top: 390px; /* Place l'image au centre de l'article parent */
		left: 10%; /* Décalage de 15% vers la droite */
		width: 50%;
	}

	#Equipe img:nth-of-type(2) {
		top: 380px; /* Place l'image au centre de l'article parent */
		right: 6%; /* Décalage de 15% vers la droite */
		width: 28%;
	}
}

@media screen and (max-width: 767px) {
	
	#Equipe {
		position:static;
		display:flex;
		flex-direction:column-reverse;
		width:100%;
		justify-content:start;
		height:auto;
		padding-bottom:50px;
	}
	
	#Equipe .text-container {
		width:80%;
		text-align:center;
		padding-left:10%;
		top:0;
		left:0;
		position:static;
	}
	
	#Equipe img:nth-of-type(1) {
		position:static;
		top:0;
		left:0;
		margin-top:-40%;
		margin-left:5%;
		width: 90%;
	}
	
	#Equipe img:nth-of-type(2) {
		position:relative;
		top:-300px;
		left:30%;
		width:40%;
		opacity:0.3;
	}
}

/*============================================================ Jobs ============================================================*/
#Jobs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin: 0;
	background-color: #F7F7F7;
}

.card {
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
  margin: 15px;
  margin-bottom: 80px;
  height: 300px;
  width: 18%;
  text-align: center;
}

h2 {
  color: #333333;
  font-size: 50px;
  margin-bottom: 10px;
  margin-top: 10px;
}

#Equipes p {
  color: #666666;
  font-size: 30px;
  margin-bottom: 5px;
  margin-top: 5px;
}

@media screen and (min-width: 1225px) and (max-width: 1450px) {
	.card {
		width: 25%;
	}
}

@media screen and (min-width: 990px) and (max-width: 1224px) {
	.card {
		width: 25%;
	}
}

@media screen and (min-width: 700px) and (max-width: 989px) {
	.card {
		width: 40%;
	}
}

@media (max-width: 699px) {
	.card {
		width: 80%;
		height:auto;
	}
}
