
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
    text-align: center;
}

h1 {
    margin: 20px 0;
   font-size: 14px; /*  size rajoutée AR*/
}
/* CONTENEUR PRINCIPAL */
.container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; /* permet le passage en colonne sur petit écran */
    padding: 20px;
}

/* STYLE DES FIGURES */
figure {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 0;
    width: 280px;
    margin: 10px;
  
}

figure img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

figcaption {
    margin-top: 10px;
    font-size: 14px;
}

/* Styles spécifiques */
.f1 {
    border-top: 5px solid #2e86c1;
}

.f2 {
    border-top: 5px solid #c0392b;
}

/* ===== RESPONSIVE ===== */

/* Smartphone */
@media screen and (max-width: 768px) {

    .container {
        flex-direction: column;
        align-items: center;
    }

    figure {
        width: 90%;
    }

}



/* Smartphone -----------------------------------------------*/
@media screen and (max-width: 767px) {

.menu {
    display: flex;
    flex-direction: column;
    }	
	}

/* Tablette ---------------------------------------------------*/
@media screen and (min-width: 768px) and (max-width: 1023px) {
	
	  .menu {
        flex-direction: row;
        justify-content: space-between;
    }
	}

/* PC ------------------------------------------------------*/
@media screen and (min-width: 1024px) {
	
	.menu {
        flex-direction: row;
        justify-content: space-between;
    }
	}
    
