:root {
  --alive: "";
  --ghost: "";
  --dead: "";
  --unused: "";
  --survivor: "";
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: box-sizing;
          box-sizing: box-sizing;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  top: 0px;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #8f8f8f;
}

body #life {
  height: 100%;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

body #life #player {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
}

body #life #player .coups {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

body #life #player .coups .coup {
  background-color: black;
  color: white;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

body #life #iteration,
body #life #changes,
body #life #scores {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.788);
  border-radius: 1rem;
  padding: 0.2rem 0.5rem;
}

body #life #iteration {
  top: 0;
  right: 0;
}

body #life #changes {
  bottom: 0;
  left: 0;
}

body #life #scores {
  top: 0;
  left: 0;
  background-color: rgba(78, 212, 16, 0.788);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

body #life #scores div {
  position: relative;
  border-radius: 1rem;
  padding: 0.2rem 0.5rem;
}

body #life #game #allcells {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  border-radius: 1rem;
  overflow: hidden;
}

body #life #game #allcells div {
  background-color: rgba(192, 192, 192, 0.062);
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: background-color 0.3s ease, -webkit-transform 0.03s ease;
  transition: background-color 0.3s ease, -webkit-transform 0.03s ease;
  transition: background-color 0.3s ease, transform 0.03s ease;
  transition: background-color 0.3s ease, transform 0.03s ease, -webkit-transform 0.03s ease;
}

body #life #game #allcells div.unused {
  background-color: rgba(0, 0, 0, 0.521);
  -webkit-transform: scale(1);
          transform: scale(1);
  border-radius: 0;
  cursor: initial;
}

body #life #game #allcells div.unused:after {
  content: var(--unused);
}

body #life #game #allcells div.dead {
  -webkit-transform: scale(1);
          transform: scale(1);
}

body #life #game #allcells div.dead:hover {
  background-color: rgba(199, 211, 36, 0.719);
  z-index: +1;
}

body #life #game #allcells div.dead:after {
  content: var(--dead);
}

body #life #game #allcells div.ghost {
  background-color: rgba(46, 0, 0, 0.719);
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
  opacity: 0;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}

body #life #game #allcells div.ghost:after {
  content: var(--ghost);
}

body #life #game #allcells div.survivor {
  background-color: rgba(37, 129, 1, 0.849);
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
}

body #life #game #allcells div.survivor:after {
  content: var(--survivor);
}

body #life #game #allcells div.alive {
  background-color: rgba(0, 0, 0, 0.719);
  cursor: alias;
}

body #life #game #allcells div.alive:hover {
  background-color: rgba(61, 6, 6, 0.719);
  color: white;
  z-index: +1;
}

body #life #game #allcells div.alive:after {
  content: var(--alive);
}

body #life .tools,
body #life .coment {
  margin-top: 1rem;
  position: relative;
  width: 100%;
}

body #life .tools {
  background-color: rgba(255, 61, 2, 0.616);
}

body #life .coment {
  background-color: rgba(2, 40, 255, 0.616);
}

body #life .buttons {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  position: absolute;
  bottom: 0.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: calc((100% / 16) * 36px);
}

body #life .buttons .bt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: calc((100% / 16) * 36);
  height: calc((100% / 16) * 36 * 1px);
  font-size: calc((100% / 16) * 36);
  line-height: 100%;
  cursor: pointer;
}

body #life .buttons .bt.hidden {
  display: none;
}
/*# sourceMappingURL=css.css.map */