body {
  width: 100%;
  height: 100%;
  font: 14px "Century Gothic", Futura, sans-serif;
  margin: 0px;
  padding: 0px;
  background: #4A012B;
  background: -webkit-linear-gradient(top left, #4A012B, #014154);
  background: -moz-linear-gradient(top left, #4A012B, #014154);
  background: linear-gradient(top left, #4A012B, #014154);
  background-attachment: fixed;
  background-size: cover;
}

.game {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.game-board {
  border-radius: 10px;
  box-shadow: 0px 10px 20px 13px rgb(0 0 0 / 78%);
  margin-top: 5vh;
  background: transparent;
  background: -moz-linear-gradient(top left, #19010F, #010713);
  background: -moz-linear-gradient(top left, #4A012B, #014154);
}

.board-row:after {
  clear: both;
  content: "";
  display: table;
}

.square {
  width: 200px;
  height: 200px;
  background: #05080a;
  border: 0px solid;
  border-radius: 8px;
  float: left;
  font-size: 134px;
  box-shadow: 12px 15px 20px 0px rgb(52 52 52 / 20%);
  font-weight: bold;
  line-height: 34px;
  text-align: center;
  margin: 20px 25px;
  padding: 0;
  text-align: center;
}

.square:focus {
  outline: none;
}

.res {
  display: none;
  position: fixed;
  background-color: #000000b0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 5rem;
  flex-direction: column;
  text-align: center;
  z-index: 99;
}

.res.show {
  display: flex;
}

.res-res {
  font-size: 3rem;
  background-color: white;
  border: 0px solid black;
  padding: .25em .5em;
  cursor: pointer;
  border-radius: 8px;
}

.res-res:hover {
  background-color: black;
  color: white;
}

.res-res:focus {
  outline: none;
}

@media only screen and (max-height: 700px) and (max-width: 1400px) {
  .square {
    width: 150px;
    height: 150px;
  }
}

@media only screen and (min-width: 2000px) {
  .square {
    width: 200px;
    height: 200px;
    font-size: 134px;
    margin: 20px 25px;
    box-shadow: 12px 15px 20px 0px rgba(46, 61, 73, 0.5);
  }

  .res {
    font-size: 5rem;
  }

}

@media only screen and (max-width: 830px) {
  .square {
    width: 150px;
    height: 150px;
    font-size: 114px;
    margin: 18px 18px;
    box-shadow: 12px 15px 20px 0px rgba(46, 61, 73, 0.5);
  }

  .res {
    font-size: 3rem;
  }
}

@media only screen and (max-device-width: 695px) {
  .square {
    width: 110px;
    height: 110px;
    font-size: 70px;
    margin: 15px 15px;
    box-shadow: 12px 15px 20px 0px rgba(46, 61, 73, 0.5);
  }
}

@media only screen and (max-device-width: 495px) {
  .square {
    width: 90px;
    height: 90px;
    font-size: 70px;
    margin: 12px 12px;
    box-shadow: 12px 15px 20px 0px rgba(46, 61, 73, 0.5);
  }
}

@media only screen and (max-width: 480px) {
  .square {
    width: 70px;
    height: 70px;
    font-size: 40px;
    margin: 10px 10px;
    box-shadow: 12px 15px 20px 0px rgba(46, 61, 73, 0.5);
  }
}

@media only screen and (max-device-width: 300px) {
  .square {
    width: 50px;
    height: 50px;
    font-size: 33px;
    margin: 10px 10px;
    box-shadow: 12px 15px 20px 0px rgba(46, 61, 73, 0.5);
  }
}
