/* Styles généraux */
body {
 
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    text-align: center;
	align-items: center;
	
}

/* Titre principal */
h1 {
    font-size: 1.5rem;
	font-family: 'Georgia', 'Times New Roman', serif;
	text-decoration: underline 2px solid #28a745;
	text-underline-offset: 5px;
	font-family: 'Georgia', 'Times New Roman', serif;
	 font-variant: small-caps;
    margin-top: 20px;
    color: #333;
	font-family: ;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2));
	
}

/* Sous-titre */
.subtitle {
	width: 100%;
display: block;
    font-size: 1.3rem;
font-family: 'Source Sans Pro', sans-serif;
	 font-variant: small-caps;
    color: #357361bd;
    margin-bottom: 30px;
    /* font-style: italic; */
	padding-top:5px;
	text-align:center;
		background: white;
		padding-left:5px;
		padding-right:5px;
		padding-bottom:5px;
		border-radius:5px;
		font-weight: 600;

}

/* Contenu standard */
.standard-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
	   box-sizing: border-box;  /* Ajouté pour éviter le débordement */
}

.content-item {
    width: 100%;
    max-width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 20px;
	text-align: center;
	 display: flex;
    flex-direction: column;
    justify-content: space-between;  /* Répartit l'espace entre le contenu */
    min-height: 250px;  /* Hauteur minimum pour éviter les étirements excessifs */
}

/* Ajout d'une règle spécifique pour les images dans les content-items */
.content-item img {
    width: 100%;
    height: auto;
    max-height: 150px;  /* Limite la hauteur des images pour éviter qu'elles prennent trop de place */
    margin-bottom: 15px;  /* Marge sous l'image */
}




.content-item h3 {
    font-size: 22px;
    color: #007BFF;
}

.content-item p {
    font-size: 16px;
    color: #333;
}

/* Conteneur des cartes */
.card-container {
    display: none; /* Par défaut, les cartes sont cachées */
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

/* Carte */
.card {
	font-size: 18px;
    width: 100%;
    max-width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
	text-align: center;
}

/* Image de la carte */
.card img {
	padding-top:50px;
    width:30%;
    height: auto;
    border-bottom: 1px solid #ddd;
	 justify-content: center;
	  display: block; 
	  margin: 0 auto;
	
}

/* Contenu de la carte */
.card-content {
    padding: 15px;
	text-align: center;
}

.card-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #0F7270;
}

.card-content p {
    font-size: 16px;
    color: #333;
}

/* Effet de survol */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive : Affichage des cartes à partir de 768px */
@media (max-width: 768px) {
    .standard-content {
        display: none; /* Masque le contenu standard */
    }

    .card-container {
        display: flex; /* Affiche les cartes */
    }

    .card {
        max-width: 90%;
        margin-bottom: 20px;
    }
}
