label {
  display: block;
  margin-bottom: 5px;
  color: #000080; /* Matching the color scheme */
  font-family: Arial, sans-serif;
  font-size: 14px;
}

body {
  font-family: Arial, sans-serif;
  background-color: #F0F0F0;
  color: #000000;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

h1 {
  background-color: #000080;
  color: white;
  padding: 10px;
  text-align: center;
}

form {
  background-color: #FFFFFF;
  border: 1px solid #000080;
  margin: 20px auto;
  padding: 20px;
  width: 300px;
  text-align: center;
}

input[type="password"] {
  border: 1px solid #000080;
  padding: 5px;
  margin-bottom: 10px;
}

button {
  background-color: #000080;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

button:hover {
  background-color: #0000FF;
}

.number-container {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  background-color: transparent;
  margin-top: 20px;
}

@keyframes wiggle {
  0%, 100% {
      transform: rotate(-3deg);
  }
  50% {
      transform: rotate(3deg);
  }
}

.animated-number {
  position: absolute;
  font-size: 24px;
  font-weight: bold;
  color: #000080;
  animation: wiggle 0.5s infinite; /* Apply the wiggle animation */
}

@keyframes flashColors {
  0% { color: red; }
  25% { color: blue; }
  50% { color: green; }
  75% { color: yellow; }
  100% { color: red; }
}

.flashing-text {
  animation: flashColors 1s infinite;
}

.firework {
  position: absolute;
  width: 100px;
  height: 100px;
  background-color: red;
  border-radius: 50%;
  animation: fireworkAnimation 1s ease-out;
}

@keyframes fireworkAnimation {
  0% {
      transform: scale(0);
      opacity: 1;
  }
  to {
      transform: scale(1);
      opacity: 0;
  }
}

.digit {
  position: absolute;
  transition: top 2s cubic-bezier(0.6, -0.28, 0.735, 0.045); /* Simulate gravity */
  font-size: 24px; /* Adjust as needed */
  color: #000080; /* Adjust to match your color scheme */
}
