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

/* Corps de la page */
html, body {
    margin:0;
  padding:0;
  font-family: 'Roboto', sans-serif;
  font-size:1em;  
    line-height: 1.6;
	scroll-behavior: smooth;
}

img, picture, video {
  max-width: 100%;
  height: auto;
}

/* Header */

header {
    background-color: #333;
    color: #fff;
    padding: 1rem;
	text-align:center;
}

header img{
	width:100%;
	border-radius:100px;
}

/* -----------------------
   Global - Tous les liens du site
----------------------- */
a {
    color: #ffffff; /* Couleur de base pour tous les liens */
    text-decoration: none;
    font-weight: bold;
}

a:visited {
    color: #ffffff; /* Même couleur pour les liens déjà visités */
}

a:hover {
    color: #FFD700; /* Doré au survol */
}

a:active {
    color: #FFA500; /* Orange pendant le clic */
}

/* Lien actif  */
a.active {
    color: #00FFAA; /* Vert turquoise pour la page active (modifiable) */
}


/* -----------------------
   Navigation
----------------------- */
.navigation ul {
    display: flex;
    justify-content: center;
    justify-items: center;
    padding: 0;
    margin: 0;
    gap: 1%;
}

.navigation ul li {
    list-style: none;
    padding: 0.5rem;
    border: solid red 1px;
}

/* Contenu principal */

main {
    padding: 2rem;
}

article{
	margin:0 auto;
}

section {
    margin-bottom: 2rem;
	padding:0.8rem;
}

/* Texte*/

h2 {
    margin-bottom: 1rem;
    color: #333;
}

.centrer{
	text-align:center;
}

/* Footer */

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

/*========================= Divers ===============*/

/*séparation*/

 .separation{
 margin:2rem 0 0 2rem;
 }
 
 hr{
  border: none;
  height: 3px;
  width: 80%;
  margin: 20px auto;
  background-image: repeating-linear-gradient(
    to right,
    #666,
    #666 8px,
    transparent 8px,
    transparent 16px
  ); 
 }

/* =============  Responsivité =================== */


/*  écrans moyens à petits */
@media (max-width: 768px) {
    .navigation ul {
        gap: 0.5rem;
    }

    .navigation ul li {
        padding: 0.4rem 0.8rem;
    }

    .navigation ul li a {
        font-size: 0.95rem;
    }
}

/* Responsive : très petits écrans */
@media (max-width: 480px) {
    .navigation ul {
        gap: 0.3rem;
    }

    .navigation ul li {
        padding: 0 0.2rem 0 0.2rem;
    }

    .navigation ul li a {
        font-size: 0.85rem;
    }
}

    main {
        padding: 1rem;
    }
}