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

body {
  background: #ffffff;
  font-family: 'typochoisie', sans-serif;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: "ibm-plex-mono", sans-serif;
font-weight: 400;
font-style: normal;
}

.cadre {
  width: 90vw;
  max-width: 1100px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rangee {
  display: flex;
  flex-direction: row;
  gap: 6px;
  flex-shrink: 0;
}

.rangee .keyword {
  flex: 1;
}

.milieu {
  display: flex;
  flex-direction: row;
  gap: 6px;
  flex: 1;
  min-height: 0;
}

.colonne {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 130px;
  flex-shrink: 0;
}

.colonne .keyword {
  flex: 1;
}

.image-display {
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#image-principale {
  width: 100%;
  display: block;
  transition: transform 0.1s ease;
}


.keyword {
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 10px 5px;
  border: none;
  background: #ffffff;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.keyword:hover {
  background: black;
  color: white;
}

.keyword.active {
  background: #ff0000;
  color: white;
  font-family: "ibm-plex-mono", sans-serif;
font-weight: 700;
font-style: italic;
}

#historique {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 120px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 6px;
  overflow-y: auto;
}