body {
  background-color: purple;
  font-family: Arial, sans-serif;
  text-align: center;
  color: white;
  margin: 0;
  padding: 30px;
}

h1 {
  margin-bottom: 30px;
}

.teachers {
  border: 8px solid black;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  margin: 20px auto;
  width: fit-content;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

button:hover img {
  transform: scale(1.08);
}

img {
  height: 100px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

p {
  color: white;
  font-size: 20px;
}

#output,
#result,
#score {
  margin-top: 15px;
  font-weight: bold;
}

@keyframes spin-animation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.spinning {
  animation: spin-animation 1s linear;
}

@keyframes winner-animation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1);
  }
}

.winner {
  animation: winner-animation 0.7s ease;
}

.resetBtn {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  background-color: black;
  border: 3px solid white;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hover effect */
.resetBtn:hover {
  background-color: white;
  color: purple;
  transform: scale(1.05);
}

/* Click effect */
.resetBtn:active {
  transform: scale(0.95);
}