#chatbot {
    position: fixed;
    bottom: 0;
    right: 0;
    width: auto;
    max-width: 300px;
    height: auto;
    border-radius: 5px;
    overflow: hidden;
    padding: 0;
    margin: 0.25rem;
}

.chatbot-hidden {
    background-color: transparent;
    border: 1px solid transparent;
}

.chatbot-active {
    background-color: #f1f1f1;
    border: 1px solid #ccc;
}

#nav-close {
    position: relative;
    display: none; /* display: flex; */
    justify-content:space-between;
    width: 100%;
    padding: 0.5rem;
    background-color: #ccc;
    padding: 0.2rem 0.1rem 0.4rem;
    transform: translateY(-0.5rem);
}

#nav-close .gemini-logo {
    transform: translateY(0.25rem);
}

#nav-close a {
    opacity: 0.25;
    transform: translateY(0.5rem);
}

#nav-close a:hover {
    opacity: 0.5;
}

#chat {
    position: relative;
    display: none; /* display: block; */
    width: calc(100% - 1rem);
    max-width: calc(100% - 1rem) !important;
    min-height: 70vh;
    max-height: 70vh;
    padding: 0.5rem;
    margin: 0.1rem 0.5rem;
    border: #ccc 1px solid;
    border-radius: 5px;
    background-color: #fff;
    overflow-y: scroll;
}

#bot {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
}

.bot-hidden {
    width: auto;
}

.bot-active {
    width: 300px;
}

#link-logo {
    position: relative;
    margin: 0.5rem;
    background-color: rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.5);
    border-radius: 50%;
    opacity: 0.5;    
}

#link-logo:hover {
    background-color: rgba(0,0,0,0.2);
    opacity: 1;
}

#img-logo {
    padding: 0.7rem 0.5rem 0.5rem 0.5rem;
}

#bot input {
    display: none;
    width: calc(100% - 1rem);
    padding: 0.1rem 0.25rem;
    margin: 0.1rem 0;
    border: rgba(0,0,0,0.5) 1px solid;
    border-radius: 5px;
    width:200px;
    height: 25px;
    font-size: 12px;
}

#bot button {
    display: none;
    padding: 0.5rem;
    margin: 0.1rem 0.5rem;
    border: rgba(0,0,0,0.5) 1px solid;
    border-radius: 5px;
    background-color: #f1f1f1;
    cursor: pointer;
    height: 32px;
    color: rgba(0,0,0,0.5rem);
}

#bot button:hover {
    background-color: rgba(0,0,0,0.5);
    color: #fff;
}

.bubble {
    position: relative;
    border: 1px solid rgba(0,0,0,0.5);
    padding: 0.5rem;
    background-color: #f1f1f1;
    border-radius: 10px;
    width: 70%;
    height: auto;
    margin: 0.5rem 0 2rem 0;
}

.bubble-guest {
    left: 0;
}

.bubble-bot {
    left: calc(30% - 1rem);
}

.tongue {
    position: absolute;
    display: block;
    top: 0;
    transform: translateY(-0.70rem);
}

.guest-tongue {
    left: 0.2rem;
}

.bot-tongue {
    left: calc(100% - 1rem);
    transform: translateY(-0.70rem) rotateY(3.142rad);
}

@media (max-width: 768px) {

    #chat {

        min-height: 60vh;
        max-height: 60vh;
    }
    
    #link-logo {
        opacity: 0.75;    
    }
    
    #link-logo:hover {
        opacity: 1;
    }    

}