body {
  font-family: Arial, sans-serif;
  font-size: 14px;
  margin: 0;
  padding: 0;
  background-color: grey;
}
#image-3d {
  background-color: grey;
  border: 1px solid black;
  width: 320px;
  height: 200px;
}
#image-preview {
  width: 64px;
  height: 64px;
  border: 1px solid black;
  margin-right: 5px;
  margin-top: 5px;
  cursor: crosshair;
}
.flex {
  display: flex;
  flex-wrap: wrap;
}
#texture-preview {
  background-color: grey;
  border: 1px solid black;
  width: 64px;
  height: 64px;
}
#horizontal-downsampling, #vertical-downsampling {
  color: red;
  padding-left: 8px;
}
.group {
  border: 2px solid black;
  padding: 3px;
  margin: 3px;
  border-radius: 5px;
  background-color: lightgray;
}
.group .group {
  background-color: darkgray;
}
.group-title {
  background-color: white;
  border-bottom: 1px solid black;
  display: flex;
  column-gap: 10px;
}
.group .group .group-title {
  background-color: lightgray;
}
.scaler-input {
  width: 45px;
}
.degree-input {
  width: 60px;
}
.children-disabled {
  pointer-events: none;
  opacity: 0.5;
}
.last-item-right {
  align-self: center;
  margin-right: 3px;
  flex-grow: 3;
  text-align: right;
}
#vertex-color {
  width: 8px;
  height: 8px;
  border: 1px solid black;
  display: inline-block;
  max-width: 8px;
  min-width: 8px;
}
.code {
  font-family: monospace;
}
#selected-pos-vector {
  font-family: monospace;
  font-size: xx-small;
}
.has-tooltip, [title] {
  cursor: help;
  border-bottom: 1px dotted black;
}
[title]::after {
  font-size: larger;
  position: absolute;
  z-index: 1;
  display: none;
  content: attr(title);
  pointer-events: none;
  top: 50%;
  left: 0;
  padding: 0.2em 0.5em;
  background-color: rgb(0, 0, 0, 0.75);
  color: #ffffff;
  border-radius: 5px;
}
[title]:hover::after {
  display: block;
}
.tooltip {
  display: none;
  font-size: x-small;
  position: absolute;
  z-index: 1;
  display: none;
  pointer-events: none;
  top: 50%;
  left: 0;
  padding: 20px 20px;
  background-color: rgb(65, 0, 145);
  color: #ffffff;
  border-radius: 5px;  
}
.tooltip[data-open=true] {
  display: block;
}
.axis-x {
  color: #800000;
  text-transform: uppercase;
}
.axis-y {
  color: #008000;
  text-transform: uppercase;
}
.axis-z {
  color: #000080;
  text-transform: uppercase;
}
