body, html {
    height: 100%;
    width: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-color); 
    display: flex;
    justify-content: center;
    align-items: center;
    color: #E0E0E0; 
}

:root{
    --dark-color: rgb(19, 19, 19);
    --light-color: rgb(71, 71, 71);
    --accent-color: rgb(115, 71, 156);
}

main {
    display: flex;
    flex-direction: column-reverse;
    height: 100%;
    width: 50%;
    box-sizing: border-box;
}

.chatbox {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    margin: 20px;
    padding: 10px;
    gap: 10px;
    box-sizing: border-box;
    border-radius: 20px;
    border: 2px solid var(--light-color);
}

#chatInput {
    height: 100%;
    width: 90%;
    padding: 0;
    padding-inline: 20px;
    margin: 0;
    border-width: 0;
    font-size: medium;
    background: none;
    color: white;
}

#chatSubmit {
    height: 100%;
    width: 10%;
    border: none;
    background: var(--light-color);
    color: var(--dark-color);
    font-size: larger;
    font-weight: bolder;
    border-radius: 10px;
    max-width: 40px;
    max-height: 40px;
}


.respondsBox {
}

.respondsBox > div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.respondsBox img {
    align-self: baseline;
    height: 40px;
    margin: 5px;
}

.xotuMessage {
    padding: 10px;
}

.userMessage {
    flex-direction: row-reverse;
    padding: 10px;
}


.welcomeSection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 30%;
}

.welcomeSection > img {
    height: 100px;
}

#loading {
    display: none;
    justify-content: center;
    margin: 0;
}
 
#loading > div{
   border-radius: 50%; 
   background-color: white;
   width: 10px;
   height: 10px;
   margin: 5px;
}

#loading :nth-child(1) {
    background-color: var(--dark-color);
    animation: bounce 0.5s infinite alternate;
}
#loading :nth-child(2) {
    background-color: var(--dark-color);
    animation: bounce 0.5s infinite alternate;
    animation-delay: 0.3s;
}
#loading :nth-child(3) {
    background-color: var(--dark-color);
    animation: bounce 0.5s infinite alternate;
    animation-delay: 0.6s;
}

@keyframes bounce {
    from { background-color: var(--dark-color);}
    to { background-color: var(--light-color);}
}

@media only screen and (max-width: 600px) {
    main {
        width: 90%;
    }
}

