/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a { 
    color: #36c;
    color: gray;
    text-decoration: none;
}

a:active {
    color: midnightblue;
    color: gray;
}

a:hover {
    text-decoration-line: underline;
}

li {
    margin-top: 1rem;
    text-decoration: none;
}

body {
  background-color: #000;
  color: #fff;
  font-family:'Times New Roman', Times, serif;
  font-family: Arial, Helvetica, sans-serif;
}

/* ---------- Entête ---------- */
.entete {
  text-align: center;
  padding: 1rem 1rem 0;
}
/*menu
.menu {
  margin-top: 0;
  font-size: 0.9rem;
  color: #ccc;
}

.menu a {
  color: #ccc;
  text-decoration: none;
}

.menu a:hover {
  text-decoration: underline;
}*/

.title {
  color: /*#FF00FF*/white;
  font-size: clamp(1.5rem, 8vw, 3rem);
  text-decoration: none;
  font-family: 'Courier New', Courier, monospace;
  font-weight: normal;
}

/*.enjolivure {
  width: 100%;
  height: auto;
  max-width: none; /* force la pleine largeur sur mobile 
  display: block;
  margin: 0 auto;
} 

/* ---------- Contenu principal ---------- */
.title2{
  font-size: clamp(1.2rem, 6vw, 2rem);
  font-family: 'Arial';
  font-weight: lighter;
}
.title3{
  font-family: 'Courier New', Courier, monospace;
  font-weight: lighter;
}

.contenu {
  width: 100%;
  padding: 0 1rem 0;
  list-style: none;
  margin: 0 auto;  
}

.box {
  display: grid;
  background-color: #000;
  border: 1px solid grey;
  border-left: none;
  border-top: none;
  /*padding: 1rem;*/
  padding-right: 1rem;
  padding-bottom: 1rem;
  width: 100%;
  font-family: 'Courier New', Courier, monospace;

}

.deco {
  visibility: hidden;
}

.texte p {
  margin-bottom: 1rem;
  text-align: justify;
  font-size: clamp(0.9rem, 3.5vw, 1rem);
}

.texte em {
  color: #cce0ff;
}

/* ---------- Pied de page ---------- */
.footer {
  text-align: center;
  font-size: clamp(0.75rem, 3vw, 0.9rem);
  padding: 1rem;
  color: #aaa;
}

/* ---------- Responsive : écrans moyens et + (≥768px) ---------- */
@media (min-width: 768px) {
  /* le contenu reste centré, mais on limite la largeur */
  .contenu {
    max-width: 800px;
    padding: 0 2rem 0;
  }

  .box {
    flex-direction: row;
    align-items: flex-start;
    padding-left: 5%;
    padding-right: 5%;
    margin-top: 1rem;

    /*text-justify: auto;*/
  }

  .deco {
  visibility: visible;
}

  .texte {
    flex: 1;
  }

  /* titre plus grand sur desktop */
  .title {
    font-size: clamp(2.5rem, 4vw, 3rem);
  }

  .texte p {
    font-size: 1rem;
  }

  .enjolivure {
    max-width: 500px;
  }
}