body {
  background: #fbf8ef;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  font-family: sans-serif;
  font-size: 24px;
  font-weight: 900;
  display: flex;
  overflow: hidden;
}

.field-cell {
  color: #776e65;
  box-sizing: border-box;
  -webkit-user-select: none;
  user-select: none;
  background: #d6cdc4;
  border-radius: 5px;
  width: 75px;
  height: 75px;
}

.game-field {
  border-spacing: 10px;
  background: #bbada0;
  border-radius: 5px;
  display: flex;
  position: relative;
}

.game-field__tbody {
  width: 100%;
  height: 100%;
  position: relative;
}

.tile {
  z-index: 1;
  color: #776e65;
  box-sizing: border-box;
  text-align: center;
  vertical-align: center;
  -webkit-user-select: none;
  user-select: none;
  transition-property: top left color, background-color;
  border-radius: 5px;
  width: 75px;
  height: 75px;
  line-height: 75px;
  transition-duration: .2s;
  position: absolute;
}

.tile--2 {
  background: #eee4da;
}

.tile--4 {
  background: #ede0c8;
}

.tile--8 {
  color: #f9f6f2;
  background: #f2b179;
}

.tile--16 {
  color: #f9f6f2;
  background: #f59563;
}

.tile--32 {
  color: #f9f6f2;
  background: #f67c5f;
}

.tile--64 {
  color: #f9f6f2;
  background: #f65e3b;
}

.tile--128 {
  color: #f9f6f2;
  background: #edcf72;
}

.tile--256 {
  color: #f9f6f2;
  background: #edcc61;
}

.tile--512 {
  color: #f9f6f2;
  background: #edc850;
}

.tile--1024 {
  color: #f9f6f2;
  background: #edc53f;
}

.tile--2048 {
  color: #f9f6f2;
  background: #edc22e;
}

.game-header {
  box-sizing: border-box;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 24px;
  padding: 10px;
  display: flex;
}

h1 {
  color: #f9f6f2;
  box-sizing: border-box;
  background: #edc22e;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  width: 75px;
  height: 75px;
  margin: 0;
  font-size: 24px;
  display: flex;
}

.info {
  color: #776e65;
  box-sizing: border-box;
  background: #d6cdc4;
  border-radius: 5px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 75px;
  height: 75px;
  margin: 0;
  font-size: 16px;
  display: flex;
}

.button {
  cursor: pointer;
  color: #f9f6f2;
  border: none;
  border-radius: 5px;
  width: 75px;
  height: 75px;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: 700;
  transition: background .25s;
}

.start {
  background: #1dae28;
  font-size: 20px;
}

.start:hover {
  background: #179921;
}

.restart {
  background: #f1b2b2;
}

.restart:hover {
  background: #f87474;
}

.message {
  box-sizing: border-box;
  color: #776e65;
  text-align: center;
  background: #d6cdc4;
  border-radius: 5px;
  width: 100%;
  padding: 10px;
  font-size: 20px;
}

.hidden {
  display: none;
}

.container {
  flex-direction: column;
  align-items: center;
  width: 350px;
  display: flex;
}

.message-win {
  color: #f9f6f2;
  background: #edc22e;
}

.message-container {
  width: 100%;
}

.anim-show {
  animation: .3s ease-in-out .2s backwards show;
}

.anim-merge {
  animation: .3s merge;
}

@keyframes show {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes merge {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

/*# sourceMappingURL=index.971c2ea4.css.map */
