/* palette de couleur */
:root{
    --violet: #8D2AA1;
    --noir: #000000;
    --grisfonce: #2E3249;
    --grismoyen: #555C79;
    --grisclair: #E6E7E8;
}

/* police de caractères*/
@font-face{
    font-family: square;
    src: url(../square_game/SquareGame.otf) format('opentype');
}
@font-face{
  font-family: lucky;
  src: url(../lucky_typewriter/LUCKYTYPEWRITER.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


#body2 {
  background-color: white;
  overflow: hidden;
  height: 100vh;
  position: relative;
}

.image-avocat {
    display: flex;
    margin-top: 10px;
    margin-left: 10px;
    justify-content: left; /* Centre horizontalement */
    align-items: top; /* Centre verticalement */
  }




/* Popup */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border: 3px solid var(--violet);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  text-align: center;
  z-index: 1000;
}

.popup button {
  margin-top: 10px;
  padding: 10px 15px;
  border: none;
  background-color: var(--violet);
  color: white;
  cursor: pointer;
  border-radius: 5px;
}


h1, h2{
  font-family: lucky;
  color: var(--violet);
}
p{
  color: var(--grisfonce);
  font-family: lucky; 
}

/********  indices  ********/
    /* Style du bouton fixe en bas à gauche */
    #openPopupIND {
      position: fixed;
      bottom: 20px;
      left: 20px;
      padding: 10px 20px;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
  }

  /* Style de la popup (initialement cachée) */
  #popup_indice {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 300px;
      background: white;
      padding: 20px;
      box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
      border-radius: 8px;
      text-align: center;
  }

  /* Fond semi-transparent derrière la popup */
  #overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
  }

  /* Bouton fermer */
  #closePopupIND {
      background: var(--grisfonce);
      color: white;
      border: none;
      padding: 8px 15px;
      cursor: pointer;
      border-radius: 5px;
      margin-top: 10px;
  }

  /* Bouton Afficher un indice */
  #showHint {
      background:var(--violet);
      color: white;
      border: none;
      padding: 8px 15px;
      cursor: pointer;
      border-radius: 5px;
      margin-top: 10px;
  }
/********  fin indices  ********/