

        html { scroll-behavior: smooth; }

        body {
            background-color: #000000;
            color: var(--text-primary);
            font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
            line-height: 1.6;
            min-height: 100vh;
        }
a,
a:active,
a:focus,
a:hover {
  color: #012a50;
  text-decoration: none;
}

.container,
.page {
  max-width: 1260px;
  min-height: 100vh;
  background: rgb(7, 1, 59);
  margin: 12px auto;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
  display: flex;
  flex-direction: column;
}
header {
    width: 100%;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, #900 0%, #700 100%);
    border-radius: 6px;

    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center; /* centrage vertical des éléments */
    gap: 1rem;

    padding: 0.5rem 1rem;
}

header a {
    display: flex;
    align-items: center;
    justify-content: center;

}
header img:hover {
transform: scale(1.07);
}
header img {
    display: block;
    max-height: 64px;
    width: auto;
}

header h1 {
    margin: 0;
    font-family: Special_Elite, cursive;
    font-size: clamp(1rem, calc(0.66rem + 3vw), 3.2rem);
    text-transform: uppercase;
    color: #fff7bc;
    display: flex;
    align-items: center;     /* centrage vertical du texte */
    justify-content: center; /* centrage horizontal */
}
        h2 {
           font-family: Special_Elite, cursive;
            font-size: 1.82rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: .1em;
            color: var(--text-muted);
            margin: 2.5rem 0 1.25rem;
            padding-left: .25rem;
        }


.img-thumbnail {
  padding: 0.25rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
}
.text-center {
  text-align: center;
}

.center-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hidden {
display: none;
  }


/* Footer */
#testInitElement{margin-top: 4rem;}
.hr-light {
  height: 1px;
  border: none;
  margin: 2rem auto 1.2rem;
  background: linear-gradient(to right, transparent, #6cb8ff, transparent);
  opacity: 0.8;
}

footer {
  margin: auto auto .5rem;
  background: rgba(15, 18, 35, 0.96);
  padding: 1rem;
  border-radius: 6px;
  max-width: 1230px;
  width: 100%;
  color: whitesmoke;
  font-family: "Roboto", sans-serif;
  font-size: 0.75rem;
  line-height: 1.6;
  border-top: 1px solid rgba(108, 184, 255, 0.15);
}

.footerGrid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.footerGrid>div:first-child {
  text-align: left;
}

.footerGrid>div:nth-child(2) {
  text-align: center;
}

.footerGrid>div:last-child {
  text-align: right;
}

.footerGrid .version {
  opacity: 0.85;
}

.footerGrid a {
  color: #9cb35b;
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.footerGrid a:hover {
  color: #daba70;
  opacity: 1;
}

.author {
  color: rgb(143, 178, 238);
  font-style: italic;
}

@media (max-width: 600px) {
  .footerGrid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footerGrid>div {
    text-align: center !important;
  }
}

/* Fin footer */