
button {
    padding: 5px 15px;
    font-family: monospace;
    font-size: 14px;
    cursor: pointer;
    background: #333;
    color: #fff;
    border: 2px solid #555;
  }

button:hover { background: #555; }

/* Mobile controls container */
#mobile-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 10px auto;
  text-align: center;
}

/* Buttons default size */
#mobile-controls button {
  width: 80px;
  height: 80px;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: transparent;
  color: #ffb86b;
  border: 1px solid #ffb86b;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  image-rendering: pixelated;
  transition: all 0.2s ease-in-out;
}

#mobile-controls button:active {
  background-color: blue;
}


/* --- Mobile scaling --- */
@media screen and (max-width: 800px) {
  /* Mobile buttons */
  #mobile-controls {
    display: flex !important;          /* show buttons on small screens */
    justify-content: center;
    gap: 10vw;
  }

  #mobile-controls button {
    width: 25vw;
    height: 25vw;
    font-size: 5vw;
  }

  /* Hide header on mobile */
  h1 {
    display: none;
  }
}