html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

body {
  display: flex;
  flex-direction: column;
  text-align: center;
  background-color: black;
  color: white;
}

main {
  width: auto;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  align-items: center;
  justify-content: center;
}

button {
  border: none;
}

button.submit {
  cursor: pointer;
  padding: 5px 10px 5px 10px;
  font-family: "Times New Roman";
  font-size: 20px;
}

.tile {
  width: 32px;
  height: 32px;
  background: url("./img/tile.png");
  background-size: 100% 100%;
}

@media (min-width: 640px) {
  .tile {
    width: 64px;
    height: 64px;
  }
}

.options {
  position: absolute;
  top: 5px;
  right: 5px;
}

#go-back {
  position: fixed;
  top: 5px;
  left: 5px;
}

#infos {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  text-align: center;
  justify-content: space-between;
}

#infos > * {
  margin-left: auto;
  margin-right: auto;
}

.buttons {
  display: grid;
  justify-content: space-between;
  align-content: center;
  grid-auto-flow: column;
  width: 100%;
}

#go-back {
  background: url("./img/back.png");
  background-size: 100% 100%;
}

button#consent-button {
  background: url("./img/consent.png");
  background-size: 100% 100%;
}

button#message-button {
  background: url("./img/message.png");
  background-size: 100% 100%;
}

#smiley {
  background: url("./img/smiley.png");
  background-size: 100% 100%;
}

#flag_mode {
  background: url("./img/flag.png");
  background-size: 100% 100%;
}

/* #consent-yes { */
#play-button {
  color: blue;
  text-decoration: underline;
  font-weight: bold;
}

#stats-player-id {
  font-size: 10px;
}

textarea#message {
  width: 300px;
  height: 300px;
}

div .row-of-buttons {
  display: flex;
}

footer#message-footer {
  font-size: 12px;
}
