html {
  font-size: 22px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ------------------------------
   Styles généraux
------------------------------ */
body {
  background-color: #1a1a1a; /* gris très foncé */
  color: white; /* pour que le texte reste lisible */
}

.section-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  background-color: black;
}

.tile {
  display: block;
  padding: 30px;
  border-radius: 12px;
  color: white;
  text-decoration: none;
  text-align: center;
  font-family: sans-serif;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

  .tile p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
  }

  .tile h2 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
  }

/* ------------------------------
   Couleurs par section
------------------------------ */

.tile-lire {
  background: #3b82f6;
}

.navbar-lire {
  background-color: #3b82f6;
}

.tile-ecouter {
  background: #10b981;
}

.navbar-ecouter {
  background-color: #10b981;
}

.tile-courir {
  background: #f97316;
}

.navbar-courir {
  background-color: #f97316;
}


/* ------------------------------
   Boutons d'années
------------------------------ */

.annees-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
}

.annee-btn {
  padding: 10px 15px;
  background: #3b82f6;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
}

.navbar-eclico {
  background-color: #1a1a1a; /* gris très foncé */
  color: white;
}

/* ------------------------------
   Boutons Back vers niveau 1
------------------------------ */

.back-button {
  position: absolute;
  top: 10px;
  right: 10px;
}

  .back-button a {
    display: inline-block;
    padding: 6px 10px;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
  }

.back-lire a {
  background-color: #3b82f6; /* bleu Lire */
}

.back-lire a:hover {
  background-color: #2563eb;
}

.back-courir a {
  background-color: #f97316; /* orange Courir */
}

  .back-courir a:hover {
    background-color: #ea580c;
  }

.back-ecouter a {
  background-color: #10b981; /* vert Écouter */
}

  .back-ecouter a:hover {
    background-color: #059669;
  }

