@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@600&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.game-board {
  width: 100%;
  height: 100vh;
  border-bottom: 15px solid rgb(35, 100, 35);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: linear-gradient(#87ceeb, #e0f6ff);
}

.fireball {
  width: 220px;
  position: absolute;
  bottom: 0;
  left: 1500;
}
.giantFireball {
  display: flex;
  width: 650px;
  position: absolute;
  left: 2000;
  bottom: 0;
}

.itachi {
  position: absolute;
  left: 170px;
  bottom: 0;
}

.jump {
  animation: jump 500ms ease-out;
}

.clouds {
  position: absolute;
  width: 800px;
  animation: clouds 10s infinite linear;
}

#barraDeVida {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

#km{
  align-items: center;
  text-align: center;
}
#km :first-child{
  font-size: 1.5em;
  font-family: "Roboto Slab", serif;
}

progress::-webkit-progress-bar{
  background-color: red !important;width: 100%;
}


progress::-moz-progress-bar{
  background-color: red !important;
}
progress{color: green;}


#healthValue {
  font-size: 1.5em;
  font-family: "Roboto Slab", serif;
  margin-left: 5px;
}

#health {
  background-color: red;
  height: 1.5em;
}

.restart {
  z-index: 200;
  position: absolute;
  background: rgba(220, 57, 57, 0.61);
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3.6px);
  -webkit-backdrop-filter: blur(3.6px);
  border: 1px solid rgba(220, 57, 57, 0.3);
  /* display: none; */
  width: 650px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: flex;
  justify-content: center;
  align-items: center;
  border: 5px solid #ad1700;
}

.restart img {
  max-width: 250px;
  width: auto;
  height: auto;
  margin-right: 30px;
}

.restart p {
  font-size: 2rem;
  font-family: "Roboto Slab", serif;
  font-weight: normal;
  margin-bottom: 30px;
  width: 300px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
}

.restart div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.restart button {
  font-family: "Roboto Slab", serif;
  border: 2px solid #bd1900;
  background-color: #ffe8ff;
  font-size: 1rem;
  cursor: pointer;
  padding: 8px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 8px;
  outline: none;
}
.restart button:hover {
  background-color: #ffffff;
}


@keyframes clouds {
  from {
    right: -800px;
  }

  to {
    right: 100%;
  }
}
