* {
  margin: 0px;
  padding: 0px;
  outline: none;
  box-sizing: border-box;
  font-family: Helvetica, sans-serif;
}

html,
body,
.container {
  height: 100%;
}

.container {
  padding: 10px;
  display: flex;
  justify-content: center;
}

.inner-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.title {
  font-size: 38pt;
}

.board {
  width: 300px;
  height: 300px;
  border: 1px solid;
  display: grid;
  grid-template-columns: repeat(3, 100px);
  grid-template-rows: repeat(3, 100px);
  margin-top: -30px;
}

.cell {
  border: 1px solid;
  font-size: 56pt;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-size: cover;
  background-repeat: no-repeat;
}

.cell > img {
  width: 100%;
}

.bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 30px;
  height: 80px;
}

.player {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bottom > button {
  padding: 10px;
  background: none;
  border: 2px solid rgba(0, 0, 0, 0.5);
  font-size: 13pt;
  color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 3px;
  transition: all 0.3s ease;
}

.bottom > button:hover {
  color: #000;
  border-color: #000;
  letter-spacing: 10px;
}

.winner-message {
  display: none;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  font-size: 72pt;
  background-color: rgba(255, 255, 255, 0.92);
}

@media screen and (max-width: 430px) {
  .winner-message {
    font-size: 48pt;
    text-align: center;
  }
}
