body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    margin: 0;
    background-color: rgb(149, 195, 204);
    /* Revert background to RGB 149, 195, 204 */
    font-family: 'Helvetica', sans-serif;
    /* Set font to Helvetica */
    overflow-y: auto;
}

#instructions {
    max-width: 800px;
    margin-bottom: 20px;
    text-align: left;
    padding: 10px;
    /* Remove background color */
    /* background-color: rgba(255, 255, 255, 0.8); */
    border-radius: 5px;
    font-size: 14px;
    /* Make the text a bit smaller */
    color: rgb(91, 120, 98);
    /* Set text color to RGB 91, 120, 98 */
}

canvas {
    border: 1px solid #000;
    margin-bottom: 10px;
}

#button-container {
    display: flex;
    justify-content: center;
    /* Center the buttons horizontally */
    margin-bottom: 10px;
    /* Add space between buttons and canvas */
}

button {
    padding: 10px 20px;
    font-size: 16px;
    margin: 0 5px;
    /* Horizontal margin to space buttons evenly */
    background-color: rgb(91, 120, 98);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #7C8A52;
    /* Slightly darker shade for hover effect */
}

#loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    /* Initially hidden */
}

.spinner {
    border: 16px solid #f3f3f3;
    /* Light grey */
    border-top: 16px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}