/* General body styling */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Full viewport height for proper centering */
  flex-direction: column;
  margin: 0;
  font-family: 'Barlow', sans-serif;
  background-color: #fad5e4; /* Light background for better visibility */
}

.page-wrapper {
  text-align: center;
  margin-bottom: 20px;
}

#instruction {
  font-size: 24px;
  margin-top: 20px;
}

#timer {
  font-size: 22pt;
  margin: 10px 0;
}

#btn-reset-countdown {
  margin-top: 10px;
}

/* Styles for the van image */
#hover-square {
  width: 600px; /* Same as original square */
  height: 400px; /* Same as original square */
  object-fit: cover; /* Ensures the image scales properly */
  position: relative;
  left: calc(50%-40px);
  margin: 0 auto; /* Centered horizontally */
  z-index: 99;
}

#hover-square.bouncing {
  animation: bounce 1s ease infinite;
}


@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px); /* Increased bounce height */
  }
}

/* Container for the circles */
#circle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 72px; /* Increased gap between circles */
  margin-top: -165px; /* Adjusted spacing below the square */
  margin-left: 20px;

}

/* Styles for the rotating wheels */
.rotating-circle {
  width: 220px; /* Same as original circle size */
  height: 220px; /* Same as original circle size */
  object-fit: contain; /* Ensures the image scales properly */
  animation: rotate 1s linear infinite paused; /* Rotation animation */
}




@keyframes rotate {
 
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
  


}