body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

#game-container {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.shrink-image {
    max-width: 50%;  /* Ensure the image does not exceed its container's width */
    height: auto;    /* Maintain the aspect ratio */
    margin-bottom: 10px;  /* Add some margin below the image */
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #ad0000;
    color: #fff;
    border: none;
    border-radius: 5px;
    margin: 10px auto;  /* Center the button horizontally */
}

button:hover {
    background-color: #ff0000;
}

#clock-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

#clock-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

#action-container {
    margin-top: 20px;
    text-align: center; /* Center the button */
}

/* Style for the "Reduce Power" button */
#reduce-power-button {
    display: none; /* Hide the button by default */
    background-color: #e74c3c; /* Red color */
    color: #fff;
    border: none;
    border-radius: 75%; /* Make it circular */
    padding: 15px 20px;
    font-size: 16px;
    cursor: progress;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for a button-like appearance */
}

#reduce-power-button:hover {
    background-color: #c0392b; /* Darker red on hover */
}

/* Add this CSS for the modal window */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 70%;
    max-width: 600px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}