body {
  font-family: monospace;
}
#dropzone {
  position: fixed;
  top: 20px;
  bottom: 20px;
  left: 20px;
  right: 20px;
  border: 2px dashed #aaa;
  padding: 40px;
  margin-bottom: 20px;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}

#dropzone-dropped {
  border: 2px dashed #aaa;
  padding: 40px;
  margin-bottom: 20px;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}

table {
  border-collapse: collapse;
  /* width: 100%; */
}
h1 {
  text-align: center;
  color: #333;
}
th,
td {
  border: 1px solid #ccc;
  padding: 6px;
  text-align: center;
  font-family: monospace;
  max-width: 40px;
  font-size: 20px;
}

th {
  /* background-color: #f2f2f2; */
  font-size: 24px;
  writing-mode: sideways-lr;
  text-align: justify;
  padding-bottom: 10px;
}

td {
  height: 30px;
  overflow: hidden;
}

td:first-child,
th:first-child {
  max-width: none;
  width: 1px;
  white-space: nowrap;
  font-size: 12px;
}

td:not(:first-child):hover {
  transform: scale(1.5);
  z-index: 2;
  position: relative;
  background: #000;
  color: #fff;
  transition: transform 0.2s ease-in-out;
}

svg {
  color: inherit;
  fill: currentColor;
  /* overwrite the inner svg width, becuase it causes weird outline issues */
  width: 1em !important;
}

svg:active {
  /* fixes this weird rendering issue */
  height: 1em !important;
}

td:not(:first-child):active {
  transform: scale(15);
  z-index: 2;
  position: relative;
  background: #fff;
  color: #000;
  transition: transform 0.2s ease-in-out;
  overflow: unset;
  max-width: fit-content;
}

#dropzone-spinner-style {
  font-size: 2em;
  animation: spin 1s linear infinite;
  display: inline-block;
  pointer-events: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
