:root {
  --verde: #009c3b;
  --amarelo: #ffdf00;
  --azul: #002776;
  --branco: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
background-image: linear-gradient(green, yellow);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}



.container {
  background-color: var(--branco);
  padding: 2rem;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

h1 {
  color: var(--verde);
  margin-bottom: 1rem;
}

p {
  color: #333;
  margin-bottom: 2rem;
  font-size: 1rem;
}

button {
  background-color: var(--amarelo);
  color: var(--azul);
  border: none;
  padding: 1.2rem 2rem;
  font-size: 1.4rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  width: 100%;
  transition: transform 0.1s ease, background-color 0.2s ease;
}
#btnPause {
  margin-top: 1rem;
  background-color: var(--azul);
  color: var(--branco);
}

#btnPause:hover {
  background-color: #001f5c;
}

button:hover {
  background-color: #ffd000;
}

button:active {
  transform: scale(0.96);
}

button:focus {
  outline: 4px solid var(--azul);
  outline-offset: 4px;
}

/* Responsividade */
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  button {
    font-size: 1.2rem;
  }
}

@keyframes pulsar {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 223, 0, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 30px 15px rgba(255, 223, 0, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 223, 0, 0.7);
  }
}

.pulsando {
  animation: pulsar 0.8s infinite;
}
#confetes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 10;
}

.confete {
  position: absolute;
  width: 10px;
  height: 14px;
  opacity: 0.9;
  animation: cair linear infinite;
}

.confete.verde {
  background-color: #009c3b;
}

.confete.amarelo {
  background-color: #ffdf00;
}

@keyframes cair {
  0% {
    transform: translateY(-20px) rotate(0deg);
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
  }
}
