* {
  box-sizing: border-box;
}

body {
  margin: 0;
  display: flex;
  height: 100vh;
  width: 100vw;
  justify-content: center;
  align-items: center;
  background-color: #9dccc0;
}

#screen {
  display: grid;
  grid-template-columns: repeat(14, 25px);
  grid-template-rows: repeat(14, 25px);
  grid-gap: 1px;
}

#screen div {
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.heart {
  width: 15px;
  height: 15px;
  animation-name: fadeOutUp;
  animation-duration: 2s;
  animation-fill-mode: both;
  position: absolute;
}

@keyframes fadeOutUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-200px);
  }
}
