* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
:root {
  --text: #00adb5;
  --he: 30px;
  --left: 50%;
  --sc: #fac900;
}
body {
  background: #222831;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #222831;
  color: #fac900;
  z-index: 9999;
}
.loading {
  display: none;
}
.loading.active {
  display: block;
}
.svg-loader {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.loader-svg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  fill: none;
  stroke-width: 5px;
  stroke-linecap: round;
  stroke: var(--text);
}
.loader-svg.bg {
  stroke-width: 8px;
  stroke: rgb(207, 205, 245);
}
.animate {
  stroke-dasharray: 242.6;
  animation: fill-animation 1s cubic-bezier(1, 1, 1, 1) 0s infinite;
}

@keyframes fill-animation {
  0% {
    stroke-dasharray: 40 242.6;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 141.3;
    stroke-dashoffset: 141.3;
  }
  100% {
    stroke-dasharray: 40 242.6;
    stroke-dashoffset: 282.6;
  }
}
.game {
  background: url(../assets/img/bg.jpg);
  background-size: cover;
  /* height: 550px;
  width: 750px; */
  height: 98vh;
  width: 98vw;
  border: 1px solid var(--sc);
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
}
.round {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:  translate(-50%,-50%) scale(0);
  transition: all .2s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.round.active {
  transform:  translate(-50%,-50%) scale(1);
}
.round.active h1{
  font-size: 50px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 1rem;
  padding: 10px;
  color: #fac800;
}
.game .area {
  position: absolute;
  height: 100%;
  width: 100%;
}
.borde {
  height: 100%;
}
.game-borde::after {
  content: "";
  position: absolute;
  top: 90%;
  border-top: 3px dotted darkred;
  width: 100%;
}
.bullt-area {
  height: 80px;
  width: 35px;
  /* background: red; */
  position: absolute;
  bottom: 0;
  left: 50.6%;
  transform: translateX(-50%);
  transition: all 0.3s linear;
}
.cannon-body {
  content: "";
  position: absolute;
  height: 85px;
  width: 75px;
  background: url(../assets/img/rocket.svg) no-repeat;
  background-size: cover;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.rocet{
  height: 100px;
  width: 71px;

}
.fire {
  animation: can 0.2s ease-in-out;
}
@keyframes can {
  from {
    bottom: 0;
  }
  to {
    bottom: -10px;
  }
}
.bullt {
  padding: 5px;
  background: red;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2rem;
}
.word {
  position: absolute;
  height: 50px;
  width: 80px;
  border-radius: 6px;
  background: url(../assets/img/icon.png);
  background-size: 100%;
  left: 10px;
}
.wordR {
  position: absolute;
  height: 95px;
  width: 60px;
  border-radius: 6px;
  background: url(../assets/imgicon2.png);
  background-size: 243px;
  left: 10px;
  border: 1px solid #fff;
  z-index: 999;
  background-position: 50%;
}

.word .ltr,
.wordR .ltr {
  position: absolute;
  z-index: 10;
  border: 1px solid #fff;
  height: 30px;
  width: 30px;
  left: 50%;
  top: 34px;
  font-size: 20px;
  transform: translateX(-50%);
  border-radius: 1rem;
  color: var(--sc);
  font-weight: bold;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
}
.wordR .ltr {
  height: 25px;
  width: 25px;
  left: 50%;
  top: 46px;
}

.control {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.control button,
.gameOver .content button {
  border: 1px solid var(--text);
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 30px;
  color: var(--text);
  background: #222831;
  font-weight: bold;
  letter-spacing: 5px;

  cursor: pointer;
}
.control button {
  height: fit-content;
}
.gameOver .content button {
  margin-top: 20px;
}
.data {
  position: absolute;
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  top: 10px;
  color: var(--text);
}
.data span {
  color: var(--sc);
  font-size: 1.2em;
}
.lives {
  right: 10px;
}
.score {
  left: 10px;
  font-size: 14px;
}

.gameOver {
  position: absolute;
  z-index: 99;
  color: var(--text);
  height: 100%;
  width: 100%;
  display: block;
  background: rgba(0, 0, 0, 0.8);
  display: none;
}
.gameOver .content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  line-height: 2;
}
.gameOver .content h1 {
  font-size: 65px;
}
.mute {
  position: absolute;
  top: 40px;
  display: block;
  color: var(--sc);
  font-weight: bolder;
  padding: 5px;
  border-radius: 6px;
  cursor: pointer;
  left: 5px;
  height: 40px;
  width: 40px;
  background: url(../assets/img/unmute.svg) no-repeat;
  background-size: cover;
}

.mute.enable {
  background-image: url(../assets/img/unmute.svg);
}
.mute.disable {
  background-image: url(../assets/img/mute.svg);
}

.me a{
  color: var(--sc);
  background: linear-gradient(
    168deg,
    hsl(192, 100%, 67%) 0%,
    hsl(280, 87%, 65%) 91%
  );  padding: 5px 10px;
  border-radius: 2rem;
  font-weight: bold;
}