@font-face {
  font-family: 'Emoji Fallback';
  src: url('./../assets/seguiemj.ttf') format('truetype');
}

html {
  font-family: Arial, Helvetica, sans-serif;
}

#start, #gameover {
  position: fixed;
  z-index: 0;
  top: 50%;
  left: 50%;
  padding: 16px;
  width: 100%;
  max-width: 400px;
  transform: translate(-50%, -50%);
  text-align: center;
}

#start h1 {
  text-transform: uppercase;
}

#start ul {
  text-align: left;
}

#start form fieldset {
  border: none;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
}

#score {
  color: #888;
  position: fixed;
  top: 0;
  left: 0;
  padding: 8px;
  font-size: 12px;
}

#score > p {
  margin: 0;
}

#battlefield {
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}

#battlefield > span {
  width: 20px;
  height: 20px;
}

#battlefield #shooter {
  left: 0;
  bottom: 0;
  position: absolute;
}

.target {
  position: fixed;
  animation: spawn ease 300ms;
}

.chair {
  display: flex;
  position: fixed;
  align-items: center;
  justify-content: center;
}

#boundarie {
  position: fixed;
  bottom: 100px;
  border-bottom: solid 1px #ccc;
  width: 100vw;
}

#shooter, .chair, .target {
  font-family: "Twemoji Mozilla",
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji",
    "EmojiOne Color",
    "Android Emoji",
    "Emoji Fallback",
    sans-serif;
}

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