body {
  font-family: arial;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#totalCounter {
  font-size: xxx-large;
  font-weight: bold;
  margin-top: 1em;
}

#totalCounterLabel {
  font-size: larger;
  margin-bottom: 1em;
}

.topbar {
  display: flex;
  justify-content: space-between;
  background-color: gainsboro;
}

.horizontal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.horizontal-list li {
  display: inline-block;
  padding: 4px;
  
}

.topbar-button {
  cursor: pointer;
  border-radius: 2px;
  border: 1px solid gainsboro;
}

.topbar-button:hover {
  background-color: antiquewhite;
  border: 1px solid gray;
}

#playerStateDisplay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  font-size: larger;
}

#gameCanvas {
  display: block;
}

.resizable {
  margin: 0 auto;
  position: relative;
}

.resize-handle {
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: 0;
  cursor: se-resize;
  width: 10px;
  height: 10px;
  display: block;
}


#statusBar {
  background-color: black;
  font-size: small;
  color: white;
}

#statusBar a {
  text-decoration: none;
  font-weight: bold;
  color: white;
}

#statusBar ul {
  margin-right: 2em;
}

#statusBar li {
  margin-right: 1em;
}