.small-text {
    font-size: 0.8em; /* Adjust the size as needed */
}

body {
    font-family: Arial, sans-serif;
    background-color: #44D7E2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    flex-direction: column;
}

.container {
    background-color: #fff88d; /* Updated background color */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 500px;
    box-sizing: border-box;
}

#game {
    margin-top: 20px;
}

#letter {
    font-weight: bold; /* Make the given letters bold */
    text-transform: uppercase; /* Ensure the letters are always capitalized */
}

#guess-counter {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.bubble {
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    border-radius: 50%;
    margin: 0 5px;
    background-color: transparent;
}

.bubble.filled {
    background-color: #abf13e;
}

#guessed-words-container {
    background-color: #fff88d; /* Updated background color */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 500px;
    box-sizing: border-box;
    margin-top: 20px;
    overflow: hidden;
}

#guessed-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.hidden {
    display: none;
}

#popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-sizing: border-box;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.shake {
    animation: shake 0.5s;
    animation-iteration-count: 1;
}