body {
    font-family: "Courier New", Courier, monospace;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Full height */
    color: white;
    font-weight: bold;
}

/* Navbar styling */
nav {
    background-color: #620ca0; /* Purple */
    padding: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 1rem; /* space between items */
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Main content takes all available space */
.main {
    flex: 1;
    padding: 3rem 500px;
    background-color: #7a16bd;
}

h1 {
    font-size: 50px;
}

canvas {
    background-color: white;
    display: block;
    margin: 0 auto;
}

/* Footer styling */
footer {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
        sans-serif;
    font-weight: normal;
    background-color: #620ca0; /* Purple */
    color: white;
    text-align: center;
    padding: 1rem;
}

#clear {
    margin-top: 10px;
}

#btnContainer {
    display: flex;
    justify-content: space-between;
}

#btnContainer button {
    margin: 5px;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 30px;
}

#loadExampleBtn {
    min-width: 150px;
    padding: 10px 20px;
    font-size: 16px;

    display: flex;
    justify-content: center;
    align-items: center;

    white-space: nowrap;
    box-sizing: border-box;
}

.choices {
    color: #3d3d3d;
    font-weight: bolder;
    font-size: larger;
    width: 200px;
}
