body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    background: url('images/blue-world-.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
}

h1 {
    color: #303030;
    margin-bottom: 20px;
}


#game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.8); /* Fundo semi-transparente */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    max-width: 990px;
    width: 100%;
    margin: 20px;
}

.bins, .items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
    gap: 20px;
}

.bin, .item {
    margin: 10px;
    text-align: center;
    width: 120px; /* Define a mesma largura para lixeiras e itens */
    height: 180px; /* Define a mesma altura para lixeiras e itens */
    position: relative; /* Necessário para o efeito de sombra */
    transition: transform 0.3s;
}

.bin img, .item img {
    width: 100%; /* Faz a imagem ocupar 100% da largura do contêiner */
    height: 100%; /* Faz a imagem ocupar 100% da altura do contêiner */
    object-fit: contain; /* Mantém a proporção da imagem */
    border-radius: 10px; /* Bordas arredondadas */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra */
}

.bin:hover, .item:hover {
    transform: scale(1.05); /* Aumenta o tamanho ao passar o mouse */
}

#message {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #333333;
}

#score {
    background-color: green;
    padding: 10px;
    border-radius: 10px;
    margin-top: 5px;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
}

.disabled {
    pointer-events: none;
}

.correct {
    opacity: 0.5;
    border: 2px solid green;
}

.incorrect {
    opacity: 0.5;
    border: 2px solid red;
}

.bin-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

#final-message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

#final-message-overlay.hidden {
    display: none;
}

#final-message {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #00796b;
}