* {
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: black;
  color: white;
  text-align: center;
  font-family: sans-serif; 
}

#container{
   margin-top: 100px; 
   width: 80%; 
   max-width: 400px; 
   margin-inline: auto; 
}

#container img {
  width: 300px;
  height: 300px;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.4));
  transition: filter 0.3s ease;
}

#container img:hover {
  filter: drop-shadow(0 0 40px rgba(186, 85, 211, 0.9));
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}



h1 {
  margin-top: 10px;
  margin-bottom: 10px;
  opacity: 0.9;
}

p {
  margin-bottom: 40px;
  opacity: 0.7;
}

input, button {
  display: block;
  width: 100%;

  padding: 20px;
  font-size: 20px;
  border-radius: 10px;
}

input {
  margin-bottom: 20px;
}

button {
  border: none;
  border-radius: 10px;
  background-color: blueviolet;
  color: white;
  transition: filter .2s;
}

/* pseudo-class :hover */
button:hover {
  filter: brightness(1.2);
  cursor: pointer;
}

#resposta {
  margin-top: 30px;

  transition: opacity 1s;
}

#resposta div {
  font-size: 16px;
  font-weight: normal;
  opacity: 0.9;
  margin-bottom: 10px;
}

#toggleMusic {
  position: fixed;
  width: 10px;
  top: 20px;
  right: 20px;
  background: transparent;
  margin-right: 40px;
  color: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 50px;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  transition: color 0.3s ease, transform 0.2s ease;
}

#toggleMusic:hover {
  color: #b57eff;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

#toggleMusic.active {
  animation: pulse 2s infinite;
}