html,
body,
.game,
.camera,
.interface {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.hidden {
  visibility: hidden;
}

button {
  background-color: #e5e5e5;
  height: 2em;
  margin: auto;
  width: 100%;
  border: none;
  border-radius: 2px;
  border-bottom: 3px solid rgb(124, 124, 124);
}

button:hover {
  text-decoration: underline;
}

button:active {
  background-color: #fca311;
  border-bottom: 1px solid #845408;
}

.interface {
  padding: 10px;
}

.interface > * {
  background-color: rgba(255, 255, 255, 0.75);
}

.interface .specific {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 20em;
  margin: 1em;
  display: grid;
  grid-auto-flow: row;
  grid-template-rows: auto auto auto 1fr;
  border: 1px solid black;
}

.interface .specific > *:not(:last-child, button) {
  border-bottom: 1px solid black;
}

.interface .specific canvas {
  width: 100%;
}

.interface .specific .tag {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.75);
  border: 1px solid black;
}

.interface .specific .title {
  text-align: center;
  margin: 0;
  padding: 0.5em 0;
}

.interface .specific .generations {
  overflow-x: auto;
  overflow-y: hidden;
}

.interface .specific .generations * {
  white-space: nowrap;
  margin: 0 0.5em;
  width: fit-content;
}

.close {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 2em;
  height: 2em;
  background-color: red;
  border-bottom-color: rgb(114, 0, 0);
}

.follow {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 2em;
  height: 2em;
  background-image: url("./location.png");
  background-size: 75%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgb(0, 204, 255);
  border-bottom-color: rgb(0, 125, 156);
}

.camera > canvas {
  position: absolute;
  top: 0;
  left: 0;
}
