@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

body {
  background: #2d2a3d;
  color: #fff;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.message {
  margin: 2em 0;
  text-align: center;
  font-size: 1.5em;
}

.images {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  height: 200px;
  gap: 20px;
}

.computer, .player {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.computer img, .player img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.shakeComputer {
  animation: shakeComputer 0.8s linear;
}

.shakePlayer {
  animation: shakePlayer 0.8s linear;
}

.points {
  margin: 2em 0;
  text-align: center;
  font-size: 1.2em;
}

.computerPoints {
  margin-left: 0.5em;
}

.playerPoints {
  margin-right: 0.5em;
}

.options {
  margin-top: 3em;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.options button {
  background: none;
  color: #fff;
  font-family: "Poppins", sans-serif;
  border: 1px solid #fff;
  padding: 1em 2em;
  border-radius: 7px;
  width: 120px;
  cursor: pointer;
  outline: none;
  transition: 0.2s all linear;
  font-size: 1em;
}

.options button:hover {
  background-color: darkcyan;
  border: 1px solid darkcyan;
  transform: scale(1.05);
}

@keyframes shakeComputer {
  0% {
    transform: rotate(-30deg);
  }
  25% {
    transform: rotate(30deg);
  }
  50% {
    transform: rotate(-30deg);
  }
  75% {
    transform: rotate(30deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes shakePlayer {
  0% {
    transform: rotate(30deg);
  }
  25% {
    transform: rotate(-30deg);
  }
  50% {
    transform: rotate(30deg);
  }
  75% {
    transform: rotate(-30deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.container {
  background-color: rgba(45, 42, 61, 0.9);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('./assets/img/notebook-texture.png') center/cover;
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
}

.message {
  font-family: 'Poppins', cursive;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}