:root{
    --dark: #000;
    --white: #ffffff;
    --spacialgray: #3e3d3d;
    --grayblack: #272727;
    --gray: #949494;
    --lightgaray: #cccccc;
}

body{
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    height: 90vh;
    background-image: url('assets/Dgdz1uAXkAEbHLh.jpg');;
    background-position: center;
    background-size: cover;
}

.box-question{
    background-color: rgba(0, 0, 0, 0.6); 
    border-radius: 10px; 
    margin-top: 3rem;
    color: var(--dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 500px;
    max-height: 800px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid white; 
}

.header{
    background-color: var(--dark);
    border-radius: 20px 20px 0 0;
    color: var(--white);
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: left;
    border: 1px solid white; 
}

#status{
    height: 5%;
}

.footer{
    background-color: var(--dark);
    border-radius: 0 0 20px 20px;
    padding: 1rem;
    font-size: 1.5rem;
    border: 1px solid white;   
}

input{
    width: 50%;
    font-size: 1rem;
    outline: none;
    border-radius: 5px;
    border: none;
    padding: 10px;
}

#btn-submit{
    border-radius: 5px;
    font-size: 1rem;
    padding: 10px;
    background-color: var(--spacialgray); 
    border: none;
    outline: none;  
}

#btn-submit:hover{
    background-color: var(--gray);
    cursor: pointer;
    transition: .3s;
}

#historic{
    padding: 1rem;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.box-my-message{
    display: flex;
    justify-content: flex-end;

}

.box-chat-message{
    display: flex;
    justify-content: flex-start;
      
}

.my-message{
    text-align: left;
    background-color: var(--gray);
}

.chat-message{
    background-color: var(--grayblack);

}

.my-message,
.chat-message{
    border-radius: 10px;
    padding: 1rem;
    color: var(--white);
    margin: 0;
    max-width: 80%;
    word-wrap: break-word;
    text-align: left;
}

.logo{
    height: 40px;
    margin-right: 100px;
    vertical-align: middle;
    margin-left: 3rem;
}
