
canvas {
    background-color: black;
    touch-action: none; /* Disable default touch behavior */
    display: block;
    margin: 0 auto; /* Center canvas */
  
}body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #002147; /* Dark blue background */
  color: white; /* White text for score */
}

#gameCanvas {
  border: 1px solid white;
  touch-action: none; /* Prevent default touch actions */
}

.wall {
  background-color: blue; /* Darker blue walls*/
}




.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.modal-content, .tutorial-content {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    text-align: center;
    animation: slideIn 0.5s forwards; /* Animation on modal entry */
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal:not(.hidden) {
    opacity: 1;
}

.tutorial-steps {
    margin: 20px 0;
}

.step {
    margin: 10px 0;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background: #007BFF; /* Bootstrap primary color */
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #0056b3; /* Darker shade on hover */
}

@keyframes slideIn {
    from {
        transform: translateY(-50%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}