* {
 padding: 0;
 margin: 0;
}
body {
    background-color: aqua;
}
@media (max-width: 400px) {
  #gameCanvas {
    justify-content: center;
    display: block;
    align-items: center;
    background: #eeeeee;
    margin: 0 auto;
    min-height:  50vh;

    
}
button {
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  border: none;
  border-radius: 50px;
  color: white;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(106, 142, 251, 0.4);
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106, 142, 251, 0.6);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(106, 142, 251, 0.4);
}

.button {
  display: flex;           /* ← this was the problem! */
  justify-content: center; /* center horizontally */
  align-items: center;   
}


}
#gameCanvas {
    justify-content: center;
    display: block;
    align-items: center;
    background: #eeeeee;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
           
        
    
}
button {
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  border: none;
  border-radius: 50px;
  color: white;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(106, 142, 251, 0.4);
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106, 142, 251, 0.6);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(106, 142, 251, 0.4);
}

.button {
  display: flex;           /* ← this was the problem! */
  justify-content: center; /* center horizontally */
  align-items: center;   
}

.center-text {
  text-align: center;
}

.mt-5 {
  margin-top: 10px;
}

.mb-5 {
  margin-bottom: 10px;
}

