#gameUI {
  display: block;
  margin: auto;
  width: 100%;
  max-width: 800px;
  background: white;
  text-align: center;
  border-radius: 30px;
  background-color: rgba(255,255,255, 0.5);
}


#gameCanvas {
  margin: auto;
  display: block;
  max-width: 100%;
  height: auto;
  background: url("../images/road.png") no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
  background-color: white;
}

button {
  font-size: 24px !important;
  padding: 15px 30px !important;
  border-radius: 8px;
}


.controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.controls button {
    min-width: 130px;
}

#speedDisplay {
    min-width: 80px; /* Gives the display space so it doesn't jump when changing values */
    text-align: center;
    font-weight: bold;
}

#status {
    margin: 0 auto 24px;
    max-width: 720px;
    font-size: 1rem;
    color: #222;
    background: rgba(255, 255, 255, 0.85);
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}