#Animations > article:nth-of-type(1) {
	height: 500px;
	background-color: #445A3C;
	display:flex;
	justify-content:center;
	align-items: center;
	position: relative;
	overflow: hidden;
}

#Animations > article:nth-of-type(1) img,
#Animations > article:nth-of-type(1) h1 {
	position: absolute;
}

#Animations > article:nth-of-type(1) img:nth-of-type(1) {
	bottom: -20px;
	left: -50px;
	width: 400px;
}

#Animations > article:nth-of-type(1) img:nth-of-type(2) {
	top: 0px;
	right: 0px;
}

#Animations > article:nth-of-type(1) img:nth-of-type(3) {
	bottom: -50px;
	right: 150px;
	width: 200px;
}

#Animations > article:nth-of-type(1) h1 {
	font-size: 80px;
	color: white;
}

@media screen and (max-width: 767px) {
	
	#Animations > article:nth-of-type(1) {
		height: 300px;
	}
	
	#Animations > article:nth-of-type(1) h1 {
		font-size: 60px;
		color: white;
	}
	
	#Animations > article:nth-of-type(1) img:nth-of-type(1) {
		width: 300px;
	}
	
	#Animations > article:nth-of-type(1) img:nth-of-type(3) {
		display: none;
	}
}

/*============================================================ Animation ============================================================*/

#Animation {
	height:600px;
	background-color: #F7F7F7;
	position: relative;
}

#Animation .text-container {
	position: absolute;
	top: 100px; /* Place le texte à 25% de la hauteur de l'article parent */
	width:500px;
	left: calc(10% + 680px);
}

#Animation h1 {
	font-size: 60px;
	margin-top:0px;
	margin-bottom: 5px; /* Marge inférieure pour l'espace entre h1 et p */
	color: #445A3C;
}

#Animation 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 */
}

#Animation img:nth-of-type(1), #Animation img:nth-of-type(2) {
	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;
}

#Animation img:nth-of-type(3) {
	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) {
	
	#Animation .text-container {
		width:500px;
		left: calc(2% + 680px);
	}
	
	#Animation img:nth-of-type(1), #Animation img:nth-of-type(2) {
		left: 2%; /* Décalage de 15% vers la droite */
		width: 650px;
	}
	
	#Animation img:nth-of-type(3) {
		right: 2%; /* Décalage de 15% vers la droite */
		width: 300px;
	}
}

@media screen and (min-width: 1420px) and (max-width: 1549px) {
	
	#Animation .text-container {
		width:500px;
		left: calc(2% + 680px);
	}
	
	#Animation img:nth-of-type(1), #Animation img:nth-of-type(2) {
		left: 2%; /* Décalage de 15% vers la droite */
		width: 650px;
	}
	
	#Animation img:nth-of-type(3) {
		right: 2%; /* Décalage de 15% vers la droite */
		top:200px;
		width: 200px;
	}
}

@media screen and (min-width: 1350px) and (max-width: 1420px) {	
	#Animation img:nth-of-type(3) {
		right: 0;
		left:900px;
		top: 200px;
		width: 300px;
		opacity:0.3;
	}
}

@media screen and (min-width: 1100px) and (max-width: 1349px) {
	#Animation {
		height:800px;
	}
	
	#Animation .text-container {
		top: 20px; /* Place le texte à 25% de la hauteur de l'article parent */
		text-align:center;
		width:80%;
		left: 10%;
	}
	
	#Animation img:nth-of-type(1), #Animation img:nth-of-type(2) {
		top: 330px; /* Place l'image au centre de l'article parent */
		left: 10%; /* Décalage de 15% vers la droite */
		width: 50%;
	}

	#Animation img:nth-of-type(3) {
		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) {
	#Animation {
		height:720px;
	}
	
	#Animation .text-container {
		top: 20px; /* Place le texte à 25% de la hauteur de l'article parent */
		text-align:center;
		width:80%;
		left: 10%;
	}
	
	#Animation img:nth-of-type(1), #Animation img:nth-of-type(2) {
		top: 330px; /* Place l'image au centre de l'article parent */
		left: 10%; /* Décalage de 15% vers la droite */
		width: 50%;
	}

	#Animation img:nth-of-type(3) {
		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) {
	#Animation {
		height:720px;
	}
	
	#Animation .text-container {
		top: 20px; /* Place le texte à 25% de la hauteur de l'article parent */
		text-align:center;
		width:80%;
		left: 10%;
	}
	
	#Animation img:nth-of-type(1), #Animation img:nth-of-type(2) {
		top: 390px; /* Place l'image au centre de l'article parent */
		left: 10%; /* Décalage de 15% vers la droite */
		width: 50%;
	}

	#Animation img:nth-of-type(3) {
		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) {
	
	#Animation {
		position:static;
		display:flex;
		flex-direction:column-reverse;
		width:100%;
		justify-content:start;
		height:auto;
		padding-bottom:50px;
	}
	
	#Animation .text-container {
		width:80%;
		text-align:center;
		padding-left:10%;
		top:0;
		left:0;
		position:static;
	}
	
	#Animation img:nth-of-type(1), #Animation img:nth-of-type(2) {
		position:static;
		top:0;
		left:0;
		margin-top:-40%;
		margin-left:5%;
		width: 90%;
	}
	
	#Animation img:nth-of-type(3) {
		position:relative;
		top:-300px;
		left:30%;
		width:40%;
		opacity:0.3;
	}
}

/*============================================================ Les activités ============================================================*/

#Activite{
	background-color: #F7F7F7;
}

#Activite > article:nth-of-type(1){
	display:flex;
	justify-content:center;
	flex-wrap:wrap;
	width:80%;
	margin:auto;
	text-align:center;
}

#Activite > article:nth-of-type(1) > h1{
	font-size: 60px;
	width:100%;
	margin-top:0px;
	margin-bottom: 5px; /* Marge inférieure pour l'espace entre h1 et p */
	color: #445A3C;
}

#Activite > article:nth-of-type(1) > p{
	font-size: 30px;  /* Marge inférieure pour l'espace entre h1 et p */
	margin-top: 0;
}

#Activite > article:nth-of-type(2){
	display:flex;
	justify-content:center;
	flex-wrap:wrap;
}

.card {
  background-color: #E8DEC7;
  width: 80%;
  border-radius: 10px;
  padding:10px;
  margin-bottom:20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  position: relative;
}

.card .image-container {
  width: 30%;
  border-radius: 10px;
  overflow: hidden; /* Empêche le débordement de l'image lors du zoom */
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.2);
  transform-origin: center center; /* Zoom interne depuis le coin supérieur gauche de l'image */
}
.card > div:nth-of-type(2){
	padding-left:20px;
	width:70%;
}

.card h2 {
	font-size: 50px;
	width:100%;
	margin-top:0px;
	margin-bottom: 5px; /* Marge inférieure pour l'espace entre h1 et p */
	color: #293133;
}

.card > div:nth-of-type(2) > div {
	font-size: 30px;
	width:100%;
	margin:0;
	margin-bottom:20px;
}

/* Date en bas à droite */
.card p:last-child {
  position: absolute;
  font-size: 30px;
  bottom: 5px;
  right: 20px;
  margin: 0;
}

@media screen and (min-width: 768px) and (max-width: 1350px) {
  #Activite > article:nth-of-type(2){
		justify-content:space-evenly;
	}
  
  .card {
    width: 40%;
	flex-direction: column;
    align-items: center;
  }

  .card .image-container {
    width: 95%;
    margin-bottom: 10px;
  }

  .card > div:nth-of-type(2) {
    padding-left: 0;
    text-align: center;
  }

  .card h2 {
    font-size: 30px;
  }

  .card > div:nth-of-type(2) > div {
    font-size: 20px;
  }

  /* Date en bas à droite */
  .card p:last-child {
    font-size: 20px;
    bottom: 5px;
    right: 5px;
    margin: 0;
    transform: none;
  }
}

@media (max-width: 767px) {
  .card {
    flex-direction: column;
    align-items: center;
  }

  .card .image-container {
    width: 100%;
    margin-bottom: 10px;
  }

  .card > div:nth-of-type(2) {
    padding-left: 0;
    text-align: center;
  }

  .card h2 {
    font-size: 30px;
  }

  .card > div:nth-of-type(2) > div {
    font-size: 20px;
  }

  /* Date en bas à droite */
  .card p:last-child {
    font-size: 20px;
    bottom: 5px;
    right: 5px;
    margin: 0;
    transform: none;
  }
}

/*============================================================ Planning ============================================================*/

#Planning{
	background-color: #F7F7F7;
	display:flex;
	justify-content:center;
	flex-wrap:wrap;
	width:100%;
	margin:auto;
	text-align:center;
	padding-bottom: 30px;
}

#Planning h1{
	font-size: 60px;
	width:90%;
	margin-bottom:0;
	color: #445A3C;
}

#Planning img{
	width:60%;
	border-radius:15px;
}