@charset "utf-8";
  body {
    font-family: 'Segoe UI', sans-serif;
    background: #fffaf0;
    color: #333;
    text-align: center;
    padding: 40px;
  }

  h1 {
    color: #7b3f00;
    margin-bottom: 30px;
  }

  .controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    background: #fef4e5;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(123, 63, 0, 0.1);
    margin-bottom: 30px;
  }

  .control-group {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .color-label {
    font-weight: bold;
    margin-bottom: 5px;
  }

  input[type="color"],
  select,
  button {
    margin-top: 5px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
  }

  button {
    background-color: #7b3f00;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
  }

  button:hover {
    background-color: #a85c1a;
  }

  canvas {
    border: 1px solid #ccc;
    margin: 30px auto;
    display: block;
  }

  .legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
  }

  .legend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
  }

  .hexagon {
    width: 40px;
    height: 23px;
    background-color: #ccc;
    position: relative;
    margin-bottom: 5px;
  }

  .hexagon:before,
  .hexagon:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
  }

  .hexagon:before {
    bottom: 100%;
    border-bottom: 11px solid #ccc;
  }

  .hexagon:after {
    top: 100%;
    border-top: 11px solid #ccc;
  }
  
  .sidebar {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.sidebar button {
  background-color: #7b3f00;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.sidebar button:hover {
  background-color: #a85c1a;
}

.history-panel {
  margin-top: 30px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  background: #fef4e5;
  border: 1px solid #d8bfa3;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 0 8px rgba(123, 63, 0, 0.1);
}

.history-panel h3 {
  margin-top: 0;
  color: #7b3f00;
}

#historyList {
  list-style: none;
  padding-left: 0;
  font-size: 14px;
}

#historyList li {
  margin-bottom: 10px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  background: rgba(255,255,255,0.6);
  transition: background 0.3s;
}

#historyList li:hover {
  background: #fff0d8;
}

.titre {
	font-size:19px;
	text-align:center;
	font-weight:600;
}
.Stitre {
	font-size:15px;
	text-align:center;
}
/* CSS Document */

