body {
  overflow-x: hidden;
}

.hex-row:nth-child(even) {
  margin: -12px 0 -12px 42px;
}

.hex-tile {
  width: 40px;
  height: 46px;
  margin: 1px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hex-tile.anchor {
  outline: 2px solid white;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
  position: relative;
}

.hex-tile.anchor::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: black;
  border-radius: 50%;
}

.hex-tile.anchor:hover {
  transform: none;
  z-index: auto;
}

@media (max-width: 600px) {
  .hex-tile {
    width: 30px;
    height: 35px;
  }

  .hex-row:nth-child(even) {
    margin: -9px 0 -9px 32px;
  }

  #controls,
  #level-controls {
    flex-direction: row;
  }
}

#room-info {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
}