
/* ═══════════════════════════════════════════
   RÉGLAGES FACILES — modifie uniquement ici
   ═══════════════════════════════════════════ */
:root {
  --bg:           #ff0000;   /* couleur de fond de la page          */
  --text:         #0000FF;   /* couleur du texte (titre, bio, liens) */
  --btn-bg:       #FFFFFF;   /* fond des boutons de liens            */
  --btn-border:   #DEDBD3;   /* bordure des boutons                  */
  --btn-hover-bg: #FFFF00;   /* fond au survol                       */
  --btn-radius:   6px;       /* arrondi des boutons (0 = carré)      */
}
/* ═══════════════════════════════════════════ */


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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body {
    position: relative;
    min-height: 100vh;
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
}

body::before {
    background: linear-gradient(214deg, #00ff00, #ffff00);
}

body::after {
    background: linear-gradient(214deg, #ffff00, #00ff00);
    animation: crossfade 5s ease infinite alternate;
}

@keyframes crossfade {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}


h1, h2 {
  font-weight: 400;
  letter-spacing: 0.04em;
}

a {
  text-decoration: none;
  color: inherit;
}

strong, b {
  font-weight: 500;
}


/* ─── Layout global ─── */

.global {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 24px 100px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.global img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 28px;
}

.global h1 {
  font-size: 5.05rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 14px;
}

.global p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text);
  opacity: 0.55;
  line-height: 1.75;
  margin: 0;
  max-width: 360px;
}


/* ─── Titres de section ─── */

h2.section-label {
  width: 100%;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.35;
  margin: 36px 0 12px;
  padding: 0;
}


/* ─── Liens ─── */

.content {
  width: 100%;
  max-width: 480px;
  padding-top: 40px;
}

ul.tree {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

ul.tree li {
  list-style: none;
}

ul.tree li a {
  display: block;
  padding: 16px 24px;
  background: var(--btn-bg);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

ul.tree li a:hover {
  background: var(--btn-hover-bg);
  border-color: transparent;
}


/* ─── Footer ─── */

.footer {
  position: fixed;
  bottom: 0;
  background: var(--bg);
  border-top: 1px solid var(--btn-border);
  width: 100%;
}

.footerlongpage {
  position: inherit !important;
}

.footer ul {
  margin: 0;
  padding: 6px 10px 8px;
}

.footer ul li {
  display: inline;
  list-style: none;
}

.footer ul li a {
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--text);
  opacity: 0.35;
}

.footer .right { padding-right: 7px; }
.footer .left  { padding-left: 7px; }

.footer .right ul li a,
.footer .left ul li a {
  padding: 0 8px;
  font-weight: 300;
  font-size: 0.75rem;
}

.footer ul li a:hover { opacity: 0.65; }

.left  { float: left; }
.right { float: right; }
.clear { clear: both; }

.footer ul li a img {
  display: inline-block;
  padding-right: 5px;
}


/* ─── Utilitaires ─── */

.logo {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 5px;
}

.logo h1 {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 1em;
  padding: 0 0 10px;
  color: var(--text);
  opacity: 0.3;
  text-align: center;
  margin: 0;
  margin-right: -1em;
}

.arobase::before {
  content: "\000040";
}

p.codedwithlove {
  margin-top: 200px;
  font-size: 0.8em;
  opacity: 0.4;
}

p.links {
  font-size: 1em;
  margin: 0;
  padding: 0 0 5px;
}

p.links span.author {
  display: inline-block;
  padding-left: 15px;
  font-size: 0.9em;
  opacity: 0.5;
}


/* ─── Responsive ─── */

@media only screen and (max-width: 600px) {

  .global {
    padding: 56px 20px 80px;
  }

  .footer .right ul li a {
    padding-left: 0;
    padding-right: 8px;
  }

  .right,
  .left {
    float: none;
  }

}
