body {
  touch-action: manipulation;
}

.lovecrusader {
  width: 100%;
  height: 600px;
  background: #3fbfff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
}
@media (max-width: 767px) {
  .lovecrusader {
    height: auto;
    aspect-ratio: 0.8;
  }
}
.lovecrusader-game {
  display: flex;
  flex-direction: column;
  place-items: center;
  justify-content: center;
}
.lovecrusader-game button {
  flex-grow: 1;
  flex-basis: 100%;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  outline: 1px solid;
  border-radius: 0.375rem;
  color: #ffffff;
  line-height: 1rem;
}
.lovecrusader-game button:hover {
  color: #ca2752;
}
.lovecrusader .player {
  position: absolute;
  z-index: 1;
  width: 75px;
  margin-left: -37.5px;
}
@media (max-width: 767px) {
  .lovecrusader .player {
    width: 40px;
    margin-left: -20px;
  }
}
.lovecrusader .enemy {
  position: absolute;
  margin-left: -20px;
  margin-top: -18px;
  width: 40px;
}
.lovecrusader .laser {
  position: absolute;
  margin-left: -3px;
  height: 40px;
}
@media (max-width: 767px) {
  .lovecrusader .laser {
    height: 30px;
  }
}
.lovecrusader .enemy-laser {
  position: absolute;
  margin-left: -10px;
  width: 20px;
}
.lovecrusader-controls {
  display: none;
  width: 100%;
  margin-top: 1rem;
}
@media (max-width: 767px) {
  .lovecrusader-controls {
    display: flex;
    gap: 10px;
  }
}
.lovecrusader-controls button {
  margin-top: 0;
  padding-block: 1rem;
}
.lovecrusader-controls button:hover {
  color: #fff;
}
.lovecrusader-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.lovecrusader-game-over, .lovecrusader-game-start, .lovecrusader-game-win {
  display: none;
  position: absolute;
  background: #1d1d1b;
  color: white;
  padding: 20px 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  text-align: center;
  animation: pop-in 1s;
}

@keyframes pop-in {
  0% {
    opacity: 0;
    transform: translate(0, -100px);
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translate(0, 30px);
  }
  100% {
    transform: translate(0, 0);
  }
}
