#init {
    margin-top: 2rem;
    background: #428BCA;
    border: none;
    padding: 12px !important;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: aliceblue;
    cursor: pointer;
    bottom: 20px;
    right: 20px;
}

@media (max-height: 630px){
    #init {
        padding: 10px !important;
        margin: 10px !important;
    }
}

.desc p {
    color: rgb(254, 254, 254);
    margin: 0;
    font-weight: 600;
}

.text {
    font-size: 65px;
    font-weight: 800;
    color: rgb(255, 255, 255);
    margin: 0;
}

.parent {
    position: relative;
    height: 100%;
    padding: 0 7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bot-img {
    width: 20rem;
    height: 20rem;
}

.child {
    /* box-shadow: 0 0 2px salmon; */
    border-radius: 15px;
    height: 30rem;
    width: 20rem;
    margin: auto;
    background: #16181B;


}

#avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin: 0 0.5rem;
    /* border: 1px solid rgb(231,231,231); */
}

.header {
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    /* border-bottom: 1px solid whitesmoke; */
    background: #16181B;
    color: white;
    width: 20rem;
    padding: 5px 0;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    z-index: 1;
    /* box-shadow: 0 0 2px rgb(175,175,175); */
}

.h-child {
    display: flex;
    align-items: center;
}

.header span {
    font-size: 13px;
    margin: 0;
    padding: 0;
}

.refBtn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: none;
    border: none;
    border-radius: 50%;
    color: indianred;
    font-size: 18px;
    cursor: pointer;
}

.name {
    font-weight: 600;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 20rem;
    background: white;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    color: indianred;
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 0 3px rgb(153, 153, 153);
}

#chat-box {
    position: relative;
    top: 10px;
    padding: 8px 10px;
    font-size: 14px;
    height: 25.2rem;
    overflow: auto;
    background: #16181B;
    text-align: center;
}

@media (max-height: 630px) {
    #chat-box {
        height: 18rem;
    }
}

#chat-box::-webkit-scrollbar {
    width: 2px !important;
    display: none;
    /* width of the entire scrollbar */
}

#chat-box::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0) !important;
    /* color of the tracking area */
}

#chat-box::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0) !important;
    /* color of the scroll thumb */
    border-radius: 20px !important;
    /* roundness of the scroll thumb */
    border: 3px solid #e1e1e1 !important;
    /* creates padding around scroll thumb */
}

/* these classes will be used in javascript file */
.msg {
    background: #343145;
    padding: 5px 15px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    width: max-content;
    font-size: 17px;
    color: rgb(255, 255, 255);
    /* box-shadow: 0 0 5px rgb(226,226,226); */
    max-width: 70%;
    text-align: left;
}

.test {
    text-align: right;
    margin: 20px 0;
}

.rep {
    background: #0B7EF5;
    color: white;
    padding: 5px 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
    font-size: 17px;
    /* box-shadow: 0 0 5px rgb(211,211,211); */
}

.opt {
    padding: 5px 20px;
    columns: lightsalmon;
    /* border: 1px solid rgb(44, 70, 241); */
    border-radius: 10px;
    margin: 0.3rem 0.5rem;
    display: inline-block;
    cursor: pointer;
    font-weight: 500;
    background: #0a3767;
    text-align: center;
    font-size: 17px;
    color: #ffffff;
}

.link {
    display: none !important;
    text-decoration: none;
    display: block;
    text-align: center;
    color: #fff !important;
    background: rgb(44, 70, 241);
}

.m-link {
    text-decoration: none;
}

.link:active {
    background: white;
    border: 1px solid blueviolet;
    color: blueviolet;
}

a {
    color: white !important;
}

i {
    color: #fff;
}

.chat-bar-collapsible {
    position: fixed;
    bottom: 0;
    right: 50px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.collapsible {
    background-color: #16181B !important;
    color: white;
    cursor: pointer;
    padding: 8px;
    width: 350px;
    text-align: left;
    outline: none;
    font-size: 18px;
    border-radius: 10px 10px 0px 0px;
    border: none;
    border-bottom: none;
}

.content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #16181B !important;
}

.full-chat-block {
    width: 350px;
    background: white;
    text-align: center;
    overflow: auto;
    scrollbar-width: none;
    height: max-content;
    transition: max-height 0.2s ease-out;
}

.outer-container {
    min-height: 500px;
    bottom: 0%;
    position: relative;
    background-color: #16181B !important;
}

.chat-container {
    max-height: 100%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    scroll-behavior: smooth;
    hyphens: auto;
}

.chat-container::-webkit-scrollbar {
    display: none;
}

.chat-bar-input-block {
    display: flex;
    float: left;
    box-sizing: border-box;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    background-color: #212529 !important;
    border-radius: 10px 10px 0px 0px;
    padding: 10px 0px 10px 10px;
}

.chat-bar-icons {
    display: flex;
    justify-content: space-evenly;
    box-sizing: border-box;
    width: 25%;
    float: right;
    font-size: 20px;
}

#chat-icon:hover {
    opacity: .7;
}

/* Chat bubbles */

#userInput {
    width: 75%;
}

.input-box {
    float: left;
    border: none;
    box-sizing: border-box;
    width: 100%;
    border-radius: 10px;
    padding: 10px;
    font-size: 16px;
    color: #000;
    background-color: white;
    outline: none
}

.userText {
    color: white;
    font-family: Helvetica;
    font-size: 16px;
    font-weight: normal;
    text-align: right;
    clear: both;
}

.userText span {
    line-height: 1.5em;
    display: inline-block;
    background: #5ca6fa;
    padding: 10px;
    border-radius: 8px;
    border-bottom-right-radius: 2px;
    max-width: 80%;
    margin-right: 10px;
    animation: floatup .5s forwards
}

.botText {
    color: #000;
    font-family: Helvetica;
    font-weight: normal;
    font-size: 16px;
    text-align: left;
}

.botText span {
    line-height: 1.5em;
    display: inline-block;
    background: #e0e0e0;
    padding: 10px;
    border-radius: 8px;
    border-bottom-left-radius: 2px;
    max-width: 80%;
    margin-left: 10px;
    animation: floatup .5s forwards
}

@keyframes floatup {
    from {
        transform: translateY(14px);
        opacity: .0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

@media screen and (max-width:600px) {
    .full-chat-block {
        width: 100%;
        border-radius: 0px;
    }

    .chat-bar-collapsible {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
    }

    .collapsible {
        width: 100%;
        border: 0px;
        border-top: 1px solid grey;
        border-radius: 0px;
    }
}

@media (max-height: 630px) {
    .outer-container {
        min-height: 200px;
    }
}