*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #fff;
  --fg: #111;
}

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Tinos", "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.1px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: currentColor; }
a:hover { text-decoration: none; }
img { max-width: 100%; display: block; }

/* Header : petite icône retour */
.site-header { padding: 20px; position: fixed; z-index: 1; }
.site-header img { width: 25px; height: auto; }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Footer navigation */
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  color: black;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 20px 0;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover,
.site-footer a[aria-current="page"] { text-decoration: underline; }


@media (max-width: 600px) {
  .site-footer nav { gap: 30px; }
}


/*MOBILE VERSION*/
@media screen and (max-width: 600px) {

  h1 { font-size: 16px; }
  h2 { font-size: 16px; }
  h3 { font-size: 16px; }
  p  { font-size: 16px; }
  a  { font-size: 16px; }
  small  { font-size: 12px; }

  body.about main {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

}