body {
    font-family: Arial, sans-serif;
    background-color: #faf3dd; /* Light yellow background */
    margin: 0;
    padding: 0;
  }
  
  #container {
    text-align: center;
    margin-top: 20px;
  }
  
  h1 {
    color: #574d45; /* Dark brown heading */
  }
  
  label {
    color: #574d45; /* Dark brown label text */
  }
  
  input[type="number"],
  input[type="button"] {
    padding: 8px 15px;
    font-size: 16px;
    border: none;
    background-color: #b7a16d; /* Sand-like color for input fields */
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  input[type="number"]:hover,
  input[type="button"]:hover {
    background-color: #96855f; /* Darker sand color on hover */
  }
  
  canvas {
    border: 2px solid #574d45; /* Dark brown border around canvas */
    background-color: #efe7cf; /* Light brown background for the grid */
  }
  /* Your existing CSS styles */

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  