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

body {
  background: rgb(20, 20, 20);

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 50px;
  box-sizing: border-box;

  font-family: monospace;
  font-size: large;
  color: white;
}

#layout {
  display: flex;
  gap: 32px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#game {
  width: 100%;
  height: 100%;
  background: rgb(20, 20, 20);

  position: relative;

  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: center;

  gap: 10px;
}

#auth-panel {
  position: absolute;
  top: 10px;
  right: 10px;
}

#auth-button {
  padding: 8px 12px;
  cursor: pointer;
}

.game-menu {
  display: flex;
  align-content: flex-start;
  flex-direction: column;
}

.game-menu-button {
  width: 48px;
  height: 48px;

  background: transparent;
  border: none;

  cursor: pointer;

  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.game-menu-button:hover .game-menu-icon {
  fill: gray;
}

.game-menu-button:active {
  transform: scale(0.95);
}

.game-menu-icon {
  width: 32px;
  height: 32px;

  fill: white;

  transition: fill 0.15s ease;
}

.score-info {
  display: flex;
  justify-content: space-between;
}

canvas {
  background: gray;
  border: 2px solid white;
}
