/*Reset css*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

img{
    width: 100%;
}

button{
    cursor: pointer;
    background-color: #1B7E48;
    border: none;
    color: white;
    font-weight: bold;
    padding-inline: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 5px;
}

.selectedButton{
    background-color: gray;
    cursor: default;
}

input{
    padding-inline: 32px;
    padding-top: 16px;
    padding-bottom: 16px;
    border: none;
    box-shadow: -4px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

input:focus{
    outline: none;
}

strong{
    font-weight: bold;
}

canvas{
    width: 100%;
    height: 600px;
}

/* Estilos para o placeholder de carregamento */
.placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e0e0e0;
    border: none;
}

/* Estilos para os três pontos pulsantes */
.carregamento {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px; /* Espaço entre os pontos */
}

.carregamento span {
    width: 8px;
    height: 8px;
    background-color: #007bff;
    border-radius: 50%;
    animation: pulsar 1.4s infinite ease-in-out;
}

.carregamento span:nth-child(2) {
    animation-delay: 0.2s; /* Atraso para o segundo ponto */
}

.carregamento span:nth-child(3) {
    animation-delay: 0.4s; /* Atraso para o terceiro ponto */
}

/* Animação de pulsar */
@keyframes pulsar {
    0%, 80%, 100% {
        transform: scale(0.4);
    }
    40% {
        transform: scale(1);
    }
}

/* Estilos para o parágrafo dentro da mensagem */
.mensagem p {
    margin: 0;
}

#container{
    height: 100vh;
    padding-bottom: 15vh;
    overflow-y: scroll;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 40px;
    padding-inline: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;

    & ::-webkit-scrollbar{
        display: none;
    }

    & .conversa{
        display: flex;
        gap: 8px;

        & .logo-container{
            max-width: 40px;
            display: flex;
            align-items: end;

            & .renatoImg{
                width: 100%;
                border-radius: 100%;
            }
        }

        & .mensagens{
            display: flex;
            flex-direction: column;
            gap: 8px;

            & .mensagem{
                width: fit-content;
                background-color: rgba( 247, 248, 255, 1 );
                border-radius: 6px;
                padding-top: 8px;
                padding-bottom: 8px;
                padding-inline: 16px;

                transform-origin: left; /* Define o ponto de origem da transformação */
                overflow: hidden; /* Garante que o conteúdo não vaze durante a animação */
            }
        }
    }

    & .lugarBotao{
        max-width: 100%;
        display: flex;
        justify-content: end;
        flex-wrap: wrap;
        gap: 8px;
    }
}


