body{
  font-family:Arial;
  background:#eee;
  display:flex;
  flex-direction:column;
  align-items:center;
  width : 100vw - 2em ;
  height : 100vh - 2em;
  margin: 1em;
  padding: 0;
}
h1{
  height: 1em;
  margin-bottom: 1em;
}
.main {
  width:100%;
  height: calc(100vh - 7.5em);
  display: grid;
  grid-template-columns: 5fr 3fr; 
  grid-template-rows: 1fr 18em;
  gap: 0.5em;

}
#network, #plane {
  width: auto;
  height: 100%;
  background-color: white;  
  border-radius:5px;
  border:1px solid #ccc;
  display: block; 
  box-sizing: border-box; 
  margin: auto;
}
.controle-groupe{
  margin-top:1em;
  display:flex;
  justify-content:flex-start;
  gap: 0.5em;
  box-sizing:border-box;
  overflow-y: auto;
}
.controle{
  min-height: 120px;
  background:#fff;
  padding:10px;
  border-radius:5px;
  border:1px solid #ccc;
  display:flex;
  flex-direction:column;
  align-items:center;
  box-sizing: border-box; 
}
.controle h3, .controle button{
  margin:3px 0 10px 0;
  text-align:center;
  font-size:0.9em;
}
input[type="range"]{
  margin-top: -0.1em;
  box-sizing:border-box;
}
.controle label {
  margin: 3px;
  display: flex;
  font-weight:bold; 
  font-size:0.66em; 
  align-items: center;
  gap: 5px;
}
select{
  /*padding:5px;*/
  border-radius:5px;
  border:1px solid #ccc;
  background:#fff;
}
.wrap {
  flex-wrap: wrap;
}

#truth-table {
  margin-top:10px;
  text-align:center;
  font-family: 'Arial', sans-serif;
}
#truth-table table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 140px;
  font-size: 14px;
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
#truth-table th, #truth-table td {
  border: 1px solid #bbb;
  padding: 6px 10px;
}
#truth-table th {
  background-color: #4CAF50;
  color: white;
}
#truth-table tr:nth-child(even) td {
  background-color: #f9f9f9;
}
#truth-table tr:hover td {
  background-color: #e0f0ff;
  transition: 0.2s;
}