html, body {
  margin: 0;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  display: flex;
  justify-content: center;
  background-color: black;
}

@font-face {
  font-family: "tf-games";
  src: url("/assets/tf-games.ttf") format("opentype");
}

#app {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  color: white;
  height: 100%;
  font-family: "tf-games";
}

.denied {
  font-size: 2rem;
  text-align: center;
}

.denied a {
  color: rgb(52, 231, 255);
  text-decoration: none;
}

.start-button {
  font-family: tf-games;
  font-size: 3rem;
  background-color: transparent;
  border: 0;
  background-image: url("/assets/button.png");
  background-size: 100%;
  background-repeat: no-repeat;
  width: 380px;
  height: 110px;
  padding-bottom: 1.5rem;
}

.game-ui {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  padding: 2px;
  background-color: black;
  justify-content: space-between;
  align-items: center;
}

.game-ui > .deaths > span {
  padding: 0 0.5rem;
  font-size: 1.5rem;
}

.weapons {
  display: flex;
}

.weapon {
  background-color: black;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  border: 2px solid white;
  cursor: pointer;
  width: 48px;
  height: 48px;
  margin-left: 5px;
}

.weapon.selected {
  border: 2px solid rgb(228, 199, 37);
}

.player-health > .heart {
  width: 24px;
  margin-right: 5px;
}

.ads {
  display: flex;
  justify-content: center;
}

.modal-background {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal {
  text-align: center;
  color: black;
  background-color: white;
  width: 300px;
  padding: 5rem;
  font-size: 1.3rem;
}

.modal button {
  font-family: tf-games;
  border: 0;
  background-color: black;
  color: white;
  padding: 1rem 4rem;
  cursor: pointer;
  font-size: 1.3rem;
}

.instructions {
  font-size: 2.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  width: 600px;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-evenly;
  position: relative;
}

.instructions::after {
  content: "";
  background-image: url("/assets/instructions.jpg") ;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.15;

  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
}

.instructions .small {
  font-size: 1.8rem;
}

.instructions h2 {
  font-family: tf-games;
  text-align: center;
  padding: 0;
  margin: 0;
}

.instructions p {
  margin: 1rem;
}

.instructions button {
  align-self: center;
}

.sound-overlay {
  text-align: center;
  font-size: 1.5rem;
}

.sound-overlay .icon {
  font-size: 4rem;
}