* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

body {
  background-color:hsl(0, 0%, 0%);
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  color:hsl(0, 0%, 100%);
}

main {
  display: flex;
  width: 100%;
  height: 100%;

  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

canvas {
  width: 100%;
  height: 100%;
}

#stats {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  margin: 0.5rem;
  background-color:hsla(0, 0%, 0%, 0.7);
  width: auto;
  height: 90%;
  padding: 1rem;
  border-radius: 4px;
  overflow: auto;
  scrollbar-width: none; /* Firefox */
}
#stats::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

labels {
  position: fixed;
  bottom: 0.5rem;
  display: flex;
  gap: 0.5rem;
}
labels.left { left: 0.5rem; }
labels.right { right: 0.5rem; }

label {
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: default;
  background-color: hsla(0, 0%, 0%, 0.7);
  color: white;
  border: none;
}

#status {
  transition: opacity 0.5s ease, background-color 0.5s ease;
  opacity: 0;
  background-color: transparent;
}
#status.highlight {
  opacity: 1;
  background-color:hsla(0, 0%, 0%, 0.7);
}
