html, body {
  margin: 0;
  padding: 0;
}

canvas {
  display: block;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto Mono','RobotoMono Nerd Font', 'Iosevka', 'Fira Code', monospace;
  background-color: #1e1e1e;
  color: #d4d4d4;
}
p.subtle {
  color: #808080;
  font-size: 0.9em;
  font-style:italic;
}
input{
  background-color: #252526;
  color: #d4d4d4;
  border: 1px solid #3c3c3c;
  padding: 4px;
  font-family: 'Roboto Mono','RobotoMono Nerd Font', 'Iosevka', 'Fira Code', monospace;
  font-size: 1em;
}
/* custom checkboxes to match inputs/buttons */
input[type="checkbox"]{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 1.5em;
  height: 1.5em;
  margin: 0 6px 0 0;
  padding: 0;
  border: 1px solid #3c3c3c;
  background-color: #252526;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  box-sizing: border-box;
}

input[type="checkbox"]:hover{
  background-color: #45454a;
  cursor: pointer;
}
input[type="checkbox"]:active{
  background-color: #2a2a2f;
}
input[type="checkbox"]:focus{
  outline: 2px solid rgba(79,195,247,0.18);
  outline-offset: 2px;
}

/* checked state: filled with accent */
input[type="checkbox"]:checked{
  background-color: #4fc3f7;
  border-color: #4fc3f7;
}

/* indeterminate state */
input[type="checkbox"]:indeterminate{
  background-color: #ffb74d;
  border-color: #ffb74d;
}
input[type="checkbox"]:indeterminate::after{
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  width: 8px;
  height: 2px;
  background: #1e1e1e;
}

/* disabled */
input[type="checkbox"]:disabled{
  opacity: 0.6;
  cursor: default;
}

/* make labels clickable and consistent */
label {
  cursor: pointer;
  user-select: none;
}
button{
  background-color: #303036;
  color: #d4d4d4;
  border: 1px solid #3c3c3c;
  padding: 4px;
  margin: 4px 0;
  font-family: 'Roboto Mono','RobotoMono Nerd Font', 'Iosevka', 'Fira Code', monospace;
  font-size: 1em;
}
.small{
  font-size: 0.8em;
}
.displaynone{
  display: none;
}
#benchmark{
  height: 250px;
/*  background-color: #252526; */
  padding: 8px;
  /*border: 1px solid #3c3c3c;*/
  margin-top: 8px;
}
#fpsChart{
  max-width: 100%;
  height: 100%;
}
button:hover{
  background-color: #45454a;
  cursor: pointer;
}
button:active{
  background-color: #2a2a2f;
}
a{
  color: #4fc3f7;
}
a:visited {
  color: #81c784;
}
a:hover {
  color: #ffb74d;
}

canvas {
  display: block;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}
.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.gallery-item img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border: none;
  border-radius: 4px;
}
.caption {
  margin-top: 10px;
  font-size: 14px;
  color: white;
}