* {
  font-family: 'Roboto Condensed', sans-serif;
}
a {
  color: steelblue;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h2,
h3 {
  margin-top: 2rem;
}
body {
  margin: 1rem 1rem 50rem 1rem;
}
.mnistLinkBox {
  margin: 1rem 0 2rem 0;
}
.thumbnailBox {
  margin: 1rem 1rem 1rem 0;
}
.thumbnailBox canvas {
  margin-right: 4px;
}
.testBox {
  margin: 1rem 0;
  display: flex;
  gap: 1rem;
}
.inferenceBox {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.inference {
  min-width: 142px;
  height: 106px;
  border: 1px solid #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32pt;
}
.accuracy {
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9pt;
  padding: 0.5rem;
}
.output {
  margin-top: 2px;
  background-color: #ccc;
  font-size: 9pt;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.editors {
  width: 100%;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.editorBox {
  width: 142px;
}
canvas.small {
  width: 28px;
  height: 28px;
  border: 1px solid #aaa;
}
.editorBox canvas.big {
  width: 140px;
  height: 140px;
  border: 1px solid #aaa;
}
.editorBox .labelBox {
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.editorBox .labelBox span {
  display: inline-block;
  font-size: 9pt;
  margin: 4px;
}
.editorBox .labelBox input {
  margin: 4px;
  width: 4rem;
  text-align: center;
  font-size: 9pt;
}
.editorBox .labelBox button {
  margin: 4px;
  font-size: 9pt;
}
.control {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}
.control > button,
.control > input {
  padding: 0.5rem 1rem;
}
.control .label,
.control .epoch {
  width: 3rem;
}
table {
  border: 0;
  border-spacing: 0;
  font-size: 9pt;
}
td {
  margin: 0;
  padding: 2px 8px;
  min-width: 30px;
  text-align: center;
}
th {
  background-color: #eee;
  padding: 2px 6px;
  border: 1px solid #ccc;
}
