body {
    background: black;
    color: #DDDDDD;
    font-family: courier new;
    text-align: center;
  }

  button{
    display: block;
    width: 80%;
    height: 30px;
    margin-right: auto;
    margin-left: auto;
  align-items: center;
  background-color: #fff;
  border: 2px solid #000;
  box-sizing: border-box;
  color: #000;
  cursor: pointer;
  fill: #000;
  font-family: Inter,sans-serif;
  font-size: 16px;
  font-weight: 600;
  height: 48px;
  justify-content: center;
  letter-spacing: -.8px;
  line-height: 24px;
  min-width: 140px;
  outline: 0;
  padding: 0 17px;
  text-align: center;
  text-decoration: none;
  transition: all .3s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}


/* @media (min-width: 768px) {
  .button-59 {
    min-width: 170px;
  }
} */
  
  h1 {
    text-align: center;
    font-size: 4vh;
    font-weight: normal;
    margin-bottom: 5px;
  }
  #grid {
    margin-left: auto;
    margin-right: auto;
  }
  
  #grid TR TD{
    border:1px solid white;
    background: #999999;
    width: 4vh;
    height: 4vh;
    text-align: center;
    font-size: 18px;
  }
  
  #grid TR TD.clicked {
      background: #333333;
      font-size: 20px;
      border: none;
      pointer-events: none;
  }
  
  #grid TR TD.mine {
      background: #FF0000;
  }

  #timer{
    height: 4vh;
    font-size: 20px;
    margin-bottom: 5px;
    margin-top: 5px;
  }

  .offscreen {
    visibility: hidden;
    opacity: 0;
    /* transition:visibility 1s linear,opacity 1s ease-out 1s;   */
  }

  .screen {
    padding-top: 30px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    transition:visibility 1s linear,opacity 1s ease-out 1s;  
  }

    .screen h1 {
      font-size: 22px;
      font-weight: bold;
      margin-top: 10vh;
      margin-bottom: 5vh;
    }

    .screen span {
      margin-left: 20px;
      margin-right: 20px;
    }

    .screen div {
      width: 350px;
      margin-right: auto;
      margin-left: auto;
    }
    .row-score {
      display: block;
    }
    .score-row {
      margin-bottom: 15px;
    }