/* css/spacetravel.css */
/* Styles for the space travel simulation page */

/* Ensure the body takes full screen with no margins or padding */
body {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevent scrolling */
    background-color: black; /* Space background color */
}

/* Canvas styling to cover the entire viewport */
#spaceCanvas {
    display: block;
    width: 100vw;
    height: 100vh;
    cursor: grab; /* Cursor for dragging */
}

#spaceCanvas:active {
    cursor: grabbing;
}

/* HUD styles */
.hud {
    position: absolute;
    top: 10px;
    color: lime; /* Oscilloscope green */
    border: 1px solid lime;
    border-radius: 10px;
    padding: 10px;
    font-family: monospace;
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

.left {
    left: 10px;
}

.right {
    right: 10px;
}

.header {
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
}

/* Buttons container */
#buttons {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

/* Button styles */
button {
    width: 100px;
    height: 40px;
    font-size: 16px;
    cursor: pointer;
    color: black;
    border: 1px solid black;
    background-color: white; /* Default inactive */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hud {
        top: auto;
        bottom: 10px;
    }
}