@keyframes pulse_animation {
  0% {
    transform: scale(1); }
  10% {
    transform: scale(1.4); }
  50% {
    transform: scale(1); }
  70% {
    transform: scale(1.2); }
  80% {
    transform: scale(1); }
  100% {
    transform: scale(1); } }
@keyframes grid_pulse_animation {
  0% {
    transform: scale(1); }
  10% {
    transform: scale(1.06); }
  50% {
    transform: scale(1); }
  70% {
    transform: scale(1.04); }
  80% {
    transform: scale(1); }
  100% {
    transform: scale(1); } }
@keyframes border-pulsate {
  0% {
    border: 2px solid blue; }
  10% {
    transform: scale(1.5); }
  20% {
    border: 2px solid rgba(0, 0, 255, 0); }
  40% {
    border: 2px solid blue; }
  60% {
    border: 2px solid rgba(0, 0, 255, 0); }
  60% {
    border: 2px solid blue; }
  100% {
    border: 2px solid rgba(0, 0, 255, 0); } }
* {
  box-sizing: border-box; }

h1, h2, p {
  font-family: Helvetica;
  text-align: center;
  margin: 0;
  padding: 4px;
  line-height: 1.8; }

h1 {
  font-family: 'Gochi Hand', cursive;
  padding-top: 24px;
  padding-bottom: 0;
  color: white; }

header {
  display: none;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: baseline;
  text-align: center; }
  header p {
    text-align: center;
    padding: 4px 0; }
  header h1 {
    text-align: center;
    font-size: 60px;
    color: gold; }

body {
  margin: 0 auto;
  background-color: black;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 100vw;
  padding: 10px; }

.game {
  max-width: 800px;
  margin: auto;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: black; }

.startBoard {
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  width: 100%;
  height: 100%;
  order: 1;
  padding: 15px; }
  .startBoard .startBoard p {
    color: gold; }
  .startBoard button {
    background-color: grey;
    color: gold;
    margin: 4px; }

.welcomeText {
  display: flex;
  flex-direction: column;
  align-items: center; }

.welcome {
  background-color: gold;
  align-items: center; }

.wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center; }

.welcomeText {
  padding: 0 100px; }

.farmer img {
  height: 40%;
  width: 40%; }

video {
  height: 300px;
  width: 300px;
  margin: 0 80px; }

.player1Space {
  margin: auto;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  order: 1;
  width: 50%; }

.rePlant button {
  width: 200px;
  margin: 5px 0;
  width: 50%; }

.player2Space {
  margin: auto;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  order: 2;
  width: 50%; }

.billBoard {
  background-color: gold;
  width: 100%;
  height: 100%;
  order: 4;
  display: none; }
  .billBoard p {
    font-size: 50px;
    padding: 100px 0;
    align-items: center; }

.gameOver {
  background-color: gold;
  background-image: url("../images/farmer-lady.png");
  background-size: contain;
  background-position: right;
  background-repeat: no-repeat; }

.rePlant {
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  order: 6;
  padding-top: 100px; }

.player1Grid, .player2Grid {
  width: 300px;
  height: 300px;
  display: flex;
  flex-wrap: wrap; }

.player2Grid.pulse {
  border: 3px solid blue;
  animation-name: grid_pulse_animation;
  animation-duration: 5000ms;
  transform-origin: 70% 70%;
  animation-iteration-count: infinite;
  animation-timing-function: linear; }

.player1Grid div, .player2Grid div {
  width: calc(100% / 10);
  height: calc(100% / 10);
  border: 1px solid grey;
  background-color: gold; }

.player1Grid .crop1-lime {
  background-image: url("../images/crop1-lime.png"); }
.player1Grid .crop1-lime.hit {
  background-image: url("../images/crop1-lime-destroyed.png");
  animation: border-pulsate 2s 1; }
.player1Grid .crop2-peach {
  background-image: url("../images/crop2-peach.png"); }
.player1Grid .crop2-peach.hit {
  background-image: url("../images/crop2-peach-destroyed.png");
  animation: border-pulsate 2s 1; }
.player1Grid .crop3-seedling {
  background-image: url("../images/crop3-seedling.png"); }
.player1Grid .crop3-seedling.hit {
  background-image: url("../images/crop3-seedling-destroyed.png");
  animation: border-pulsate 2s 1; }
.player1Grid .crop4-hot-pepper {
  background-image: url("../images/crop4-hot-pepper.png"); }
.player1Grid .crop4-hot-pepper.hit {
  background-image: url("../images/crop4-hot-pepper-destroyed.png");
  animation: border-pulsate 2s 1; }
.player1Grid .crop5-carrot {
  background-image: url("../images/crop5-carrot.png"); }
.player1Grid .crop5-carrot.hit {
  background-image: url("../images/crop5-carrot-destroyed.png");
  animation: border-pulsate 2s 1; }
.player1Grid .hit {
  background-image: url("../images/tick.png"); }
.player1Grid .miss {
  background-color: grey;
  animation: border-pulsate 2s 1; }

.player2Grid .crop1-lime.hit {
  background-image: url("../images/tick.png"); }
.player2Grid .crop2-peach.hit {
  background-image: url("../images/tick.png"); }
.player2Grid .crop3-seedling.hit {
  background-image: url("../images/tick.png"); }
.player2Grid .crop4-hot-pepper.hit {
  background-image: url("../images/tick.png"); }
.player2Grid .crop5-carrot.hit {
  background-image: url("../images/tick.png"); }
.player2Grid .hit {
  background-image: url("../images/tick.png"); }
.player2Grid .miss {
  background-color: grey; }

.scoreBoardPlayer1, .scoreBoardPlayer2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; }

.scoreBoardPlayer1 img, .scoreBoardPlayer2 img {
  padding: 0 5px; }

.scoreBoardPlayer1 img.pulse, .scoreBoardPlayer2 img.pulse {
  animation-name: pulse_animation;
  animation-duration: 5000ms;
  transform-origin: 70% 70%;
  animation-iteration-count: 1;
  animation-timing-function: linear; }

button {
  background: gold;
  color: grey;
  padding: 5px;
  font-size: 20px; }

#reset {
  display: none; }

/*# sourceMappingURL=style.css.map */
