


#grid {
    position: fixed;
    display: grid;
    top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
    grid-template-columns: repeat(85, 1fr);
    grid-template-rows: repeat(60, 1fr);
    gap: 1px;
    z-index: 0;
  }
  
  .cell {
    width: 12px;
    height: 12px;
    background: rgb(238,238,238);
    border: 1px solid #ddd;
    transition: background 0.1s ease;
  }
  
  .cell.alive {
    background-color: rgba(120, 178, 195, 0.346);
  }
  
  #controls {
    position:fixed;
    bottom: 0;
    right:0;
    
    z-index: 3;
    display: flex;
    gap: 10px;
  }

  .pauseButton {
    width: 220px;
    height: 50px;
    color: #090909;
    font-family: monospace;
    font-size: 20px;
    border-radius: 0.5em;   
    background: #e8e8e884;
    cursor: pointer;
  font-weight: bold;
    transition: all 0.3s;
    box-shadow: 6px 6px 12px#ffffff , -2px -2px 4px #c5c5c5;
    text-align: center;        /* horizontal centering */
    line-height: 50px;   
  }
  
  .pauseButton:active {
    color: #666;
    box-shadow: inset 2px 2px 6px #9a9a9a, inset -4px -4px 12px  #ffffff;
  }
  


