body {
    font-family: Arial, sans-serif;
    background: #f0f4f8;
    color: #333;
    text-align: center;
    padding: 30px;
  }
  
  h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
  }
  
  canvas {
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-bottom: 20px;
  }
  
  button {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  button:hover {
    background-color: #27ae60;
  }
  
  #resultado {
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #34495e;
  }
  