* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  font-family: Arial, sans-serif;
  overflow: hidden; 
  width: 100vw;
  height: 100vh;
}

#game {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #87CEEB; 
  padding: 1em;
  overflow: hidden;
}

#items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1em 0;
  gap: 1em;
}
.item {
  display: flex;
  flex-direction: column; 
  align-items: center; 
  padding: 10px;
  margin: 10px;
  background-color: #d4e157;
  cursor: grab;
  border-radius: 10px;
  width: 90px;
  height: auto;
}

.item img {
  max-width: 100%; 
  height: auto;
  border-radius: 5px;
}

.item .description {
  margin-top: 5px;
  font-size: 0.9em; 
  text-align: center;
  color: #333;
}


#bins {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100%;
  gap: 1em;
}

.bin {
  width: 15vw;
  height: 15vw;
  max-width: 100px;
  max-height: 100px;
  border: 2px solid #333;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1em;
  background-color: #ffeb3b;
}

#score {
  margin-top: 1em;
  font-size: 1.2em;
}

#feedback-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5em;
  color: white;
  padding: 1.2em;
  border-radius: 5px;
  display: none;
  z-index: 1000;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#feedback-container.correct {
  background-color: green;
}

#feedback-container.incorrect {
  background-color: red;
}

/* Efeitos de bolha */
@keyframes bubble {
  0% {
    transform: translateY(0);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100vh);
    opacity: 0;
  }
}

.bubble {
  position: absolute;
  bottom: -50px;
  width: 10vw;
  height: 10vw;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: bubble 5s linear infinite;
}

.bubble:nth-child(1) {
  left: 10%;
  width: 15vw;
  height: 15vw;
  animation-duration: 7s;
}

.bubble:nth-child(2) {
  left: 25%;
  width: 12vw;
  height: 12vw;
  animation-duration: 5s;
}

.bubble:nth-child(3) {
  left: 40%;
  width: 10vw;
  height: 10vw;
  animation-duration: 6s;
}

.bubble:nth-child(4) {
  left: 60%;
  width: 14vw;
  height: 14vw;
  animation-duration: 8s;
}

.bubble:nth-child(5) {
  left: 75%;
  width: 18vw;
  height: 18vw;
  animation-duration: 4s;
}

.bubble:nth-child(6) {
  left: 85%;
  width: 8vw;
  height: 8vw;
  animation-duration: 6s;
}

#toggle-music {
  margin-top: 1em;
  padding: 0.5em 1em;
  background-color: #2196F3;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
}
