/* Variables principales */
:root {
  --primary-color: #6a0dad;   /* Violet principal */
  --secondary-color: #8e44ad; /* Violet secondaire */
  --tertiary-color: #9b59b6;  /* Violet tertiaire */
  --background-color: #000000;
  --text-color: #ffffff;
  --shadow-color: rgba(0,0,0,0.5);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Fira Code', monospace;
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Exemple pour les titres */
h1, h2, h3 {
  font-family: 'Fira Code', monospace;
  font-weight: 500; /* Poids de la police (300 à 700) */
}

/* Liens */
a {
  font-family: 'Fira Code', monospace;
  color: var(--text-color);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Header & Footer */
header, footer {
  background: var(--primary-color);
  color: var(--text-color);
  text-align: center;
  padding: 1rem;
}
header nav a {
  margin: 0 10px;
}

/* === Containers === */

.full-seco,.full-first, .full-terc {
margin-bottom: 30px;
}

.full-seco {
  background: linear-gradient(135deg, #111, var(--primary-color));
  padding: 2rem;
  border-left: 6px solid var(--primary-color);
}
.full-first {
  background: #111;
  padding: 2rem;
  border-top: 6px solid var(--secondary-color);
}
.full-terc {
  background: linear-gradient(90deg, #000, #222);
  padding: 2rem;
  border-bottom: 6px solid var(--tertiary-color);
}

/* === Containers FULL === */
.full-seco {
  background: linear-gradient(135deg, #0d0d17, #1a1a2e); /* sombre avec nuance violette */
  padding: 2rem;
  border-left: 6px solid var(--primary-color);
}

.full-first {
  background: linear-gradient(135deg, #121212, #2a1f3d); /* sombre avec nuance secondaire */
  padding: 2rem;
  border-top: 6px solid var(--secondary-color);
}

.full-terc {
  background: linear-gradient(135deg, #1a0f1f, #332244); /* sombre avec nuance tertiaire */
  padding: 2rem;
  border-bottom: 6px solid var(--tertiary-color);
}

/* === Blocks === */
.block-first, .block-seco, .block-terc, 
.container-block-first > div:first-of-type, .container-block-seco > div:first-of-type, .container-block-terc > div:first-of-type {
  background: #1a1a1a;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Différenciation visuelle */
.block-first, .container-block-first > div:first-of-type { border-left: 5px solid var(--primary-color); }
.block-seco , .container-block-seco > div:first-of-type{ border-left: 5px solid var(--secondary-color); }
.block-terc, .container-block-terc > div:first-of-type { border-left: 5px solid var(--tertiary-color); }

/* Effets hover */
.block-first.block-hover:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px var(--primary-color);
}
.block-seco.block-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px var(--secondary-color);
}
.block-terc.block-hover:hover {
  transform: rotate(-1deg);
  box-shadow: 0 6px 12px var(--tertiary-color);
}
/* Nuances de fond */
.block-first , .container-block-first > div:first-of-type{ 
  background: #1a1a2e; /* gris très foncé violacé */
  border-left: 5px solid var(--primary-color); 
}
.block-seco n, .container-block-seco > div:first-of-type { 
  background: #2a1f3d; /* gris violacé plus doux */
  border-left: 5px solid var(--secondary-color); 
}
.block-terc , .container-block-terc > div:first-of-type{ 
  background: #332244; /* gris-violet chaud */
  border-left: 5px solid var(--tertiary-color); 
}

/* Effets hover */
.block-first.block-hover:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px var(--primary-color);
}
.block-seco.block-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px var(--secondary-color);
}
.block-terc.block-hover:hover {
  transform: rotate(-1deg);
  box-shadow: 0 6px 12px var(--tertiary-color);
}


/* === Table avec class .grid === */
table.grid {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  box-shadow: 0 4px 8px var(--shadow-color);
}
.grid th {
  background: var(--primary-color);
  color: var(--text-color);
  padding: 0.8rem;
  text-align: left;
}
.grid td {
  background: #111;
  padding: 0.8rem;
  border-bottom: 1px solid #222;
}
.grid tr:hover td {
  background: #1f1f1f;
}


.header{
    color:white;
}

#nav-menu-container {
  float: right;
  margin: 0 0 0 0;
}

.nav-menu-container {
    text-align: right;
}

/* ===== MAIN CONTENT ===== */
.mainContent {
  min-height: calc(100vh - 120px);
  padding: 40px 0;
}

a:hover {
    text-decoration: none;
}

#popupNotify{
    background-color:#1a1a2e;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0px 0px 10px 15px rgb(0 0 0 / 10%);
    width: 200px;
    color:white;
}

.btn-primary{
   background-color: var(--metal-color);
   border-color: var(--metal-color);
   color: var(--primary-color)
}

.btn-primary:hover{
     background-color: var(--metal-color);
   border-color: var(--dark-color);
   color: var(--primary-color)
}