/* Reset très léger */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Page */
body {
  font-family: 'Futura Std', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  color: #111;
  background: #f7f7f7;
}

header {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fff;
}

/* Haut de page */
header img {
  width: 48px;
  height: 48px;
}

#nameBox {
  display: inline-block;
  margin-left: 0.75rem;
  vertical-align: middle;
}

.pageTitle {
  font-size: 1.8rem;
  font-weight: 700;
}

.authors {
  font-size: 0.9rem;
  color: #666;
}

/* Navigation */
nav ul {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: #111;
  font-size: 0.95rem;
}

nav a:hover {
	background-color: #111;
  color: #fff;
}

/* Contenu */
article {
  margin-top: 2rem;
}

#banner {
  text-align: center;
}

#banner hr {
  margin: 1rem 0 1.5rem;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.subtitle {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.75rem;
}

.textContent {
  font-size: 0.95rem;
}

/* Footer */
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer a {
  color: #111;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.pageTitle{
    font-family: 'Futura Std', sans-serif;  
    text-transform: uppercase;
    font-weight: 900;
    font-size: x-large;
    text-align: center;
}

.authors {
    font-family: 'Futura Std', sans-serif;  
    text-transform: capitalize;
    text-align: justify;
}

/* Container des icônes */
.icon-grid {
    display: grid;
    /* 10 items in 4 columns = 3 rows (roughly square aspect ratio) */
    grid-template-columns: repeat(4, 1fr); 
    gap: 1rem;
    
    /* Centers the grid itself */
    width: fit-content; 
    margin: 1rem auto;
}

/* Images */
.icon-grid img {
    height: 64px;
    width: 64px; /* Forces images to be square */
    object-fit: contain;
}

#illustration {
  height: 20%;
  width : 20%;
}

/* Aller vers le bas */
.scroll-down-btn {
    text-decoration: none;
    font-size: 2rem;
    color: #333;
    display: inline-block;
    margin-bottom: 1rem;
    transition: color 0.2s;
}

.scroll-down-btn:hover {
    color: #d80000;
}

.selFlag {
  height: 1em;  
  width: auto;
  vertical-align: middle;
  margin-right: 0.5rem;
  margin-bottom: 2px;
}