body {
    margin: 0;
    overflow: hidden;
    font-family: 'Comic Sans MS', cursive; /* Child-friendly font */
    background-color: #fcdfcd; /* Background color for the whole page */
  }
  
  header {
    background-color: #f8a05c; /* Header background color */
    padding: 20px;
    text-align: center;
    border-bottom: 4px solid #e87730;
  }
  
  h1 {
    margin: 0;
    font-size: 36px;
    color: #fff; /* Header text color */
  }
  
  #maze {
    position: relative;
    width: 600px; /* Increased width for a larger maze */
    height: 600px; /* Increased height for a larger maze */
    border: 4px solid #4caf50; /* Border color for the maze */
    background-color: #fff; /* Background color for the maze */
    border-radius: 20px; /* Rounded corners for the maze */
  }
  
  .cell {
    position: absolute;
    width: 30px; /* Cell width */
    height: 30px; /* Cell height */
    border: 1px solid #4caf50; /* Border color for cells */
    
  }
  
  .wall {
    background-color: #4caf50; /* Color for walls */
  }
  
  .obstacle {
    background-color: #ffd700; /* Color for obstacles */
  }
  
  #avatar {
    position: absolute;
    width: 30px; /* Avatar width */
    height: 30px; /* Avatar height */
    background-color: #007bff; /* Avatar color */
    border-radius: 50%;
  }
  
  .emoji {
    position: absolute;
    font-size: 24px; /* Emoji font size */
    color: #dc3545; /* Emoji color */
  }
  
  .congrats-message {
    position: absolute;
    top: 20px; /* Adjust top position */
    left: calc(50% - 150px); /* Center horizontally */
    width: 300px; /* Set width for message */
    padding: 20px; /* Add padding */
    background-color: #4caf50; /* Background color for congratulatory message */
    border-radius: 10px; /* Add border radius */
    text-align: center; /* Center text */
    font-size: 28px; /* Font size for the congratulatory message */
    color: #fff; /* Text color for congratulatory message */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow */
  }
  