body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
}

body {
    background-image: url('mars_bg.webp');
    background-size: cover;
    background-position: center;
}

.puzzle-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7); /* Adds slight transparency */
    padding: 20px;
}

h1, p, table, input, button {
    margin: 10px 0;
}

table {
    margin: 0 auto;
    border-collapse: collapse;
}

td {
    padding: 10px;
    border: 1px solid white;
}

input {
    padding: 10px;
    width: 200px;
    font-size: 16px;
}

button {
    padding: 10px 20px;
    background-color: #28a745;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

.hidden {
    display: none;
}
body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
}

body {
    background-image: url('oxygen_bg.jpg'); /* Background for Oxygen Levels */
    background-size: cover;
    background-position: center;
}

.puzzle-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    position: relative; /* Added for positioning button */
}

.emergency-button {
    width: 100px; /* Set width */
    height: 100px; /* Set height */
    background-color: red; /* Initial color */
    border-radius: 50%; /* Make it round */
    position: absolute; /* Position it absolutely */
    left: 50%; /* Center horizontally */
    top: 50%; /* Center vertically */
    transform: translate(-50%, -50%); /* Adjust for centering */
    cursor: pointer; /* Change cursor on hover */
    animation: blink 1s infinite; /* Add blinking animation */
}

@keyframes blink {
    0%, 100% { background-color: red; } /* Red at start and end */
    50% { background-color: darkred; } /* Dark red in between */
}

.green {
    background-color: green; /* Change to green */
    animation: none; /* Stop the animation */
}


@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

.hidden {
    display: none;
}

button {
    padding: 10px 20px;
    background-color: #28a745;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}
