
/* Avatar and Speech Bubble */
#avatar-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.avatar-img {
    width: 100px; /* Adjust size as needed */
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.avatar-img:hover {
    transform: scale(1.1);
}

.speech-bubble {
    position: absolute;
    bottom: 110%; /* Position above the avatar */
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #333;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.speech-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

#avatar-container:hover .speech-bubble {
    opacity: 1;
    visibility: visible;
}

/* Hide on Smartphone size */
@media (max-width: 600px) {
    #avatar-container {
        display: none;
    }
}
