/* Réinitialisation des styles par défaut */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Style de base pour la page */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 20px;
}

/* Style pour le menu de navigation */
nav {
    background-color: #333;
    color: #fff;
    padding: 10px ;
}

/* Style pour les liens du menu */
nav a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
}

/* Style pour l'élément de menu actif */
nav a.active {
    font-weight: bold;
    color: red ;
    /* Autres styles de mise en évidence (par exemple, changer la couleur de fond) */
}

p {
    margin-left: 1rem ;
    margin-bottom: 1 rem ;
    padding: 1rem ;
    line-height: 120% ;
}

img {
    width: 100% ;
}

ul {
    margin-bottom: 2rem ;
    margin: 1rem ;
}

li {
    line-height: 1.5 ;
}

h2 {
    text-align: center ;
    margin-bottom: 2rem ;
    line-height: 1.7 ;
    margin: 1rem ;
    
}

/* main comme conteneur flexible */
main {
    /*
    display: flex ;
    flex-wrap: wrap ;
    justify-content: space-between ;
   */
}

.cartes {
    display: flex ;
    flex-direction: row ;
    flex-wrap: wrap ;
    justify-content: space-around ;
}

.cartes > article {
    /* élément flexible de .cartes */
    flex: 1 ;
    /* est aussi un conteneur flexible vrtical */
    display: flex ;
    flex-direction: column ;
    flex-wrap: nowrap ;
    justify-content: space-between ;
}
    
#infos article {
    max-width: 50% ;
    min-width: 400px ;
    background-color: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#styles article {
    max-width: 50% ;
    min-width: 400px ;
    background-color: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
    
#folklores article {
    max-width: 50% ;
    min-width: 400px ;
    background-color: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.narimane {
    font: italic small-caps bold 130% cursive ;
}

.ajaccio {
    font-style: italic ;
    font-size: 120% ;
}
.video {
    margin: 3% ;
    position: relative ;
}

.video div {
    position: absolute;
    color: rgb(255, 255, 255);
    left: 70%;
    bottom: 2rem;
    background-color: rgb(0, 0, 0, 0);
    padding: 0 1rem;
    font-size: 2rem ;
}
