body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f0f0f0;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

input {
    padding: 10px;
    width: 80%;
    max-width: 400px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

canvas {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#result {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    color: #333;
}

/* Media queries voor verschillende schermformaten */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    input {
        width: 90%;
        font-size: 16px;
    }
    
    button {
        width: 80%;
        max-width: 300px;
    }
    
    #result {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 20px;
    }
    
    input {
        width: 95%;
        font-size: 14px;
    }
    
    button {
        width: 90%;
        font-size: 14px;
    }
    
    #result {
        font-size: 18px;
    }
} 